Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

PHP Nuke error messages

Status
Not open for further replies.

Sinny

Technical User
Oct 23, 2002
2
US
Hiya,

I have PHP Nuke 6.0, all uploaded (i'm hosting it on lycos.co.uk right now). They use PHPmyAdmin, MySQL, and PHP4U. I CHMOD'ed all of the PHP files and the files in the Images directory, and made absolutely sure to be in passive mode, using ASCII for all PHP and HTM files, etc.. while uploading, so I'm 99.9% certain there's no problem there. I imported the nuke.sql file into the database, and made sure that all of my settings in the config.php file were correct. I'm getting this error message:
Fatal error: Call to undefined function: themeheader() in header.php on line 47
Lines 44-47 of header.php are:
echo &quot;<LINK REL=\&quot;StyleSheet\&quot; HREF=\&quot;themes/$ThemeSel/style/style.css\&quot; TYPE=\&quot;text/css\&quot;>\n\n\n&quot;;
include(&quot;includes/my_header.php&quot;);
echo &quot;\n\n\n</head>\n\n&quot;;
themeheader();

I'm pretty new to PHP, but I'm assuming that the problem is that it's pointing to the header in the default theme, and not able to find it? I've searched through most of the other php files though and am unable to figure out which theme it sets as default. I've been trying to figure this out for about 2 days now, and am getting fairly well frustrated

Also, I don't see why it'd really matter but I'd rather bombard you with info than hold back on what could potentially be the problem, but I just installed phpBB a few days ago as well. Any chance of a potential conflict there?

Any help would be GREATLY appreciated. I can be reached at sinafey_jinx@hotmail.com or SinnyFeyfey on AIM, or of course you could just reply here. Thanks a bunch in advance!
 
I don't think it's looking for any default whatchyamacallit.

It simply can't find a function called themeheader();

I'd assume it's in the my_header.php file, and it's unable to find that.

What level of error reporting do you have set? Or if you don't know, if you put a

include(&quot;includes/a_file_that_doesnt_exist.txt&quot;);

Do you get an error?

Because my guess is it's not finding
includes/my_header.php
but your error reporting isn't set high enough to tell you.

-Rob
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top