We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 28554
    • 201 Posts
    Hi guys,

    I’ve had some trouble, because of installing MODx in a subfolder of the root of the webhost rather than in the root. A couple of days ago I had had it with that crap, so decided to go ahead and move the entire installation into the root-folder. Everything’s working smoothly now, except for one weird situation:

    Before I moved the install, I had downloaded the last TinyMCE update, but hadn’t installed it yet. Now when I try to install it, it keeps saying "package not found". If I do soldier on, eventually the console gives me this error:

    Console running...
    MODx could not download the file. You must enable allow_url_fopen, cURL or fsockopen to use remote transport packaging.
    Could not transfer package tinymce-4.0.1-rc1.transport.zip to /home/sites/site17724/web/core/packages/.
    Attempting to install package with signature: tinymce-4.0.1-rc1
    Package found...now preparing to install.
    Could not install package with signature: tinymce-4.0.1-rc1
    Could not open file for reading: tinymce-4.0.1-rc1.transport.zip?revolution_version=Revolution-2.0.0-rc-3
    


    The path is exactly right, and I’ve even tried redownloading the transport package through the MODx website, but it just won’t install. Also I can’t deinstall because that button is not available (only Install, because it thinks there’s an update waiting)....
      • 22303 MODX Staff
      • 10,725 Posts
      When you moved it, did you run setup in upgrade mode?
        • 28554
        • 201 Posts
        Yeah I did, even open config.inc.php and changed all the paths (were some issues with that). Also, the path that the console tells me is the correct path, and the file is there...
          • 28554
          • 201 Posts
          Isn’t there some way to trick MODx into redownloading it?

          Update

          Ok, so I’ve tried unzipping the file by hand into the packages folder, en re-transferring the original zip from modxcms.com/extras, and now I get a different message (maybe this one’s easier to fix?):

          Console running...
          Package found...now preparing to install.
          Could not unpack package /home/sites/site17724/web/core/packages/tinymce-4.0.1-rc1.transport.zip to /home/sites/site17724/web/core/packages/. SIG: tinymce-4.0.1-rc1
          xPDOZip: Error opening archive at /home/sites/site17724/web/core/packages/tinymce-4.0.1-rc1.transport.zip
          Attempting to install package with signature: tinymce-4.0.1-rc1
          PHP warning: ZipArchive::close() [ziparchive.close]: Invalid or unitialized Zip object
          Could not install package with signature: tinymce-4.0.1-rc1
          PHP warning: ZipArchive::extractTo() [ziparchive.extractto]: Invalid or unitialized Zip object
          
            • 22303 MODX Staff
            • 10,725 Posts
            Are you sure you have permission to read the zip and write to the packages directory? If so, what version of PHP and what version of the zip extension are you running?
              • 28554
              • 201 Posts
              Quote from: OpenGeek at Jul 15, 2010, 11:08 PM

              Are you sure you have permission to read the zip and write to the packages directory? If so, what version of PHP and what version of the zip extension are you running?

              Well yeah, I’ve even gone so far as to change chmod for the zip and the folder to 777. Server-info:

              Can’t seem to find php version in phpinfo. What key should I look for?

              MySQL: 5.0.45

              PHPZIP:

              Zip enabled
              Extension Version $Id: php_zip.c,v 1.1.2.43 2008/01/18 00:51:38 pajoye Exp $
              Zip version 1.8.11
              Libzip version 0.8.0-compatible

              Update:

              So I’ve tried removing the package from the server, and I’ve removed the entry from the database (so that only the record of the current version is still there), and tried redownloading it. It redownloaded the entire thing, but I still can’t update the installation...

              If you want a look at the actual installation, send me a PM, I’ll make an account for you.

              Thanks!
                • 28554
                • 201 Posts
                This is starting to get a little critical, since there’s a bug in the old version of TinyMCE which won’t let me install plugins... Any thoughts please?
                  • 22303 MODX Staff
                  • 10,725 Posts
                  Can you tell me if the path field in your {table_prefix}workspace table record is correct? Or is it pointing at the old path?

                  If that is not the issue, this might be related: http://svn.modxcms.com/jira/browse/MODX-1994
                    • 28554
                    • 201 Posts
                    Quote from: OpenGeek at Jul 16, 2010, 12:21 PM

                    Can you tell me if the path field in your {table_prefix}workspace table record is correct? Or is it pointing at the old path?

                    If that is not the issue, this might be related: http://svn.modxcms.com/jira/browse/MODX-1994

                    It’s correct (had some issues with this during moving it to the root webfolder, after which I corrected it). It is supposed to point to the "core" folder right?
                      • 28554
                      • 201 Posts
                      Ok,, so it won’t even uninstall... so I’m stuck with a broken version of TinyMCE sad

                      Could not open file for reading: tinymce-4.0.0-rc3.transport.zip?revolution_version=Revolution-2.0.0-rc-3
                      Could not load transport package.
                      Could not open file for reading: tinymce-4.0.0-rc3.transport.zip?revolution_version=Revolution-2.0.0-rc-3
                      MODx could not download the file. You must enable allow_url_fopen, cURL or fsockopen to use remote transport packaging.
                      Could not transfer package tinymce-4.0.0-rc3.transport.zip to /home/sites/site17724/web/core/packages/.
                      MODx could not download the file. You must enable allow_url_fopen, cURL or fsockopen to use remote transport packaging.
                      Package found. Preparing to uninstall.
                      Finding package with signature: tinymce-4.0.0-rc3
                      Could not transfer package tinymce-4.0.0-rc3.transport.zip to /home/sites/site17724/web/core/packages/.