Welcome,
Guest
.
Please
login
or
register
.
Did you miss your
activation email
?
News:
Download Elxis CMS:
Elxis 5.5 Hermes
.
Home
Help
Login
Register
Elxis CMS Forum
»
Support
»
Elxis 4.x/5.x DEV
»
Error: Elxis package must be a ZIP compressed file! [SOLVED]
« previous
next »
Print
Pages: [
1
]
Author
Topic: Error: Elxis package must be a ZIP compressed file! [SOLVED] (Read 7365 times)
speck
Elxis Community
Sr. Member
Posts: 348
Error: Elxis package must be a ZIP compressed file! [SOLVED]
«
on:
September 28, 2012, 11:31:45 »
I've tried to instal in local mod_latestarticles_1.0.zip
Elxis gives this error:
An Elxis package must be a ZIP compressed file!
I've tried to install in local other new extensions too, but nothing... always the same error,
form EDC the inslall works right
«
Last Edit: September 29, 2012, 20:31:24 by speck
»
Logged
datahell
Elxis Team
Hero Member
Posts: 10356
Re: Error: Elxis package must be a ZIP compressed file!
«
Reply #1 on:
September 28, 2012, 12:51:00 »
You get this warning on this particular extension or on any extension you try to install by file upload?
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
speck
Elxis Community
Sr. Member
Posts: 348
Re: Error: Elxis package must be a ZIP compressed file!
«
Reply #2 on:
September 28, 2012, 13:22:17 »
Yes.
I've downloaded some your new extension from EDC to study them for convert some my extensions.
When i've tried to install (upload and install) your esxtensions direclty from pc, elxis gave me that error.
Logged
babis1
Hero Member
Posts: 1538
Re: Error: Elxis package must be a ZIP compressed file!
«
Reply #3 on:
September 28, 2012, 13:41:42 »
i test that in online elxis installation and i haven't problem
«
Last Edit: September 28, 2012, 15:15:12 by speck
»
Logged
speck
Elxis Community
Sr. Member
Posts: 348
Re: Error: Elxis package must be a ZIP compressed file!
«
Reply #4 on:
September 28, 2012, 15:15:36 »
installing from EDC there aren't error
the error happen when install the file zip from pc .
Logged
webgift
Elxis Team
Hero Member
Posts: 4193
Re: Error: Elxis package must be a ZIP compressed file!
«
Reply #5 on:
September 28, 2012, 15:18:00 »
Can you please speck send us the package that you are trying to install?
Logged
Elxis Team •
Custom web design [EN]
-
[EL]
•
.GR Registrar
datahell
Elxis Team
Hero Member
Posts: 10356
Re: Error: Elxis package must be a ZIP compressed file!
«
Reply #6 on:
September 28, 2012, 20:12:00 »
He said that it is for any extension downloaded from EDC.
I will check it right nor for possible bugs and reply again.
EDIT.
Do this test.
Open
components/com_extmanager/controllers/install.php
Go to line
255
Change this:
if (($filext != 'zip') || !in_array($_FILES['package']['type'], array('application/zip', 'application/x-zip', 'application/x-zip-compressed'))) {
To this:
if (($filext != 'zip') || !in_array($_FILES['package']['type'], array('application/zip', 'application/x-zip', 'application/x-zip-compressed', 'application/octet-stream'))) {
Re-try to install something.
If it fails, change line 255 to this:
if ($filext != 'zip') {
Try again.
Tell me which method worked for you.
«
Last Edit: September 28, 2012, 20:23:26 by datahell
»
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
mgrc
Newbie
Posts: 45
Re: Error: Elxis package must be a ZIP compressed file!
«
Reply #7 on:
September 28, 2012, 23:47:08 »
I was able to reproduce this and second solution works. First one gives same error.
Logged
datahell
Elxis Team
Hero Member
Posts: 10356
Re: Error: Elxis package must be a ZIP compressed file!
«
Reply #8 on:
September 29, 2012, 00:00:37 »
OK, I will remove the mime type check and leave only the extension check.
Thanks for the report.
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
speck
Elxis Community
Sr. Member
Posts: 348
Re: Error: Elxis package must be a ZIP compressed file!
«
Reply #9 on:
September 29, 2012, 01:16:39 »
Confirm.
second solution works.
Logged
Print
Pages: [
1
]
« previous
next »
Elxis CMS Forum
»
Support
»
Elxis 4.x/5.x DEV
»
Error: Elxis package must be a ZIP compressed file! [SOLVED]