php question
| From: | Atti Dude | Date: | Sat, 04 May 2002 23:19:36 +0000 |
| Subject: | php question | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-10038@lists.php.net to get a copy of this message | ||
Hi,
I am a rookie with webservers, I just had setup my own server. But I've got a few problems regarding php. I am using a winxp system to run it on. Apache, perl, mysql are already working. I don't know whats wrong with my php, because with some scripts its working fine and with others it just won't work! For instance, for testing the mysql database, I used the script; phpMyadmin. The script works fine, and also <? phpinfo(); ?> works fine too. But for a test I tried the webportal PHP-nuke, and I got hundreds of errors. I am not a rookie with php progamming, so I've done nothing wrong there. I will copy a few errors for you:
----------------------------------------------------------------
Notice: Constant _downloads already defined in g:\program files\apache\htdocs\phpnuke\language\lang-english.php on line 654
Notice: Constant _onlyregusersmodify already defined in g:\program files\apache\htdocs\phpnuke\language\lang-english.php on line 853
Notice: Constant _download already defined in g:\program files\apache\htdocs\phpnuke\language\lang-english.php on line 1376
Notice: Undefined variable: anonwaitdays in g:\program files\apache\htdocs\phpnuke\language\lang-english.php on line 1486
Notice: Undefined variable: outsidewaitdays in g:\program files\apache\htdocs\phpnuke\language\lang-english.php on line 1490
Notice: Constant _bbcode already defined in g:\program files\apache\htdocs\phpnuke\language\lang-english.php on line 1609
Notice: Constant _bbaorder already defined in g:\program files\apache\htdocs\phpnuke\language\lang-english.php on line 1693
Notice: Constant _searchresults already defined in g:\program files\apache\htdocs\phpnuke\language\lang-english.php on line 1860
Notice: Undefined variable: PHP_SELF in g:\program files\apache\htdocs\phpnuke\header.php on line 15
Notice: Undefined index: 2 in g:\program files\apache\htdocs\phpnuke\mainfile.php on line 75
Notice: Use of undefined constant _users - assumed '_users' in g:\program files\apache\htdocs\phpnuke\mainfile.php on line 80
Notice: Undefined variable: PHP_SELF in g:\program files\apache\htdocs\phpnuke\includes\meta.php on line 15
Notice: Undefined variable: PHP_SELF in g:\program files\apache\htdocs\phpnuke\includes\javascript.php on line 15
Notice: Use of undefined constant _users - assumed '_users' in g:\program files\apache\htdocs\phpnuke\mainfile.php on line 312
Notice: Undefined index: 1 in g:\program files\apache\htdocs\phpnuke\mainfile.php on line 312
Notice: Undefined offset: 2 in g:\program files\apache\htdocs\phpnuke\mainfile.php on line 314
-----------------------------------------------------------------
And these errors are just a few of them.
I hope you can tell me what I am doing wrong.
Hope to hear from you.
Yours,
Sander
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.