PDA

Click to See Complete Forum and Search --> : PHP Nuke anyone?


mendhak
Feb 27th, 2003, 03:07 AM
Anyone here familiar with PHP Nuke?

I have Windows 98, PHP on PWS and mySQL database. I've followed the instructions, but PHP Nuke just won't get started. Let me copy and paste the page full of errors I get:



Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in C:\My Documents\My Webs\phpnuke\html\includes\sql_layer.php on line 301

Notice: Constant _YOUHAVE already defined in C:\My Documents\My Webs\phpnuke\html\language\lang-english.php on line 158

Notice: Use of undefined constant admin - assumed 'admin' in C:\My Documents\My Webs\phpnuke\html\admin.php on line 16

Notice: Use of undefined constant admin - assumed 'admin' in C:\My Documents\My Webs\phpnuke\html\mainfile.php on line 88

Notice: Constant _YES already defined in C:\My Documents\My Webs\phpnuke\html\admin\language\lang-english.php on line 24

Notice: Constant _NO already defined in C:\My Documents\My Webs\phpnuke\html\admin\language\lang-english.php on line 25

Notice: Constant _DATE already defined in C:\My Documents\My Webs\phpnuke\html\admin\language\lang-english.php on line 80

Notice: Constant _IMAGEURL already defined in C:\My Documents\My Webs\phpnuke\html\admin\language\lang-english.php on line 126

Notice: Constant _CLICKURL already defined in C:\My Documents\My Webs\phpnuke\html\admin\language\lang-english.php on line 127

Notice: Constant _HOUR already defined in C:\My Documents\My Webs\phpnuke\html\admin\language\lang-english.php on line 170

Notice: Constant _ADD already defined in C:\My Documents\My Webs\phpnuke\html\admin\language\lang-english.php on line 232

Notice: Constant _UMONTH already defined in C:\My Documents\My Webs\phpnuke\html\admin\language\lang-english.php on line 236

Notice: Constant _YEAR already defined in C:\My Documents\My Webs\phpnuke\html\admin\language\lang-english.php on line 237

Notice: Constant _TEAM already defined in C:\My Documents\My Webs\phpnuke\html\admin\language\lang-english.php on line 487

Notice: Undefined variable: sitename in C:\My Documents\My Webs\phpnuke\html\admin\language\lang-english.php on line 540

Notice: Undefined variable: nukeurl in C:\My Documents\My Webs\phpnuke\html\admin\language\lang-english.php on line 540

Notice: Undefined variable: sitename in C:\My Documents\My Webs\phpnuke\html\admin\language\lang-english.php on line 540

Notice: Undefined variable: sitename in C:\My Documents\My Webs\phpnuke\html\admin\language\lang-english.php on line 543

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\My Documents\My Webs\phpnuke\html\includes\sql_layer.php on line 253

Notice: Undefined variable: name in C:\My Documents\My Webs\phpnuke\html\admin.php on line 37

Notice: Undefined index: 1 in C:\My Documents\My Webs\phpnuke\html\mainfile.php on line 401

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in C:\My Documents\My Webs\phpnuke\html\includes\sql_layer.php on line 301

Notice: Undefined offset: 2 in C:\My Documents\My Webs\phpnuke\html\mainfile.php on line 403

Notice: Undefined offset: 1 in C:\My Documents\My Webs\phpnuke\html\mainfile.php on line 296

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in C:\My Documents\My Webs\phpnuke\html\includes\sql_layer.php on line 357

Notice: Undefined index: 2 in C:\My Documents\My Webs\phpnuke\html\mainfile.php on line 123

Warning: head(themes//theme.php) [function.head]: failed to create stream: No such file or directory in C:\My Documents\My Webs\phpnuke\html\header.php on line 31

Warning: head() [function.head]: Failed opening 'themes//theme.php' for inclusion (include_path='.;c:\php4\pear') in C:\My Documents\My Webs\phpnuke\html\header.php on line 31

Notice: Undefined variable: PHP_SELF in C:\My Documents\My Webs\phpnuke\html\includes\meta.php on line 15

Notice: Undefined variable: PHP_SELF in C:\My Documents\My Webs\phpnuke\html\includes\javascript.php on line 15

Fatal error: Call to undefined function: themeheader() in C:\My Documents\My Webs\phpnuke\html\header.php on line 47


And here's my config.php file:


$dbhost = "localhost";
$dbuname = "mendhak";
$dbpass = "mendhak";
$system = 1;
$dbname = "nuke";
$prefix = "nuke";
$user_prefix = "nuke";
$dbtype = "MySQL";

phpman
Feb 27th, 2003, 03:24 PM
wow :p

for one you can turn off all those notices in the ini file.

uncomment this line in your ini file

error_reporting = E_ALL & ~E_NOTICE

and it seems that they have an error on there mysql query. unless you didn't ensert all the contents for it, never really played with phpnuke, make my own

techgnome
Feb 27th, 2003, 04:18 PM
That sounds about right.... I've heard that there always seems to be a lot of problems w/ PHPNuke.... personally, I've used (and liked) Xoops ( http://www.xoops.org/modules/news/ )

I've had success w/ it on my WinNT box at home (test) and on a Linux server on the web (production).

da_silvy
Mar 9th, 2003, 08:23 AM
How recent is the copy of php-nuke?

I had that problem a while ago, had a version that seemed to be fix a little while after that too..

perhaps it's been fixed / will be fixed

mendhak
Mar 10th, 2003, 07:38 AM
It's the latest version, downloaded it on the same day as my first post.

Is PWS a problem, btw?