Fatal error: Call to undefined function: pageheader() Fatal error: Call to undefined function: pageheader()
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Fatal error: Call to undefined function: pageheader()

Started by mikeall, January 24, 2004, 09:40:41 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

mikeall

When I try to adjust the theme.php file so that I can use php includes I always get this error:

Parse error:  parse error, expecting `T_STRING' or `T_VARIABLE' or `T_NUM_STRING' in /Library/WebServer/Documents/cpg121/themes/default/theme.php on line 736

Fatal error:  Call to undefined function:  pageheader() in /Library/WebServer/Documents/cpg121/index.php on line 524


And until I replace the theme.php file nothing will work.
Any ideas why I can't seem to modifiy the theme.php page (even slightly like putting in an extra space!)

I have search/read this forum but nothing seems to be listed.
Please help if you had this prob too (or know how to fix it).
THANKS, MIKE

Joachim Müller

forget about the second error, it's just a result of the first error. It says: there's something fishy with your php syntax.
This is not related to coppermine at all, since it could be any wrong php code you created, so how is anybody supposed to help on this board (and yes, I've seen some "parse error" before - everybody has who coded php and is one step away from perfection or below)?
Take a look at http://coppermine.sourceforge.net/faq.php?q=commonPHP%20errors#commonPHP%20errors

GauGau