Parse Error Parse Error
 

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

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.