4images Forum & Community

4images Issues / Ausgaben => Discussion & Troubleshooting => Topic started by: Gwydion on March 05, 2007, 01:31:30 PM

Title: Can't add htm file via cpanel (no problem with FTP though)
Post by: Gwydion on March 05, 2007, 01:31:30 PM
I have a question about uploading/adding htm(l) files. I have set the allowed file type (txt, htm, html), I have the templates, I can upload via FTP and activate it - no problem.
Today I have got a single htm file and wanted to add it quickly via the cpanel, so I went to add images, selected the htm file and category, entered the data etc. and clicked "add" - but then I got the error message that it can't add htm to the db.

Quote
Error uploading image file: xxxxx.htm
xxxx.htm: Invalid file type (htm, text/html)

No database entry!


Since this only happens when using the cpanel I'd like to ask how i can fix it. I can still upload using FTP so it is not a big problem but I wonder why the cpanel does not accept htm from direct upload.

Version is 1.7.2
Title: Re: Can't add htm file via cpanel (no problem with FTP though)
Post by: mawenzi on March 05, 2007, 02:09:49 PM
... you must also update your upload_definitions.php for html-extension ... !
... how to add more allowed file extensions ( incl. txt, htm, html ) ...
http://www.4homepages.de/forum/index.php?topic=7277.0

Title: Re: Can't add htm file via cpanel (no problem with FTP though)
Post by: Gwydion on March 11, 2007, 08:37:21 PM
Works fine now. Thank you!