View Full Version : Fatal error: Call to und...Line 47 nuke v6.8
kindkidz
9-14-03, 05:58 PM
Ok...i'm trying to install version 6.8 of nuke.
I have followed all the instructions....uploaded the files...set up mysql...i have ran the ANALIZER .php file that was recommended and everything checks out ok.
yet...despite all the solutions that have been given for people with a similar problem....the error does not go away...
this is what is happening:
now that i've installed and configured config.php and mysql... i go to:
http://www07.powweb.com/~kindradio/kind/ (which is where nuke is installed)
i get this message:
Fatal error: Call to undefined function: themeheader() in /www/k/kindradio/htdocs/kind/header.php on line 47
now i've read that this can mean i'm not connecting to the database....but again...analyzer confirmed that connections are good.
ANY MORE IDEAS??
Please help.... roundz@optonline.net or AIM: roundnrounddj
HalfaBee
9-14-03, 06:34 PM
Double check your username/password/server for CaSe and any trailing spaces.
Halfabee
kindkidz
9-14-03, 06:44 PM
everything has been checked and double checked. I used ANALIZER to confirm this...
any other ideas?
thanks for your time
I get the same error in my. I asked about it at NukeCops, just to see. I haven't set up the sql table though, I can't get any programs to do it.
Jade Dragon
9-14-03, 09:15 PM
Line 47 error is when your phpnuke cannot find the mysql tables. Or cannot connect to mysql.
Line 88 is when there is an error in the name/password of the mysql database.
If you have confirmed your config file then you will need to make sure your tables are loaded into the database via whichever program you use.
=)
Jade
Yeah, I figured the tables thing out. I still cannot get rid of the CGI wrap error. Anyone know what to do about that?
Jade Dragon
9-14-03, 09:30 PM
CGI wrap error usually means that one of your files is set to 777 when it shouldn't be.
If you are running phpNuke you won't need to do any CMHOD changes when setting up.
=)
Jade
Really? I CMHOD'd all the directories to 777, and all of the files to 666. So that's my problem? How will I fix it?
Jade Dragon
9-14-03, 10:34 PM
Folders 775 & files 644
Other files like the config.php CHMOD to at least 600 or 444 by loading this code into a blank page.
<?php
chmod('config.php', 0444);
?>
then point your browser to it.
=)
Jade
kindkidz
9-15-03, 12:09 AM
My connection is good. My tables are loaded...i still don't know what i'm doing wrong... can't get pact that error.
Croc Hunter
9-15-03, 12:56 AM
See what is in the Default_Theme field in the nuke_config table.
If you dont have access to a mysql manager program (like phpMyAdmin), then you can see what is in the Default_Theme field by using my configtest.php or the analyze.php
Try changing the "theme" in the Default_Theme field to DeepBlue or NukeNews.
You can use the fixtheme.php script for this, if you cant do it with phpMyAdmin:
http://www.nukeresources.com/modules.php?name=Downloads&d_op=viewdownload&cid=63
Or, this could even just be a connection issue:
I have my files CMHOD to that, and I still get the error.
I had same question, still unanswered.... see the link. Jade, I supplied the info you requested, were u able to look at it?
Thanks
Yoda
http://forum.powweb.com/showthread.php?threadid=25743
I fixed mine. There was a Location in the header, I belive, I had to change that, and I had to CHMOD everything to 644 and 755, except for...config.php, backend.php, and ultrathing.txt. Those where 666.
vBulletin® v3.8.7, Copyright ©2000-2013, vBulletin Solutions, Inc.