Author: Nemesis2456, Posted: Wed Dec 15, 2004 9:01 pm Post subject: same error for every theme i try
For some reason on every them except for one (that my friend just fixed and got working) is getting this error:
Code:
Warning: head(themes/codgrunge/theme.php): failed to open stream: No such file or directory in /home/www/gamechats.superihost.com/html/header.php on line 31
Warning: head(): Failed opening 'themes/codgrunge/theme.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/www/gamechats.superihost.com/html/header.php on line 31
Fatal error: Call to undefined function: themeheader() in /home/www/gamechats.superihost.com/html/header.php on line 47
I dont really know what this means or how to fix it. I have seen this 3 errors in other posts but those have also more things wrong with them not jsut the 3 and i havent found one that says how to fix. i may be looking in the wrong place i dont know but any help would be great.
Author: madman, Posted: Thu Dec 16, 2004 9:54 am Post subject: Re: same error for every theme i try
Confirm if this file exist: themes/codgrunge/theme.php
Checklist:
The file must be theme.php (all lowercase). Solution: rename the file.
The file must be uploaded with ASCII mode. Solution: Re-upload.
The file must be accessible by PHP (at least with read permission). Solution: CHMOD it to 644.
The current directory must be in PHP-Nuke root. Solution: There are some workarounds, but the following code will ensure current theme loaded with full qualified path. Edit header.php and fine the following line: