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: custom header - did as FAQ said - now got an error  (Read 3657 times)

0 Members and 1 Guest are viewing this topic.

Lowri

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
custom header - did as FAQ said - now got an error
« on: September 03, 2005, 12:14:36 am »

I followed instructions in the FAQ section on how to include my own header. I now get an error from the code suggested.

Quote
Parse error: parse error, unexpected '(', expecting ',' or ';' in /home/mjbhos2/public_html/letsgetwet/gallery/themes/classic/theme.php on line 813

The line it refers to is:
Code: [Select]
static $custom_header = ob_get_contents();
Please help... even if its just to get it back how it was...
« Last Edit: September 10, 2005, 12:05:52 am by Nibbler »
Logged

Nibbler

  • Guest
Re: custom header - did as FAQ said - now got an error
« Reply #1 on: September 03, 2005, 12:31:59 am »

Split that into 2 lines

Code: [Select]
static $custom_header;
$custom_header = ob_get_contents();
Logged

Lowri

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: custom header - did as FAQ said - now got an error
« Reply #2 on: September 09, 2005, 11:59:50 pm »

thanks :)
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 19 queries.