Setup wamp mysql
Posted by: kiyoukan (---.dsl.sfldmi.sbcglobal.net)
Date: January 23, 2010 09:32PM

Okay i have gotten wamp to start and my website comes online.
But i am getting some very annoying errors.
Notice: Use of undefined constant page - assumed 'page' in C:\wamp\www\index.php on line 16

Notice: Undefined index: page in C:\wamp\www\index.php on line 16

Notice: Use of undefined constant page - assumed 'page' in C:\wamp\www\index.php on line 22

Notice: Use of undefined constant Submit - assumed 'Submit' in C:\wamp\www\index.php on line 26

Notice: Undefined index: Submit in C:\wamp\www\index.php on line 26
There are tons more all down the page.
but i think my problem is that mysql wont start up. and the wamp icon is yellow.
i tell it to start mysql but it has no reaction. i checked the services and the mysql is running.
but wamp shows it is not on.
also had to change appache from port 80 to 9080 due to it would not start.



Edited 1 time(s). Last edit at 01/23/2010 09:43PM by kiyoukan.

Options: ReplyQuote
Re: Setup wamp mysql
Posted by: stevenmartin99 (---.b-ras2.blp.dublin.eircom.net)
Date: January 23, 2010 10:05PM

3 things

1. Your code is written badly and thats why you get these errors.

2. you have mysql installed elsewhere on the pc and wamps mysql is not running.

3. apache probably didnt work on 80 cos you have another copy of it installed or another app using port 80




Solution.

1. Uninstall mysql that you installed seperatly to wamp.

2. uninstall apache that you installed seperatly or with another server program( or disable port 80 in skype , or similar programs that use it)

3. Fix all the code so you dont get the errors OR hide all the errors by editing the php.ini

left click wamp icon> php> php.ini . goto the line

error_reporting = E_ALL

AND REPLACE WITH

error_reporting = E_ALL & ~E_NOTICE

SAVE AND RESTART WAMP

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Re: Setup wamp mysql
Posted by: kiyoukan (---.dsl.sfldmi.sbcglobal.net)
Date: January 23, 2010 10:41PM

i fixed the port 80 issue.
The issue i am having is that i know that mysql is running i used the php my admin and added another user so i can now use my other gui to see. its up and running. i uninstalled and even removed registry's checked services for any mysql (took 5 times before i found out the service was running and stopping the setup). So its running and i cant find any other instance of mysql besides the one from wamp. i think my site errors are due to not communicating with the mysql db

Options: ReplyQuote
Re: Setup wamp mysql
Posted by: stevenmartin99 (---.b-ras2.blp.dublin.eircom.net)
Date: January 24, 2010 12:09AM

no there not.

phpmyadmin will conenct to any mysql running.. if the wamp icon is not white and phpmyadmin opens then 100% mysql is NOT running in wamp

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote


Sorry, only registered users may post in this forum.