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

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

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