custom header - did as FAQ said - now got an error custom header - did as FAQ said - now got an error
 

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

custom header - did as FAQ said - now got an error

Started by Lowri, September 03, 2005, 12:14:36 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Lowri

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

QuoteParse 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:
static $custom_header = ob_get_contents();

Please help... even if its just to get it back how it was...

Nibbler

Split that into 2 lines

static $custom_header;
$custom_header = ob_get_contents();