We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 13986
    • 90 Posts
    Trying to download extras through package retriever (I’ve tried many different ones with no success).

    I find the extra I want, such as tinymce, and then click the download button. The download buttons grey out and become unclickable, but that’s it. Nothing else ever happens, no errors no install option nothing.

    Could it be that I’m missing something that is not checked for before modx installs?

    Checked the error log and this is all it says:

    [2010-07-22 02:09:35] (ERROR @ /setup/index.php) Could not copy /home/ntrails/public_html/core/packages/core/modContext/bb0ab31ff60c6076faf4e52380d863d4/0/ to index.php
    [2010-07-22 02:09:35] (ERROR @ /setup/index.php) Could not copy /home/ntrails/public_html/core/packages/core/modContext/bb0ab31ff60c6076faf4e52380d863d4/1/ to ht.access
    [2010-07-22 02:09:35] (ERROR @ /setup/index.php) Could not copy /home/ntrails/public_html/core/packages/core/modContext/4d43e647705a21a39cce4e206eae2fc4/0/ to assets
    [2010-07-22 02:09:35] (ERROR @ /setup/index.php) Could not copy /home/ntrails/public_html/core/packages/core/modContext/4d43e647705a21a39cce4e206eae2fc4/1/ to controllers
    [2010-07-22 02:09:35] (ERROR @ /setup/index.php) Could not copy /home/ntrails/public_html/core/packages/core/modContext/4d43e647705a21a39cce4e206eae2fc4/2/ to templates
    [2010-07-22 02:09:35] (ERROR @ /setup/index.php) Could not copy /home/ntrails/public_html/core/packages/core/modContext/4d43e647705a21a39cce4e206eae2fc4/3/ to ht.access
    [2010-07-22 02:09:35] (ERROR @ /setup/index.php) Could not copy /home/ntrails/public_html/core/packages/core/modContext/4d43e647705a21a39cce4e206eae2fc4/4/ to index.php
    [2010-07-22 02:09:35] (ERROR @ /setup/index.php) Could not install files from /home/ntrails/public_html/core/packages/core/xPDOFileVehicle/788c3d8c5ceea2081e0e45beea59445c/ to 
    [2010-07-22 02:09:35] (ERROR @ /setup/index.php) Could not install files from /home/ntrails/public_html/core/packages/core/xPDOFileVehicle/cfb6e044acfd4380af21297330d6e10a/ to 
    [2010-07-22 02:09:35] (ERROR @ /setup/index.php) Could not install files from /home/ntrails/public_html/core/packages/core/xPDOFileVehicle/4ad20f2590e41758af884f8f50cf9e90/ to 
    [2010-07-22 02:09:35] (ERROR @ /setup/index.php) Could not install files from /home/ntrails/public_html/core/packages/core/xPDOFileVehicle/c9366179780330a60397dc65652071a9/ to 
    [2010-07-22 02:09:35] (ERROR @ /setup/index.php) Could not install files from /home/ntrails/public_html/core/packages/core/xPDOFileVehicle/70496e8c8b2f20b1a5475b6a53d8ae08/ to 
    [2010-07-22 02:09:35] (ERROR @ /setup/index.php) Could not install files from /home/ntrails/public_html/core/packages/core/xPDOFileVehicle/62dfa0c3aa4f49d0842fcd1e508daddb/ to 
    [2010-07-22 02:09:35] (ERROR @ /setup/index.php) Could not install files from /home/ntrails/public_html/core/packages/core/xPDOFileVehicle/d095a33f0877ac62fc7e084c26b68f9b/ to 
    [2010-07-22 02:09:35] (ERROR @ /setup/index.php) Could not install files from /home/ntrails/public_html/core/packages/core/xPDOFileVehicle/479db3a211064595e3407956f5d5e1bc/ to 
    [2010-07-22 02:09:35] (ERROR @ /setup/index.php) Could not install files from /home/ntrails/public_html/core/packages/core/xPDOFileVehicle/f33b0387efe09cd9b3c233b2d05ca7e0/ to 
    [2010-07-22 02:09:35] (ERROR @ /setup/index.php) Could not install files from /home/ntrails/public_html/core/packages/core/xPDOFileVehicle/6d1e6577b5c6677358691d2ad56ad8e1/ to 
    
      Jeremy Foster
      • 13986
      • 90 Posts
      Still can’t get packages to download.

      Here’s some server details:

      PHP Version 5.2.13
      cURL support enabled
      cURL Information libcurl/7.20.1 OpenSSL/0.9.8b zlib/1.2.3 libidn/0.6.5

      MySQL 5.0.90
        Jeremy Foster
        • 8898
        • 181 Posts
        The directory /core/packages is writable?

        Cheers,
        Jan
          This message has been ROT-13 encrypted twice for higher security.
          • 27708 MODX Staff
          • 2,502 Posts
          I think Jan is on the right track. My guess to is that your permissions are incorrect for /core/packages/
            Author of zero books. Formerly of many strange things. Pairs well with meats. Conversations are magical experiences. He's dangerous around code but a markup magician. Blog ✦ Twitter ✦ LinkedIn ✦ GitHub
            • 13986
            • 90 Posts
            Tried changing permissions from 755 to 777 still not getting any packages to download.

            I deleted the entire install and started from scratch again, the install process goes through with no errors or warnings and during that process I get the following message:
            Checking if core/packages directory exists: OK!
            Checking if core/packages directory is writable: OK!
            


            Is there documentation on manually installing packages with Revo? I tried downloading tinymce-4.0.1-rc1.transport.zip and uploading it to:

            core/packages/tinymce-4.0.1-rc1.transport.zip

            but nothing shows under "Package Management" in Revo, just says "No data to display"


              Jeremy Foster
              • 13986
              • 90 Posts
              Here’s some more environment info if that helps:

              CentOS release 5.5 (Final)
              Kernel Version 2.6.18-194.3.1.el5PAE (SMP)

              Tried Firefox 3.6 & 4.0 beta and Chrome 5

              Also tried uploading quip-1.0.0-pl.transport.zip to core/packages

              Still shows "No data to display", for Package Management list.
                Jeremy Foster
                • 28215
                • 4,149 Posts
                - Do you have cURL installed by chance?
                - Are you running any opcode caching (APC, eAccelerator, xCache, etc)?
                - What zip extensions do you have installed?
                - Are there any relevant errors in core/cache/logs/error.log?
                  shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com
                  • 22303 MODX Staff
                  • 10,725 Posts
                  You have to scan for local packages once you manually upload them; click Add New Package and then select the Search Locally for Packages option.
                    • 18913
                    • 654 Posts
                    For what it’s worth, the errors listed in the first posting look like the same that I saw in the error log. But I was also able to use the package manager to download and successfully install the sample site.

                    I did not get any flagged errors nor did I need to manually go and change permissions in order to get the sample site material downloaded and installed.

                    This was on Hostgator.

                    Matt
                      • 13986
                      • 90 Posts
                      Quote from: OpenGeek at Jul 23, 2010, 11:16 AM

                      You have to scan for local packages once you manually upload them; click Add New Package and then select the Search Locally for Packages option.
                      Thanks for that. I read the docs but must have missed that part. Doh! Upon scanning I can see and install the manually downloaded packages. Still can’t download through Package manager though.

                      Quote from: splittingred at Jul 23, 2010, 11:14 AM

                      - Do you have cURL installed by chance?
                      cURL support	enabled
                      cURL Information	libcurl/7.20.1 OpenSSL/0.9.8b zlib/1.2.3 libidn/0.6.5
                      

                      Quote from: splittingred at Jul 23, 2010, 11:14 AM

                      - Are you running any opcode caching (APC, eAccelerator, xCache, etc)?
                      No
                      Quote from: splittingred at Jul 23, 2010, 11:14 AM

                      - What zip extensions do you have installed?
                      zip extension is installed in PHP5 and running zlib
                      Quote from: splittingred at Jul 23, 2010, 11:14 AM

                      - Are there any relevant errors in core/cache/logs/error.log?
                      Just the errors listed in the original post above.

                      Was talking to the Server Admin he mentioned we have have SuPHP and looking at the server error logs that there is "a modsec trigger" showing for my domain "which is listed as a "Remote File Injection attempt in ARGS"".

                      He went ahead and turned off that particular modsec rule, but I still can’t download addons in the manager.
                        Jeremy Foster