coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: newseed on March 01, 2008, 10:00:58 PM

Title: Parse Error
Post by: newseed on March 01, 2008, 10:00:58 PM
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?
Title: Re: Parse Error
Post by: Nibbler on March 01, 2008, 10:08:24 PM
Just delete or temporarily rename the image file.
Title: Re: Parse Error
Post by: newseed on March 01, 2008, 10:38:47 PM
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?
Title: Re: Parse Error
Post by: Joachim Müller on March 02, 2008, 09:14:04 AM
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.