Welcome,
Guest
.
Please
login
or
register
.
Did you miss your
activation email
?
News:
IOS Hotels
and
IOS Rentals
online booking systems for Elxis CMS.
Home
Help
Login
Register
Elxis CMS Forum
»
Extensions
»
Components
»
Re: IOSR extension package must be a zip file ...... [partially solved]
« previous
next »
Print
Pages: [
1
]
Author
Topic: Re: IOSR extension package must be a zip file ...... [partially solved] (Read 5630 times)
speck
Elxis Community
Sr. Member
Posts: 348
Re: IOSR extension package must be a zip file ...... [partially solved]
«
on:
February 25, 2014, 19:53:01 »
hi
during the installation of the extension iosr hotel, ios resevation give this error
IOSR extension package must be a zip file and your server set the correct MIME type!
package used wamp
application/zip zip in mime.types is configured.
ive tried to repack the extension iosr_hotels, but nothing, the error persist
how to solve???
thanks
«
Last Edit: February 26, 2014, 10:13:50 by speck
»
Logged
webgift
Elxis Team
Hero Member
Posts: 4193
Re: IOSR extension package must be a zip file ......
«
Reply #1 on:
February 26, 2014, 09:16:31 »
Hello!
As it seems the extension of installation package in not 'zip' OR the Mime Type of it is not one of the following: application/zip, application/x-zip, application/x-compressed, application/x-zip-compressed and multipart/x-zip.
Question: Have you modified the installation package?
Logged
Elxis Team •
Custom web design [EN]
-
[EL]
•
.GR Registrar
speck
Elxis Community
Sr. Member
Posts: 348
Re: IOSR extension package must be a zip file ......
«
Reply #2 on:
February 26, 2014, 10:11:17 »
No!
I've tried to repack the extension because also the original package gave always the same error.
Since I am a curious and i like to get a look how the great chief programm
, this night after the great and victorious tank battles on line, i've tried to disable this set of instruction in admin.php of IOSreservation
*************************
if (($filext != 'zip') || !in_array(strtolower($_FILES['package']['type']), array('application/zip',
'application/x-zip', 'application/x-compressed', 'application/x-zip-compressed', 'multipart/x-zip'
))) {
$link = $elxis->makeAURL('reservations:extensions/');
$elxis->redirect($link, 'IOSR extension package must be a zip file and your server set the correct MIME type!', true);
}
=======================
and i've installed the package sucessfully.
i looked also the configuration of apache and php in my local server and i saw some application/blablabla are not present (are in bold in the code prospect.
«
Last Edit: February 26, 2014, 10:14:16 by speck
»
Logged
datahell
Elxis Team
Hero Member
Posts: 10356
Re: IOSR extension package must be a zip file ...... [partially solved]
«
Reply #3 on:
February 26, 2014, 13:26:45 »
These lines is a security check (to prevent someone try to install a bad file renamed as zip).
Your browser doesn't set the proper mime type for zip package. This can happen for various reasons but mostly antivirus, modified browser signature/haders, and browser plugins. If I do the install it will be installed fine...
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
bledi
Full Member
Posts: 244
Re: IOSR extension package must be a zip file ...... [partially solved]
«
Reply #4 on:
February 26, 2014, 19:03:36 »
It happened the same thing to me when i installed it.
The same answer: IOSR extension package must be a zip file and your server set the correct MIME type!
I just tried with internet explorer, instead of Mozilla and Chrome and it went through.
Logged
datahell
Elxis Team
Hero Member
Posts: 10356
Re: IOSR extension package must be a zip file ...... [partially solved]
«
Reply #5 on:
February 26, 2014, 20:50:02 »
Personally I use Firefox and everything it is installed perfectly good.
So, it is not a matter of the browser itself but on something you have on the browser, like a plugin, a javascript blocking tool, a toolbar, something that manipulates browser headers, or something like that. Don't install bad things on your browser that track and log your visits or do other things without knowing them. Keep your browser clean! And especially,
don't use browsers with bad and silly plugins installed on anything you do that includes money and personal information.
The browser is a tool, not a game.
«
Last Edit: February 26, 2014, 20:53:41 by datahell
»
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
webgift
Elxis Team
Hero Member
Posts: 4193
Re: IOSR extension package must be a zip file ...... [partially solved]
«
Reply #6 on:
February 27, 2014, 10:31:01 »
I confirm that the installation process of that package completed successfully with Firefox!
Logged
Elxis Team •
Custom web design [EN]
-
[EL]
•
.GR Registrar
Print
Pages: [
1
]
« previous
next »
Elxis CMS Forum
»
Extensions
»
Components
»
Re: IOSR extension package must be a zip file ...... [partially solved]