Author Topic: I am getting this Template Error message?  (Read 6161 times)

0 Members and 1 Guest are viewing this topic.

Offline tezza

  • Pre-Newbie
  • Posts: 8
    • View Profile
I am getting this Template Error message?
« on: July 02, 2007, 03:11:52 AM »
Hi I am using an older version 1.7.1, and for some reason I am now getting the following error message:

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

I have done nothing to the gallery in ages, so I don't know why I am getting this now.

Hope someone can help

Regards Tezza

Offline tezza

  • Pre-Newbie
  • Posts: 8
    • View Profile
Re: I am getting this Template Error message?
« Reply #1 on: July 02, 2007, 03:51:32 AM »
Actually, I have now just tried to find this file but can't find it anywhere:

templates/default/media/php.html

Any suggestion?

Tezza

Offline KurtW

  • 4images Guru
  • *******
  • Posts: 2.778
    • View Profile
    • Malediven-Bilder ~~Dreams~~
Re: I am getting this Template Error message?
« Reply #2 on: July 02, 2007, 06:06:56 AM »
Hi,

i think, your page was hacked...
http://www.4homepages.de/forum/index.php?topic=14982.0

Look in the AdminControlPanel:
=> Valid file extensions


cu
Kurt

Offline tezza

  • Pre-Newbie
  • Posts: 8
    • View Profile
Re: I am getting this Template Error message?
« Reply #3 on: July 02, 2007, 07:41:06 AM »
I have now just updated to 1.7.4 via Fantastico and am still having the same problem. I can't connect with the main gallery index page -- I am still getting the same error message.

Offline CeJay

  • Sr. Member
  • ****
  • Posts: 425
    • View Profile
Re: I am getting this Template Error message?
« Reply #4 on: July 02, 2007, 08:24:17 AM »
Since you used cPanel, check your chmod settings as that sometimes that can screw those up

manurom

  • Guest
Re: I am getting this Template Error message?
« Reply #5 on: July 02, 2007, 08:47:56 AM »
Hello;
try to login to your ACP typing http://path/to/your/gallery/admin/. If you can access to your administration, check latest submissions.
Go to "Edit images", on the left. Then, at the bottom of the right frame choose Order by: Date and Descending.
Then you will find a PHP file recently uploaded. You can there delete the file and the user who uploaded it. Returning to your gallery homepage would then be possible.

You may also check in what category the file has been uploaded, and check by FTP or your Cpanel file browser if it remains some "alien" files in your_site/data/media/cat_number/.

Offline tezza

  • Pre-Newbie
  • Posts: 8
    • View Profile
Re: I am getting this Template Error message?
« Reply #6 on: July 02, 2007, 12:00:50 PM »
Thanks Manurom and others, the last suggestion seems to have done the trick.

Terry