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: Editing template.html screws up the entire thing  (Read 3273 times)

0 Members and 1 Guest are viewing this topic.

Filler

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Editing template.html screws up the entire thing
« on: January 24, 2006, 08:53:25 am »

No matter what, even if I add one character to the template.html file (classic), it screws up the whole thing.

(https://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fusers.airax.net%2Ffiller%2Fuploaded%2Fgalleryerror.gif&hash=2b464bdaa9f3cbcc2453b668a89c545b34f56bc8)

Even if I delete that small piece that I added, so that its back to the default state, and upload it, it is still messed up. I have to upload the template.html file from the coppermine zip for it to be fixed.
« Last Edit: January 24, 2006, 09:30:11 am by GauGau »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Editing template.html screws up the entire thing
« Reply #1 on: January 24, 2006, 09:17:07 am »

you're probably editing the file using a WYSIWYG editor like MS Frontpage or similar; you mustn't. Use a plain text editor (notepad.exe is fine for a start). WYSIWYG editors like Frontpage have an imfamous reputation to "optimize" code that they aren't meant to touch in the first place.
You might attach your custom file to this thread (zip it first), using "Additional options" when composing your message.
Logged

Filler

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: Editing template.html screws up the entire thing
« Reply #2 on: January 24, 2006, 09:23:16 am »

you're probably editing the file using a WYSIWYG editor like MS Frontpage or similar; you mustn't. Use a plain text editor (notepad.exe is fine for a start). WYSIWYG editors like Frontpage have an imfamous reputation to "optimize" code that they aren't meant to touch in the first place.
You might attach your custom file to this thread (zip it first), using "Additional options" when composing your message.
Ok that was it, I was using Dreamweaver before, and I opened it up in Notepad, made the changes, and worked fine. Thanks a lot :).
Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 20 queries.