Installing or updating add-ons causing errors
Permalink
Went to do an install of an addon and update some addons (ecommerce for one) on an install that has been working just fine.
The download removes the addon dir in packages, then creates a temp numbered dir in /packages (which remains empty) and crashes with the error:
Warning: ZipArchive::extractTo() [ziparchive.extractto]: Permission denied in /home/XXXXXXX/public_html/concrete/core/libraries/archive.php on line 66
Warning: Cannot modify header information - headers already sent by (output started at /home/XXXXXXX/public_html/concrete/core/libraries/archive.php:66) in /home/XXXXXXX/public_html/concrete/core/libraries/controller.php on line 418
Anyone else have this issue or know what is causing it? Permissions are all correct that we can see.
The download removes the addon dir in packages, then creates a temp numbered dir in /packages (which remains empty) and crashes with the error:
Warning: ZipArchive::extractTo() [ziparchive.extractto]: Permission denied in /home/XXXXXXX/public_html/concrete/core/libraries/archive.php on line 66
Warning: Cannot modify header information - headers already sent by (output started at /home/XXXXXXX/public_html/concrete/core/libraries/archive.php:66) in /home/XXXXXXX/public_html/concrete/core/libraries/controller.php on line 418
Anyone else have this issue or know what is causing it? Permissions are all correct that we can see.
ok, found the problem... this server was running a version of php that needed to be updated to 5.3
so apparently this ISN'T the reason...
I'm at a loss on this one - hopefully SOMEONE has gone through this and found a fix...
Any C5 install that we have on one particular server is causing permission denied errors when ziparchive.extractto is being called. This happens when an add-on install or update is attempted.
If I try to install a new add-on for example, it dies when trying to extract an archive to /files/tmp... When I look there, the zip file is there and a subdirectory for the unarchive (which is empty) and that is all.
files and tmp are both chmod 777 and owned by the web server user. The IDENTICAL installation on any of our other servers has no problem.
Can anyone think of something I've missed?
Any C5 install that we have on one particular server is causing permission denied errors when ziparchive.extractto is being called. This happens when an add-on install or update is attempted.
If I try to install a new add-on for example, it dies when trying to extract an archive to /files/tmp... When I look there, the zip file is there and a subdirectory for the unarchive (which is empty) and that is all.
files and tmp are both chmod 777 and owned by the web server user. The IDENTICAL installation on any of our other servers has no problem.
Can anyone think of something I've missed?