Elxis CMS Forum
Extensions => Components => Topic started by: pavel on March 30, 2009, 15:05:04
-
Dear Elxis community,
Strange problem with installing the new IOS Gallery component:
Downloaded to my PC, then tried to upload & install through component installation and following error was printed:
Upload Component - upload failed
Unrecoverable Error "PCLZIP_ERR_READ_OPEN_FAIL (-2)"
[ Continue... ]
PHP Error [Warning]
URI: index2.php
Path: /administrator/components/com_installer/installer.class.php
Line: 155
Invalid argument supplied for foreach()
Upload component - Failed
Installation file not found:
[ Continue... ]
I also had the same problem with installation of a template (which I manually uploaded in the end). There must be something wrong with installation or php settings or ...???? Site is running, so PHP5 must be working fine.
Anybody had a similar problem?
[attachment deleted by admin]
-
pavel,
Which version of Elxis are you using?
IOS Gallery only works on 2008.0 and after.
Othewise check your file permissions. 755 for folders - directories, 644 for files.
-
I'm not sure if it was the very same message, in my case... Did you check the rights on fodlers/files?
Are you sure the file is not corrupted?
-
I am using latest available release of Elxis
Before installation, it gives me a list of folders and says all are writable.
Anyways, will check permissions again.
I was able to install modules without problems!
-
Go to tools the permissions tab. All the permissions should display writeable.
Also, is the ftp configured in your global configuration. That should normally give the program the proper authority for file uploads.
-
Thanks a lot, i found the problem. Indeed it was "permissions". All folders are 755, all files are 644, but for some reason the .zip files that were uploaded to the tempr folder were not executable and elxis could not unzip them.
Tempr was 777, but files were 201, if such thing is possible :o
I set ftp access and I was able to upload with success.
:)