- Posts: 6
COMMUNITY FORUM
Support requests should ONLY be directed there and require an active subscription plan.
This forum board is to be used for archive purposes and knowledge exchange ONLY.
error: UNKNOWNARCHIVETYPE
- yubisay
- Topic Author
- Offline
- New Member
i bought the simple gallery PRO last week [through paypal / email: This email address is being protected from spambots. You need JavaScript enabled to view it.] and i'm trying to make the first .ZIP upload and i got the following error: "* UNKNOWNARCHIVETYPE * Gallery upload error: Cannot extract archive!" i've already done the following:
• enabled the plugin in the administrator
• changed folder permisions to 777 and didn't work... all folders in the following route [media / k2 / galleries] i changed them back to 755 after trying that...
• i checked my administrator / system info / permisions and all the folders are "writable" [with the actual 755 permision]
• the .ZIP file is just 168KB containing just JPG images
• search on the forum for that message error and tried everything mentioned in the topics found
the URL for the site is the following:
www.novateca.com.ve/clientes/od/www/
please, let me know if you need some more information...
thanks for your help!
...
yubi
Please Log in or Create an account to join the conversation.
- Katia
- Offline
- Platinum Member
- Posts: 4696
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- yubisay
- Topic Author
- Offline
- New Member
- Posts: 6
please i need help... the site is going live next week :(
i PM katia and she told me "It appears that some required libraries are missing from your server. Please consult your hosting company for help" but my hosting company doesn't know which are those needed libraries... i check the info.php file and we have GD library enabled... that's the one menttioned in the documentation... so, please which are those other libraries? so my hosting company can help me...
i bought the plugin 2 weeks ago and haven't been able to use it!
has someone been through the same situation? which libraries should we activate?
thanks,
Please Log in or Create an account to join the conversation.
- Yiota
- Visitor
Please Log in or Create an account to join the conversation.
- yubisay
- Topic Author
- Offline
- New Member
- Posts: 6
thanks for answering... i sent you the site info in a PM message... let me know please if you need something else...
thanks
Please Log in or Create an account to join the conversation.
- yubisay
- Topic Author
- Offline
- New Member
- Posts: 6
Please Log in or Create an account to join the conversation.
- yubisay
- Topic Author
- Offline
- New Member
- Posts: 6
Please Log in or Create an account to join the conversation.
- Zalan
- Offline
- New Member
- Posts: 1
community.getk2.org/forum/topics/joomlaworks-simple-image?commentId=3536014:Comment:13558
I had this same problem. When uploading to the gallery, the mime type is checked and it appears that it was checking the path for the mime type and not the name of the file. There are several checks for mime type prior to the code I edited below, and even some after. It keeps trying different ones until it gets a hit. Unfortunately until I fixed the code, it was trying to call it a text file and not a zip file. Anyway, this is what I did:
File: \administrator\components\com_k2\lib\class.upload.php
Line: ~2231
Change...
$this->file_src_mime = mime_content_type($this->file_src_pathname);
...to...
$this->file_src_mime = mime_content_type($this->file_src_name);
The only difference is that it's around Line 2470 or so. I hope it solves your problem.
Please Log in or Create an account to join the conversation.
- yubisay
- Topic Author
- Offline
- New Member
- Posts: 6
thanks so much for your help... although it didn't work for me :/ i decided to use this gallery throught the traditional method... i mean not uploading the zip file...
thanks again for taking the time to answer my post :)
Please Log in or Create an account to join the conversation.