Parse Error Parse Error
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

Parse Error

Started by newseed, March 01, 2008, 10:00:58 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

newseed

I ignorantly added a .jpg image file path into the custom header file path under Config panel and I now get this error:

Parse error: syntax error, unexpected '{' in /home/bradbohe/public_html/templates/siteground63/images/afton_header.jpg on line 58

The error occurs on any of the coppermine url.

I've looked at the tables via myphpadmin to look for something that represent custom header but none is listed.

What file is being use and where do I fix this?

Nibbler

Just delete or temporarily rename the image file.

newseed

Quote from: Nibbler on March 01, 2008, 10:08:24 PM
Just delete or temporarily rename the image file.
Thanks.  I take it that using a .php file with open and close php code and adding all the html in between?

Joachim Müller

It can be a plain .html file as well if you only want to add static content. However, why don't you then just edit your theme accordingly if you want to insert some HTML? Just edit themes/yourtheme/template.html and add your markup there.