splittingred / TinyMCE

TinyMCE integration for MODx Revolution.
http://svn.modxcms.com/docs/display/ADDON/TinyMCE
35 stars 19 forks source link

Error: Package not found. #3

Closed eerne closed 14 years ago

eerne commented 14 years ago

When trying to install TinyMce 4.0.1-rc1 with Package Management in a freshly installed modx-2.0.0-pl, the Package installer says: "Error: Package not found." There is no js error. and currently no License Agreement, although I was pretty sure the first time there was a License Agreement, but maybe from the last package.

Other packages installed fine without any problems (Gallery, wayfinder, getresources, firstchildredirect, googlesitemap)

snlr commented 14 years ago

same here

splittingred commented 14 years ago

Try 4.0.1-rc2

eerne commented 14 years ago

somehow the unzipping didn't work. I tried to unzipp locally and upload: now the License appears but with it still an error package not found.

If I ignore those errors and just continue it tries to install and gives "Could not install package with signature: tinymce-4.0.1-rc2"

    Console running...
    PHP warning: ZipArchive::close() [ziparchive.close]: Invalid or unitialized Zip object
    Could not unpack package /home/httpd/vhosts/mydomain.ch/httpdocs/core/packages/tinymce-4.0.1-rc2.transport.zip to /home/httpd/vhosts/mydomain.ch/httpdocs/core/packages/. SIG: tinymce-4.0.1-rc2
    Attempting to install package with signature: tinymce-4.0.1-rc2
    Package found...now preparing to install.
    xPDOZip: Error opening archive at        /home/httpd/vhosts/mydomain.ch/httpdocs/core/packages/tinymce-4.0.1-rc2.transport.zip
    PHP warning: ZipArchive::extractTo() [ziparchive.extractto]: Invalid or unitialized Zip object
    Could not install package with signature: tinymce-4.0.1-rc2
snlr commented 14 years ago

I'm getting the same error (rc2) as eerne.

eerne commented 14 years ago

also tried to do a real "manual installation" with http://svn.modxcms.com/docs/display/revolution20/Installing+a+Package#InstallingaPackage-ManualInstallation but got the same error. Is 'Add New Package' still supported and working?

splittingred commented 14 years ago

Is allow_url_fopen on on your servers? Just a guess.

splittingred commented 14 years ago

eerne: yes, add new package works fine. This seems to be a size issue.

splittingred commented 14 years ago

Confirmed as actually a problem with the PHP zip extension 1.8.11; upgrading the zip extension in PHP to 1.9.1 fixes the issue.

snlr commented 14 years ago

I can confirm that now with PHP Zip extension 1.9.1 (server upgrade to Ubuntu 10.4), TinyMCE could be installed and works. Thanks for your help!!

eerne commented 14 years ago

Sorry for posting on this closed issue, but I just found out, that:

this version doesn't unzip TinyMCE: Zip version 1.8.11 Libzip version 0.8.0-compatible

this version DOES unzip TinyMCE Zip version 1.8.11 Libzip version 0.9.0

splittingred commented 14 years ago

Set the 'archive_with' System Setting in MODx to Yes, or 1.