We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 40409
    • 1 Posts
    I get this error message every time i do somethink in the manager. if have set the permission of register.php to 777 and folders to 755 but to no avail. any ideas about that?

    syntax error:
    Forbidden
    You don't have permission to access /connectors/system/registry/register.php on this server.
    
    Apache/1.3.36 Server at ...url.. Port 80
      • 9207 ☆ A M B ☆
      • 2,475 Posts
      What version of MODX? You shouldn't need write access to a connector that I know of. More likely is that somewhere you're missing a MODX path... your PHP error logs should print FULL paths to a file, e.g. /home/youruser/public_html/connectors/system/registry/register.php -- so that partial path there looks like MODX is trying to read something from a non-existant directory. Triple check your MODX config file (especially the paths and the URLs).
        • 25388
        • 31 Posts
        ran into the same issue, any resolution on this?
          • 9207 ☆ A M B ☆
          • 2,475 Posts
          This could be caused by a misconfiguration of Apache, too... e.g. if a parent folder isn't owned by the right user/group or the permissions schema is off... but if your path starts right with a forward slash (i.e. it's at the root of your server), then I think the most likely explanation is that your paths are misconfigured because nobody would install a site at the root of a server.
            • 25388
            • 31 Posts
            Paths looked correct to me and pointed all to the subdirectory <htmlroot>/modx/ so i guess its a permission problem.
              • 42349
              • 3 Posts
              Any solution yet? I run into the same problem today

              syntax error:
              Forbidden
              You don't have permission to access /connectors/system/registry/register.php on this server.
              
              Apache/1.3.36 Server at www.mydomain.ch Port 80 	
                • 28042 ☆ A M B ☆
                • 24,524 Posts
                That's a path problem; when a path starts with / that means the root of the file system. A URL that start with / means the root of the web server's webspace. Two different things. Here's my localhost config.inc.php section for connectors_path:
                    $modx_connectors_path= '/Users/sottwell/Desktop/Working/htdocs/revo226/connectors/';
                    $modx_connectors_url= '/revo226/connectors/';
                    define('MODX_CONNECTORS_PATH', $modx_connectors_path);
                    define('MODX_CONNECTORS_URL', $modx_connectors_url);
                }
                

                You'll notice that the path is the full path from my filesystem root, while the URL is only from the web root.
                  Studying MODX in the desert - http://sottwell.com
                  Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
                  Join the Slack Community - http://modx.org
                  • 9207 ☆ A M B ☆
                  • 2,475 Posts
                  Download my utility and use it to test your configuration info:

                  https://github.com/craftsmancoding/modx_utils/blob/master/test_config.php
                    • 42349
                    • 3 Posts
                    I don't see any path problem there. Both path and url look correct and the test config file found no error:
                    Success!

                    Your MODX installation appears to be set up correctly. This is not a guarantee that your site is running correctly! It means that your site is free from the bigger errors and misconfigurations.

                    It's not my first installation so I am really wondering where the problem might be.
                      • 9207 ☆ A M B ☆
                      • 2,475 Posts
                      If your paths are all Ok, I would suspect permissions problems first (in which case the setup/upgrade script should help you identify errors), and secondly I might look into security errors, e.g. with mod_security (if you have that installed on your server).