Ok this is probably going to sound stupid, and I don't care cause I'm a total noob and I know it. I need help using XAMPP. I've been trying to create a website, and I heard that you can use XAMPP to create a free server on your PC to view and work on the site script. From what I've gathered from online discussions is that you're supposed to put the script into the htdocs file then go to http://localhost/nameoffile/, and you should be able to see the site. I've downloaded a few already made scripts online and tried doing this, but it never works. For example, lets say I download the Dolphin script, which is supposed to be a social networking script, after I put it into the htdocs file and try viewing it, I get this screen- http://i611.photobucket.com/albums/tt19 ... 89/web.jpg For other scripts, sometims I get another screen that shows the site folders, but when I click on them, it take me to a blank page. Either I'm doing something wrong and I'm retarded, or online tutorials fail at helping out beginners. So can someone please explain to me in simple step by step terms what I have to do once I download a script in order to see what it actually looks like on XAMPP? Thanks in advance

I clicked on all the demos and the MyPhpAdmin link and evrything was working fine.

I removed the index.php and index.html from the htdocs folder, and added the test.php. 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. I'm not sure if it's supposed to be like this, or what I should do next. Here's a screengrab- http://i611.photobucket.com/albums/tt19 ... 9/web2.jpg

TheOneAndOnly wrote:I clicked on all the demos and the MyPhpAdmin link and evrything was working fine.

That's very good and shows that XAMPP is fully functional.

TheOneAndOnly wrote:I removed the index.php and index.html from the htdocs folder, and added the test.php.

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.

You should put your own index.php or index.html file in the htdocs folder, one perhaps that came with your set of scripts.

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.

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.

Clearly what is happening in your browser is supposed to happen until you replace those index files for XAMPP you deleted with one of your own or at the very least a file that you can call in your browser.

So to test out what I have said above first rename the folder you have called test.php to simply test then open your text editor (notepad for example) and copy and paste this code, exactly as I have posted it in the code section below, into a blank page:

Now you are getting the idea, create an index.html or an index.php file in your text editor or load one from your downloaded scripts and put that in your htdocs folder then type http://localhost and it should then give you the contents of the index file not a list of other folders.

Ok, I did what you said and entered in that code you posted, and indeed get the php settings page.

After renaming the downloaded script's folder to "Test" and then putting the index.php that came with the script into the htdocs, I get this page http://i611.photobucket.com/albums/tt19 ... 9/web3.jpg I seriously don't know why this is being so hard lol. If it's not too much to ask, do you think maybe you, or anyone else reading this right now, could make a tutorial for me and post it on youtube. Maybe by watching someone else do it, I can pin point the exact step I am doing wrong.

OK, this appears to be an issue of misunderstanding what is written on the XAMPP for Windows Home Page - the page you downloaded XAMPP from - which after I read it I can see where you are coming from.

Move all the files and folders from the folder you called Test into the htdocs folder and then delete the Test folder, you don't need it and you can also delete the test.php file you created in the htdocs folder as you no longer need that.

You already have the index.php file that came with the script in the htdocs folder and now you will have all the other files and folders that came with script in the htdocs folder.

Now just type http://localhost in your browser and you will be just fine as the index.php code should now find all the files and folders it needs.

You see, the index.php code new nothing about the script's other folders and files being in the Test folder, so the server could not find them and chucked a wobbly - Object not found!.

If you get any errors again read the xampp\apache\logs\error.log file in a text editor like notepad and it will tell you what is wrong - if you don't understand the error messages then post the relevant message here, not the whole file as by now it will be getting huge.

When next you stop the Apache server running then you can delete the error.log file completely, to clean it up, as Apache will create it again the next time you start the Apache server.

Good luck and I seriously expect that by moving the folders and files out of the Test folder and into the htdocs folder then deleting that Test folder that you will be able to move forward.

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"

The scripts you downloaded are not compatible with the latest version of PHP 5.3 included in 1.7.2 of XAMPP.

I suggest you check with the site that you acquired the scripts from and see if and when they will be upgrading their scripts.

Alternatively, perhaps you could uninstall XAMPP 1.7.2 and install an older version that has PHP 5.2 - XAMPP 1.7.1 comes to mind - you will find a link to older XAMPP versions on the XAMPP for Windows home page.

The second error relates to an issue with the script that may have resulted if you edited or altered it in some way - if you did not alter the scripts in any way by editing then there is also an error in the code of your downloaded script, so see the recommendations for the first script error.

TheOneAndOnly wrote:I've checked the error log and it says as follow-

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: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.

Before downloading a script again find out the system requirements, or in Dolphin they call them Technical Requirements, for running the script.http://www.boonex.com/trac/dolphin/wiki/DolTechIMHO you should start with a much simpler script than Dolphin which requires many additional server configurations before it can be installed in XAMPP.

You will find the current versions of all XAMPP components in the readme_en.txt file in the xampp folder.

Perhaps you can tell me what script you are downloading so I can take a look at by trying to replicate your issues with it on XAMPP 1.7.2 and XAMPP 1.7.1 that I have installed for this very purpose.

At least you are now moving forward, you now have to make sure your scripts are compatible with the versions of components contained in the XAMPP version your have installed.

Even after installing an older version of XAMPP, I still can't get them to work. How about this, could you give me the link to a script that you have used and are 100% sure it works. That way I can know for sure if the problem is with the scripts I'm downloading (maybe I have really bad luck), or if the problem is something I'm doing wrong. Also, let me know what version of XAMPP to use with that particular script.Edit: Forgot to ask, is it possible to run a different version of XAMPP without having to unsintall the currently installed one?

Download then extract the contents of the zip file into the htdocs folder so you have index.php and 2 empty folders gallery and source then follow the instructions on the above page by adding some images into the source folder and then start Apache and MySQL.

You should now see a page with thumbnails of all the images that you copied into the source folder and if you click on a thumbnail it will load the full image - your browser's back button will return you to the thumbnail page.

Tested and works fine in a clean fresh unaltered "out of the box" XAMPP 1.7.2 version.

Ok the image gallery worked fine. Atleast now I know that I'm not completely mentally impaired. Now I just gotta find out what I'm doing wrong with the other scripts.

Edit- I downloaded the phpizabi script, and so far everything seems to be working, problem is its asking me for my mysql database info and I'm not really sure where to get it from. Here's a screen grab http://i611.photobucket.com/albums/tt19 ... 9/web4.jpg Where do I go to get this info?