Author Topic: php.html not found : Template Error???  (Read 9941 times)

0 Members and 1 Guest are viewing this topic.

Offline Exeleron

  • Pre-Newbie
  • Posts: 4
    • View Profile
php.html not found : Template Error???
« on: May 20, 2007, 09:04:54 PM »
Hello, i just installed your images gallery(1.7.4) on my site, like for a few hours it was running perfectly.
but then suddenly an template error:

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

well ok, so i thought, lets search for php.html in the templates/default/media files..
well guess what?
there was no file with such a name!
So i thought, lets download the whole package again from the 4images site, and see if i can upload a new php.html from a new package...
again guess what??
there was no file with such a name in the new download either!
so my conclusion: my gallery is trying to open a file, that doesnt even exist!!

what can i do to solve this problem? :(

manurom

  • Guest
Re: php.html not found : Template Error???
« Reply #1 on: May 20, 2007, 11:21:17 PM »
Hello;
it smells like a hack attempt.
Try to go to you PHPMyAdmin, and open your database.
Search for the 4images_settings table.
Search the field allowed_mediatypes, and change its value to:
Code: [Select]
jpg,gif,png,aif,au,avi,mid,mov,mp3,mpg,swf,wav,ra,rm,zip,pdf
If you have kept your database prefix as 4images, you can instead try to import the attached file, after having unpacked it.

Offline Exeleron

  • Pre-Newbie
  • Posts: 4
    • View Profile
Re: php.html not found : Template Error???
« Reply #2 on: May 20, 2007, 11:32:30 PM »
hmm, my host, 110mb, has deleted phpMyAdmin, and made their own database manager.
so i cant see those 'allowed media types'.
and the other problem is is that the .zip file you gave me is damaged :(

no i dont im sorry, i found the 4images_settings, but there were no allowed media types.. :(

dont you have the php.html file for me?

cause it was really weird too when i downloaded the gallery totaly new from 4images, and there was no php.html in that package too.. :!:

manurom

  • Guest

Offline Exeleron

  • Pre-Newbie
  • Posts: 4
    • View Profile
Re: php.html not found : Template Error???
« Reply #4 on: May 21, 2007, 10:44:33 AM »
yeah i have read it all, and i looked in my 4images admin panel, but those:
Code: [Select]
jpg,gif,png,aif,au,avi,mid,mov,mp3,mpg,swf,wav,ra,rm,zip,pdfwere all still at the place where they should be.
so still not working :S

Offline whunlimited

  • Pre-Newbie
  • Posts: 2
    • View Profile
Re: php.html not found : Template Error???
« Reply #5 on: June 01, 2007, 08:28:18 AM »
I just started getting the same thing on my site too for some reason. That file doesn't exist in my package either.

manurom

  • Guest
Re: php.html not found : Template Error???
« Reply #6 on: June 08, 2007, 01:54:59 PM »
Hello;
maybe you have a category where some registered member has uploaded a php file.
To find it, please go to your ACP, by typing http://your_site/your_gallery/admin/, and get logged.
Then go to "Edit images". In the right frame, choose at the bottom, in "Options", "Order by date" and "Descending", and then click on the "Search" button.
Latest images will be shown, beginning by the most recent ones. Check if something is called XXXXX.php and delete it. Also check what member uploaded it, and delete it if you think he is a hacker/spammer, or any guy who does not know how to manage his life without annoying other people.