Izzy wrote:When posting in here please try and break up your lines into easier to read paragraphs, as when it is all together in one paragraph it is very hard to read and understand, thanks.
Type here exactly what you type in your browser to access your files in the htdocs folder?
To troubleshoot this, first remove any files you added to the htdocs folder so it is just as it was when you Installed XAMPP - in the default state.
Tell me what version of XAMPP?
Tell me which Windows OS?
Did you start the Apache and the MySQL servers using the XAMPP Control Panel and are they showing a green running indication?
What do you see when you type http://localhost in your browser after making sure Apache and MySQL are running and after removing your own files?
What do you see when you type http://127.0.0.1 in your browser after making sure Apache and MySQL are running and after removing your own files?
Your screen-cap is telling me that the server is not running and so is not parsing your php files but showing the raw php code.
Read the \xampp\apache\logs\error.log file for any clues.
That's very good and shows that XAMPP is fully functional.TheOneAndOnly wrote:I clicked on all the demos and the MyPhpAdmin link and evrything was working fine.
You removed what is called the index files and put a folder called test.php instead of a file called test.php which contains php code.TheOneAndOnly wrote:I removed the index.php and index.html from the htdocs folder, and added the test.php.
You are not currently loading a script in your browser when you go to http://localhost/test.php but rather a folder containing lots of other folders that may well contain scripts or html files.TheOneAndOnly wrote:I downloaded another script cause I though that maybe the script I was using was just not working. After going to http://localhost/test.php I get that screen that I mentioned in my first post that shows the site folders.
<?php
phpinfo();
?>
The scripts you downloaded are not compatible with the latest version of PHP 5.3 included in 1.7.2 of XAMPP.TheOneAndOnly wrote:...but when I go to http://localhost, I get a page telling me-
"Deprecated: Function set_magic_quotes_runtime() is deprecated in C:\xampp\htdocs\inc\config.php on line 554
Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\inc\config_packageaccess.php:9) in C:\xampp\htdocs\index.php on line 39"
There are no errors now just notices and warnings - the warnings may be related to the script being out of date perhaps - you can ignore those entries but when you see [error] messages then they are the ones you need to take notice of.TheOneAndOnly wrote:I've checked the error log and it says as follow-
Before downloading a script again find out the system requirements, or in Dolphin they call them Technical Requirements, for running the script.TheOneAndOnly wrote:Just wanted to add that I was trying a different script this time around than the one I tried last time, not sure if that is of any importance.
Users browsing this forum: No registered users and 149 guests