Author Topic: Strange error with php.html  (Read 11682 times)

0 Members and 1 Guest are viewing this topic.

Offline mczapkie

  • Newbie
  • *
  • Posts: 13
    • View Profile
Strange error with php.html
« on: December 22, 2006, 04:00:08 PM »
Sudenly I got strange error with main index.php: http://149.156.194.203/~mczapkie/4images/index.php

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

It occurs whenever TEMPLATEDIR is set as default or other template
Amin/index.php still works fine.

File and directory right seems to be correct, 777 for dir, 644 or even 666 for files does change anything.

There is no php.html file, but such file never existed before!

Does anybody know a reason of such malfunction?

Regards,
Mc

Offline sbernals

  • Pre-Newbie
  • Posts: 8
    • View Profile
Re: Strange error with php.html
« Reply #1 on: December 27, 2006, 09:29:15 AM »
I have the exact error:

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




admin/index.php is fine.  Can someone help.

I saw this problem addressed in the German and Spanish forums but couldn't figure it out.  Thank you.
« Last Edit: January 02, 2007, 07:51:38 PM by sbernals »

Offline sbernals

  • Pre-Newbie
  • Posts: 8
    • View Profile
Re: Strange error with php.html
« Reply #2 on: December 27, 2006, 10:03:37 AM »
Thank you, yes, I checked the folder and all of the right media extensions are in there.  I think one of the templates was hacked.  I'll have to re-load.  I have to upgrade to the newest version so I guess now is the time.

Thank you.

Offline sbernals

  • Pre-Newbie
  • Posts: 8
    • View Profile
Re: Strange error with php.html
« Reply #3 on: December 27, 2006, 10:20:43 AM »
Ok.  I will upgrade and let you know if I have success.  Thank you.

Offline sossy

  • Pre-Newbie
  • Posts: 2
    • View Profile
Re: Strange error with php.html
« Reply #4 on: December 27, 2006, 07:28:23 PM »
Hallo,
habe die gleiche Fehlermeldung, wenn ich versuche meine Galerie zu erreichen:
http://www.sossy.de/timeless
Template Error: Couldn't open Template ./templates/4framed/media/php.html
Verstehe aber so schlecht englisch. Vielleicht kann mir jemand auf deutsch weiterhelfen? Liegt es nun an den Templates? Und was kann ich tun? *kopfkratz*

Offline mczapkie

  • Newbie
  • *
  • Posts: 13
    • View Profile
Re: Strange error with php.html
« Reply #5 on: January 02, 2007, 07:03:44 PM »
I found it - somebody, probably bot, hacked my gallery and uploaded php file with r57shell.php content, it was the origin of this error from topic.

But still I have another error, all images are displayed as 404.gif (they exist physically, and there is possibility of download of the real image).

Regards,
Mc

PS. now I see what for is this "Security fix for XSS vulnerability" ;->
« Last Edit: January 03, 2007, 10:45:16 AM by mczapkie »

Offline sossy

  • Pre-Newbie
  • Posts: 2
    • View Profile
Re: Strange error with php.html
« Reply #6 on: January 08, 2007, 10:36:38 PM »
Before I was hacked I had a similar error. Not an image one could see. Then I found out that in the settings the allowed file types (jpg, gif, ...) were deleted. I didn't do this and was wondering. After they were complete again it was waorking and the images were shown.

Offline mczapkie

  • Newbie
  • *
  • Posts: 13
    • View Profile
Re: Strange error with php.html
« Reply #7 on: January 09, 2007, 12:07:27 PM »
You mean settings in Control Panel?
BINGO! There was only php in the settings, obviously inserted by this hack, now it works (should I use comma delimiters for different types?)

Thank you for your reply!

Offline Exeleron

  • Pre-Newbie
  • Posts: 4
    • View Profile
Re: Strange error with php.html
« Reply #8 on: May 21, 2007, 10:53:11 AM »
well if those were gone by a hack, i havent been hacked, because i have the exact same problem:

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

now i searched through my settings, and al was there, just like it should be.
what can i do?

Offline whunlimited

  • Pre-Newbie
  • Posts: 2
    • View Profile
Re: Strange error with php.html
« Reply #9 on: June 01, 2007, 08:32:29 AM »
i just got the same problem too today. everything but the index page doesn't work. if I go into specific categories, i can see everything fine. its just that if I hit the home button, that template error message shows up. Please help.
« Last Edit: June 01, 2007, 08:48:56 AM by whunlimited »