4images Forum & Community

4images Issues / Ausgaben => Discussion & Troubleshooting => Topic started by: cert on January 08, 2008, 10:38:35 AM

Title: Template Error: Couldn't open Template ./templates/4waters/media/php.html
Post by: cert on January 08, 2008, 10:38:35 AM
hello,

when accessing the gallery I get the error "Template Error: Couldn't open Template ./templates/4waters/media/php.html". I tried changing the template to default but the same error appears except the folder. Anyone knows how to fix this?

Regards
cert
Title: Re: Template Error: Couldn't open Template ./templates/4waters/media/php.html
Post by: Acidgod on January 08, 2008, 11:46:31 AM
witch version?
url?
Title: Re: Template Error: Couldn't open Template ./templates/4waters/media/php.html
Post by: honda2000 on January 08, 2008, 12:28:33 PM
deine Galerie ist gehackt worden
eine Datei: php.html gibt es nicht!

und im Ordner media schon gleich gar nicht!
da diese Zeile beim Aufruf (index) der Galerie erscheint, ist das das Zeichen: G E H A C K T

irgend ein angemeldeter User hat sich da sehr unschön betätigt
Title: Re: Template Error: Couldn't open Template ./templates/4waters/media/php.html
Post by: Acidgod on January 08, 2008, 12:32:28 PM
Ich weiss... (o:
Title: Re: Template Error: Couldn't open Template ./templates/4waters/media/php.html
Post by: nobby on January 08, 2008, 12:34:27 PM
Die Welt ist schlecht, keiner hat mehr Respekt.
Die Leute machen sich ein spass daraus anderen schaden zuzufügen  :|
Title: Re: Template Error: Couldn't open Template ./templates/4waters/media/php.html
Post by: honda2000 on January 08, 2008, 12:35:47 PM
@ Oli, hast du es schon mal hinbekommen, eine so gehackte Galerie wieder hin zu bekommen???

ich habs versucht, bin aber nicht schlau geworden!

Wenn du einen Weg kennst (die entsprechende Datei, der en Eintrag) kannst du mir das ja mal per PN schicken
Title: Re: Template Error: Couldn't open Template ./templates/4waters/media/php.html
Post by: cert on January 08, 2008, 12:36:03 PM
if the gallery was hacked, what can I do to prevent this? the version is 1.7.4 after I upgraded it today.
Title: Re: Template Error: Couldn't open Template ./templates/4waters/media/php.html
Post by: Acidgod on January 08, 2008, 01:07:16 PM
if the gallery was hacked, what can I do to prevent this? the version is 1.7.4 after I upgraded it today.

If it is possible send me a FTP User:PW i will have a look witch Files you must delete from your Webspace...
Title: Re: Template Error: Couldn't open Template ./templates/4waters/media/php.html
Post by: honda2000 on January 08, 2008, 03:30:39 PM
selbst alle datein überschreiben hilft nicht
deshalb hab ich ja gefragt, wer mit dieser Fehlermeldung es hinbekommen hat, ne galerie zum laufen zu bekommen

der Eintrag ist in der DB, nur hab ich nicht herausbekommen, über welche Datei
Title: Re: Template Error: Couldn't open Template ./templates/4waters/media/php.html
Post by: thunderstrike on January 08, 2008, 03:32:17 PM
Try this for patch:

http://www.4homepages.de/forum/index.php?topic=18932.msg101956#msg101956
Title: Re: Template Error: Couldn't open Template ./templates/4waters/media/php.html
Post by: honda2000 on January 08, 2008, 03:34:12 PM
pefectly
Title: Re: Template Error: Couldn't open Template ./templates/4waters/media/php.html
Post by: cert on January 08, 2008, 04:05:02 PM
Hello,

it seems I've fixed the issue. In the control panal @ upload settings the filetype was set to "php". After I changed that the script was working again. I also saw a file "1.php" which was uploaded to the server. The file was deleted now and the gallery is working.

Thanks a lot for your help!
Cert
Title: Re: Template Error: Couldn't open Template ./templates/4waters/media/php.html
Post by: thunderstrike on January 08, 2008, 04:13:29 PM
Quote
I also saw a file "1.php" which was uploaded to the server. The file was deleted now and the gallery is working.

Is possible for say in folder you see 1.php for upload ? Is in media ?
Title: Re: Template Error: Couldn't open Template ./templates/4waters/media/php.html
Post by: cert on January 08, 2008, 04:14:59 PM
it was in one of the media folders, yes.
Title: Re: Template Error: Couldn't open Template ./templates/4waters/media/php.html
Post by: thunderstrike on January 08, 2008, 04:16:29 PM
Ok ... is create from you or you no create 1.php and see this in media ?
Title: Re: Template Error: Couldn't open Template ./templates/4waters/media/php.html
Post by: cert on January 08, 2008, 04:21:41 PM
ok...
there was is file called 1.php in one of the media folders. it was not uploaded by myself. and i did not changed the settings in the control panal to allow php files to be uploaded.

where is the setting for the uploadable filetypes stored?
Title: Re: Template Error: Couldn't open Template ./templates/4waters/media/php.html
Post by: Acidgod on January 08, 2008, 04:22:23 PM
...database... (o:
Title: Re: Template Error: Couldn't open Template ./templates/4waters/media/php.html
Post by: thunderstrike on January 08, 2008, 04:25:06 PM
Quote
ok...
there was is file called 1.php in one of the media folders. it was not uploaded by myself. and i did not changed the settings in the control panal to allow php files to be uploaded.

where is the setting for the uploadable filetypes stored?

Very good. I post quick fix in my templates topic. I update here for send post. ;)
Title: Re: Template Error: Couldn't open Template ./templates/4waters/media/php.html
Post by: thunderstrike on January 08, 2008, 04:31:00 PM
Ok, I update topic:

http://www.4homepages.de/forum/index.php?topic=18932.msg101956#msg101956

No php extension allow + php filename.
Thank for posting cert. ;)