Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Parse Error  (Read 2433 times)

0 Members and 1 Guest are viewing this topic.

newseed

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Parse Error
« 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?
Logged

Nibbler

  • Guest
Re: Parse Error
« Reply #1 on: March 01, 2008, 10:08:24 pm »

Just delete or temporarily rename the image file.
Logged

newseed

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Re: Parse Error
« Reply #2 on: March 01, 2008, 10:38:47 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?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Parse Error
« Reply #3 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.
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 22 queries.