Advanced search  

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

Pages: [1]   Go Down

Author Topic: Fatal error: Call to undefined function: pageheader()  (Read 2080 times)

0 Members and 1 Guest are viewing this topic.

mikeall

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 6
    • Allbutt The Best Web Designs
Fatal error: Call to undefined function: pageheader()
« on: January 24, 2004, 09:40:41 pm »

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

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
Code: [Select]
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Fatal error: Call to undefined function: pageheader()
« Reply #1 on: January 25, 2004, 09:10:50 am »

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
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 18 queries.