Author Topic: Template Error: Couldn't open Template ./templates/default/media/jpg.html  (Read 3172 times)

0 Members and 1 Guest are viewing this topic.

Offline primexx

  • Pre-Newbie
  • Posts: 1
    • View Profile
When I upload images to the gallery it shows this error:

Quote
Template Error: Couldn't open Template ./templates/default/media/jpg.html

However when I delete the listings of the images from the gallery it doesnt show the error.

The images are jpg btw.

I dont see what the cause is.

Please help, thanks.

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: Template Error: Couldn't open Template ./templates/default/media/jpg.html
« Reply #1 on: September 22, 2005, 01:16:41 AM »
the error says by itself - the file templates/default/media/jpg.html does not exists or the permissions are not set properly.
make sure you've uploaded all files from 4images package and set proper permissions as says in docs/installation.txt instructions.
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline Marion

  • Newbie
  • *
  • Posts: 20
    • View Profile
    • Tubes'n Art 4you
Re: Template Error: Couldn't open Template ./templates/default/media/jpg.html
« Reply #2 on: September 23, 2005, 07:06:06 AM »
Hi primexx

I've had this error some times too and the gallery didn't open. Each time it was a typing error in the upload URL of a pic (for example missing slash between hostname and filename). After correcting this, the error wasn't shown anymore and gallery started as before.

Marion