Author Topic: Can't add htm file via cpanel (no problem with FTP though)  (Read 4488 times)

0 Members and 1 Guest are viewing this topic.

Offline Gwydion

  • Full Member
  • ***
  • Posts: 126
    • View Profile
Can't add htm file via cpanel (no problem with FTP though)
« 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

Offline mawenzi

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: Can't add htm file via cpanel (no problem with FTP though)
« Reply #1 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

Your first three "must do" before you ask a question ! ( © by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...

Offline Gwydion

  • Full Member
  • ***
  • Posts: 126
    • View Profile
Re: Can't add htm file via cpanel (no problem with FTP though)
« Reply #2 on: March 11, 2007, 08:37:21 PM »
Works fine now. Thank you!