1
Calculon
"MIME type not allowed" on Template upload.
  • 2007/2/27 3:28

  • Calculon

  • Just popping in

  • Posts: 1

  • Since: 2007/2/27


I just installed XOOPS, and am having trouble with uploading some themes (4whitebusiness and 7dana-clean).

Upon installation, I receive the following error:

Errors Returned While Uploading
MIME type not allowed: application/x-zip-compressed

I've done some research, and have looked at class/mimetypes.inc.php. Only zip => application/x-zip
was present originally, but even replacing with zip => application/x-zip-compressed brought no joy.

The files are .zip format.

I'm assuming that this is the place to be looking (since the error is thrown by the code), and the Apache httpd.conf doesn't need this added.

Any thoughts?

TIA.

2
snow77
Re: "MIME type not allowed" on Template upload.
  • 2007/2/27 4:17

  • snow77

  • Just can't stay away

  • Posts: 864

  • Since: 2003/7/23


To correctly install a theme you have to unzip the theme you have downloaded, then you check how many folders it has, because the main theme folder usually has this structure:

mythemefolder
- theme.html
- style.css
- theme_blockleft.html ...

so you make sure you upload the correct folder to this place:

yourXoopsRoot > themes > mythemefolder.

Then you login as administrator and go to system > preferences > general settings and you select the theme you want displayed from the select box in the Default theme option.

Login

Who's Online

189 user(s) are online (109 user(s) are browsing Support Forums)


Members: 0


Guests: 189


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Oct 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits