We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 27408
    • 33 Posts
    Quote from: shamblett at Oct 28, 2010, 07:56 AM

    Ok, edit provisioners connector.php above and hard wire the include, i.e get rid of the constans, see if that helps.

    Where is the config.core.php located? Its not in the root in my Revo installation (2.0.5), I got Provision installed with the same errors that are later named in this topic (I created the tmp map myself). I can try to login or logout but it keeps hanging.
    I get this error when browsing to the connector.php (or looking into the ouput that connector.php gives in the Chrome Developer Tools):


    Warning: require_once(/homedir/upgradetest/config.core.php) [function.require-once]: failed to open stream: No such file or directory in /homedir/upgradetest/assets/components/provisioner/connector.php on line 19

    Fatal error: require_once() [function.require]: Failed opening required ’/homedir/upgradetest/config.core.php’ (include_path=’.:/usr/share/php:/usr/share/pear’) in /homedir/upgradetest/assets/components/provisioner/connector.php on line 19
      • 26903
      • 1,336 Posts
      Top level of your install with your index.php
        Use MODx, or the cat gets it!
        • 27408
        • 33 Posts
        Quote from: shamblett at Dec 10, 2010, 08:13 AM

        Top level of your install with your index.php

        I got this:


        Z:\homedir\.gitignore
        Z:\homedir\ht.access
        Z:\homedir\index.php
        Z:\homedir\assets\
        Z:\homedir\assets\
        Z:\homedir\connectors\
        Z:\homedir\connectors\
        Z:\homedir\core\
          • 26903
          • 1,336 Posts
          Hmm. you have 2 assets directories and 2 connectors directories, you should have this :-

          drwxr-xrwx. 6 apache apache 4096 Oct 25 08:32 assets
          drwxrwxrwx. 4 steve steve 4096 Aug 19 21:01 ..
          drwxrwxr-x. 6 steve steve 4096 Aug 8 12:02 .svn
          -rw-r--r--. 1 apache apache 115 Aug 5 10:06 config.core.php
          drwxrwxrwx. 9 steve steve 4096 Aug 5 10:05 .
          drwxrwxr-x. 7 steve steve 4096 Aug 5 09:57 _build
          drwxrwxrwx. 11 steve steve 4096 Jul 13 19:15 connectors
          drwxrwxrwx. 6 steve steve 4096 Jul 13 19:15 manager
          drwxrwxr-x. 14 steve steve 4096 Jul 4 16:40 core
          -rw-rw-r--. 1 steve steve 3523 Jun 28 19:14 ht.access
          -rwxrwxr-x. 1 steve steve 3111 Jun 28 19:14 index.php
          drwxrwxr-x. 10 steve steve 4096 Jun 28 19:13 setup

          except for the .svn, _build and setup directories

            Use MODx, or the cat gets it!
            • 27408
            • 33 Posts
            Quote from: shamblett at Dec 10, 2010, 01:40 PM

            Hmm. you have 2 assets directories and 2 connectors directories, you should have this :-
            That was my mistake, I had 1 one of each.
            Anyway, I installed Revo again and got a config.core.php now.

            However, when I manually browse to the connector.php I get this error message, I suspect that some rights are set wrong....

            {"success":false,"message":"Toegang geweigerd.","total":0,"data":[],"object":[]}
              • 26903
              • 1,336 Posts
              Why do you manually browse to Provisioners connector? What do you see on install and when you active it from the component menu in Revo?
                Use MODx, or the cat gets it!
                • 27408
                • 33 Posts
                Quote from: shamblett at Dec 20, 2010, 05:38 AM

                Why do you manually browse to Provisioners connector?
                I wanted to see if that would give me more detailed information on what went wrong, last time it gave me a warning that it could not find config.core.php, I fixed that now.

                What do you see on install and when you active it from the component menu in Revo?
                On install I get this:

                Failed to set permissions on import directory
                xPDOVehicle resolver failed: type php (/home/meverts/revo/core/packages/provisioner-1.8-beta/modUserGroup/b14b43de29028b45ea9c5d64a9703e07.resolver.resolver)
                Setting file permissions for imports
                Verkrijgen van pakket werkruimte...
                Werkomgeving opgezet, pakket wordt geinstalleerd...
                Skipping vehicle object of class modContext (data object exists and cannot be upgraded); criteria: Array ( [key] => provisioner )
                Skipping vehicle object of class modUserGroup (data object exists and cannot be upgraded); criteria: Array ( [name] => Provisioner )
                PHP warning: chmod() [function.chmod]: No such file or directory
                Skipping vehicle object of class modCategory (data object exists and cannot be upgraded); criteria: Array ( [category] => Provisioner )
                Bezig met installeren van pakket: provisioner-1.8-beta
                Error writing preserved objects to /home/meverts/revo/core/packages/provisioner-1.8-beta/preserved.php
                Could not resolve vehicle for object of class modUserGroup; criteria: Array ( [name] => Provisioner )
                Pakket gevonden...installatie voorbereieden.
                Volgende pakket succesvol geinstalleerd provisioner-1.8-beta

                When I try to logout on the external Evo website it keeps loading, but nothing happens. When I try to login I get:

                Login to the Remote Site failed - Oops! The PHP CURL package seems not to be present, please install it.

                It seems I need to install CURL first, I’m gonna work on that now. Atleast I’m one step further then last time.

                  • 26903
                  • 1,336 Posts
                  OK,
                  Error writing preserved objects to /home/meverts/revo/core/packages/provisioner-1.8-beta/preserved.php
                  these are perms errors, also the import and probably the tmp directory wont work either until these are fixed.
                    Use MODx, or the cat gets it!
                    • 27408
                    • 33 Posts
                    Quote from: shamblett at Dec 20, 2010, 06:09 AM

                    OK,
                    Error writing preserved objects to /home/meverts/revo/core/packages/provisioner-1.8-beta/preserved.php
                    these are perms errors, also the import and probably the tmp directory wont work either until these are fixed.

                    Do you have an overview of which folders need to be writable to get the software to work?
                      • 26903
                      • 1,336 Posts
                      If you mean Revo itself its in the install docs somewhere, its also on the install screen but this doesn’t list the /component directories if I remember rightly, I always set /assets/components and core/components to read/write by the we server.
                        Use MODx, or the cat gets it!