asprinwizard
Joined: 21 Oct 2005
Posts: 1
|
| Posted: Fri Oct 21, 2005 9:16 am Post subject: Call to undefined function: mysql_create_db(1) |
|
|
Hi There,
I have a problem with the install script running on my local machine that a lot of posters seem to have. When I run the install.php script I get the following errors:
Notice: Undefined index: graphic in C:\Documents and Settings\Richard Aspden\My Documents\My Webs\PHP\phpfootball\includes\inc.functions.php on line 125
Notice: Undefined variable: write in C:\Documents and Settings\Richard Aspden\My Documents\My Webs\PHP\phpfootball\install.php on line 20
Notice: Undefined variable: write in C:\Documents and Settings\Richard Aspden\My Documents\My Webs\PHP\phpfootball\install.php on line 60
At first it would not proceed to the next step, so I change the value for register_globals in php.ini to 'on' and now when I click submikt I get:
Notice: Undefined index: graphic in C:\Documents and Settings\Richard Aspden\My Documents\My Webs\PHP\phpfootball\includes\inc.functions.php on line 125
Fatal error: Call to undefined function mysql_create_db() in C:\Documents and Settings\Richard Aspden\My Documents\My Webs\PHP\phpfootball\install.php on line 38
My login info was as follows:
database name: phpfootball
host name: localhost
Database user: root
Database Password: bronco
Admin username: root
Admin password bronco
Any idea what is wrong? |
|
Vlad Alexa Mancini
Joined: 07 Jul 2003
Posts: 303
|
| Posted: Fri Oct 21, 2005 4:49 pm Post subject: |
|
|
the notices have no impact whatsoever on the behaviour of the script , that is why they are called notices , and they are usefull only for developers , that is what you want to disable in php.ini
as for your error , see http://nextcode.org/forums/viewtopic.php?p=3450#3450 for the fix |
|