Page 1 of 3
Wamp Server
Posted: Fri Mar 05, 2010 4:37 pm
by SoalSlayer
Hey all
Im new here and a real noobie when it comes to all this design stuff so thought id watch a few tutorials and try and learn what i can but got stuck with the wamp server =.= as it says in tutorial 1 i downloaded it started it put it online and all but as soon as i start up localhost i get the this page cannot be displayed error =[. dunnu if anyone can help or knows what the problem might be ?
Sorry for the stupid question and thx for anyone who can help

Re: Wamp Server
Posted: Fri Mar 05, 2010 6:57 pm
by jpoisson
http://indie-resource.com/forums/viewto ... =26&t=1071
Please read through the proper forums before posting next time. also note that it is highly suggested to watch the first 5 -6 tutorial videos before attempting to follow along with your own game.
The link above is the WAMP server tutorial on I-R.com
Re: Wamp Server
Posted: Fri Mar 05, 2010 7:11 pm
by SoalSlayer
I saw that post already, I followed all the steps exactly as it says but as soon as i click localhost on the wamp server icon it just comes up Internet explorer cannot display the webpage. Yeh i wasnt planning on making a yet i know im no where near ready i just wanted to make sure i had all the tools and it was all working so i knew where i was at.
Thx
Re: Wamp Server
Posted: Fri Mar 05, 2010 7:32 pm
by Jackolantern
While I know this is probably not the issue, do you have another browser like Firefox you could try to use? Internet Explorer has never liked locally hosted webpages for security reasons.
Re: Wamp Server
Posted: Fri Mar 05, 2010 7:44 pm
by SoalSlayer
I did try using firefox just to be sure but i didnt make it my default browser, I dont think that would make alot of difference but im still not sure ?
Re: Wamp Server
Posted: Fri Mar 05, 2010 8:12 pm
by jpoisson
uninstall and re install. it could just be a bad install.
Re: Wamp Server
Posted: Fri Mar 05, 2010 8:21 pm
by OldRod
Click on your WAMP icon in the status bar and check the PHP error log and the Apache error log - maybe that will shed some light on the problem?
Re: Wamp Server
Posted: Fri Mar 05, 2010 9:32 pm
by Jackolantern
SoalSlayer wrote:I did try using firefox just to be sure but i didnt make it my default browser, I dont think that would make alot of difference but im still not sure ?
No, whether or not it is the default server won't make any difference since you are manually opening your webpage in the browser.
Just to be sure we are hitting all the bases before you uninstall, are you sure you are typing in the URL correctly? It should look something like:
http://localhost/game/gamepage.php
That would be if your game files are in a folder called "game" inside the WWW folder of wamp. Also, I have heard that sometimes WAMP will cause problems on Vista and perhaps Windows 7 if it is in the Program Files folder, so it should be placed directly in your C: drive most likely.
Re: Wamp Server
Posted: Fri Mar 05, 2010 9:59 pm
by SoalSlayer
yeh it was all in the correct folders but what i done now is i decided for now until i find what the problem is, ill host it on my website the only problem now is im not sure what to change the connect coding to
Code: Select all
<?php
$db = mysql_connect("localhost","root","") or die("Could not connect to db");
if (!$db)
die ("no db");
if(!mysql_select_db("test=,$db"))
die ("No database Selected");
?>
im guessing ill have to change the root to wherever the database is stored now ? atm i just want to be able to get the connection working then i know where im at and i can take a look throught all the tutorials ect oh btw i named the database test so sry if theres any confusion but you guys should be able to make alot more sence of this than me
thx
Re: Wamp Server
Posted: Fri Mar 05, 2010 10:20 pm
by Jackolantern
Yes, you just need to update your connection script to reflect the database your data is in, and change the username and password to whatever you need to use with your web host. Some hosts give you a panel that allow you to create new users to act on your db, and in that case you can create your own. However, some other hosts may handle all of that themselves and require that you request a new user and password (although I think those kinds of hosts are dwindling these days).