We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 8489
    • 90 Posts
    I have a lot of permission errors with 2.1.0 rc-4
    http://modxcms.com/forums/index.php/topic,64854.20.html
    http://modxcms.com/forums/index.php/topic,65416.0.html


    Now I want to upgrade to 2.1.1 is this wise... or is it better to solve the permission errors in rc4 and then upgrade?
    Will an upgrade set the right permission on files and folders?
      • 21257 MODX Staff
      • 730 Posts
      Have you checked or changed the permission on the core/cache folder itself? I’d try deleting everything in the core/cache folder, then make sure the cache folder itself is writable by the web process. The cache will rebuild itself.
      If you can solve the permission problem before upgrading, it may help things from becoming confusing.
        Mike Schell
        Lead Developer, MODX Cloud
        Email: [email protected]
        GitHub: https://github.com/netProphET/
        Twitter: @mkschell
        • 8489
        • 90 Posts
        Thanks netProphET for your reply.

        I have tried that before the core/cache forder has permission 775 and when I remove all files/folders inside it rebuilds all files/folders again so it must be writable by the web process.
          • 8489
          • 90 Posts
          Also I alway’s cant remove the rss folder when deleting and have to move it out of the cache folder.
            • 8489
            • 90 Posts
            I have just deleted the cache folder and changed the permission to 777 still getting errors.

            [2011-06-09 15:39:56] (ERROR @ /index.php) Could not load context: de
            [2011-06-09 15:40:26] (ERROR @ /index.php) Could not load context: de
            [2011-06-09 15:40:26] (ERROR @ /index.php) Could not load context: en
              • 8489
              • 90 Posts
              Also no difference with installing extra’s

              xPDOZip: Error opening archive at /domains/website.eu/DEFAULT/core/packages/batcher-1.1.1-pl.transport.zip
              Could not install package with signature: batcher-1.1.1-pl
              PHP warning: ZipArchive::extractTo() [ziparchive.extractto]: Invalid or unitialized Zip object
              Package found...now preparing to install.
              Could not unpack package /domains/website.eu/DEFAULT/core/packages/batcher-1.1.1-pl.transport.zip to /domains/website.eu/DEFAULT/core/packages/. SIG: batcher-1.1.1-pl
              Attempting to install package with signature: batcher-1.1.1-pl
              PHP warning: ZipArchive::close() [ziparchive.close]: Invalid or unitialized Zip object
                • 8489
                • 90 Posts
                Drives me mad this permission problem, really don’t know how to fix this issue.
                  • 21257 MODX Staff
                  • 730 Posts
                  Does the file batcher-1.1.1-pl.transport.zip exist and can you open it if you download it to your computer?
                  Do your core/packages and core/components folders also have the same permissions as core/cache?
                    Mike Schell
                    Lead Developer, MODX Cloud
                    Email: [email protected]
                    GitHub: https://github.com/netProphET/
                    Twitter: @mkschell
                    • 8489
                    • 90 Posts
                    I changed core/packages and core/components with permission 777 but still errors

                    [2011-06-09 16:00:14] (ERROR @ /index.php) Could not load context: de
                    [2011-06-09 16:00:14] (ERROR @ /index.php) Could not load context: en
                      • 8489
                      • 90 Posts
                      I tried to open batcher-1.1.1-pl.transport.zip on my mac and it is corrupted, but still got permission errors when removing other extras

                      Could not find files to remove.
                      Problem instantiating object from vehicle
                      Successfully grabbed package. Now attempting to remove transport zip...
                      Removing files in file resolver: /domains/website.eu/DEFAULT/core/components/docmanager
                      Recoverable error: Object of class xPDOObjectVehicle could not be converted to string
                      Could not find files to remove.
                      PHP notice: Object of class xPDOObjectVehicle to string conversion
                      Could not load class: modLexiconTopic from mysql.modlexicontopic.
                      Grabbing package to remove...
                      Removing files in file resolver: /domains/website.eu/DEFAULT/assets/components/docmanager
                      Skipping modNamespace object (data object does not exist and cannot be removed): Array ( [name] => docmanager )
                      Error removing package with signature: [[+signature]]
                      Skipping modMenu object (data object does not exist and cannot be removed): Array ( [text] => docmanager )
                      Could not load class: modLexiconLanguage from mysql.modlexiconlanguage.
                      Skipping modAction object (data object does not exist and cannot be removed): Array ( [namespace] => docmanager [controller] => index )
                      Problem instantiating object from vehicle
                      Could not resolve vehicle for object of class modMenu; criteria: Array ( [text] => docmanager )
                      Error uninstalling package with signature: Object