We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 25287
    • 81 Posts
    I’ve just upgraded my site to Rev 2.0.6 pl. The site www.radiantglory.com is working fine (generally).
    However, when I log in to the manager there is no resources tree. All that’s visible is the bar across the top with Home, Site Components etc. and the Modx news panel. Clicking any of the top bar items simply removes the Modx news panel.

    I developed the site locally, then uploaded it. Have not touched user permissions as there should only be one manager/user - me.

    Any suggestions?

    Thanks for any help.
      • 3749
      • 24,544 Posts
      First, did you run an upgrade install and clear your browser cache and cookies before logging in?

      If so, it’s likely that it’s one of these:

      1. File and/or directory permissions were changed by the file transfer and MODx can’t read or write some necessary files.
      2. File permissions issues prevented a new file from overwriting an old one.
      3. One or more files was corrupted on transfer.


        Did I help you? Buy me a beer
        Get my Book: MODX:The Official Guide
        MODX info for everyone: http://bobsguides.com/modx.html
        My MODX Extras
        Bob's Guides is now hosted at A2 MODX Hosting
        • 25287
        • 81 Posts
        Thanks BobRay.
        I did an upgrade install - had a 503 error issue for a while but that is fixed. Actually my webhost were very helpful with that, they sent me this message:
        "I traced the path radiantglory.com/core/model/modx to modx.class.php and found that file has wrong permissions. That’s why it couldn’t be read and generated an exception with error message."

        I have re-uploaded all the manager files & directories again in case of corrupted files. All the folders have access permissions 755 & files 644.

        I think I cleared browser cache & cookies before upgrading - is there a way to do or overcome that now in case I didn’t?

        Not sure what to try next.
          • 3749
          • 24,544 Posts
          Here are a few more things to try:


          Try from another browser.
          Check the information in the core/config/config.inc.php file in case you overwrote it with the local one.
          Try deleting the contents of the core/cache directory.
          Check the paths in the four config.core.php files (they should all point to the directory containing the /core directory):

          § MODx root directory
          § /manager/
          § /connectors/
          § /setup/includes/

          When you check the config file, pay special attention to the server name, DB name, and password, the character set, and the location of the processors directory.




            Did I help you? Buy me a beer
            Get my Book: MODX:The Official Guide
            MODX info for everyone: http://bobsguides.com/modx.html
            My MODX Extras
            Bob's Guides is now hosted at A2 MODX Hosting
            • 25287
            • 81 Posts
            Thanks for your help BobRay!

            Finally sorted. After going through each step, deleting the cache & checking the config.core.php files the only thing I could find was that in the /setup/includes/config.core.php
            file the MODX_INSTALL_PATH was missing the first /.

            ie it was define (’MODX_CORE_PATH’, MODX_INSTALL_PATH . ’core/’); instead of: define (’MODX_CORE_PATH’, MODX_INSTALL_PATH . ’/core/’);

            Ran install again after changing that & all is good now, almost.

            The properties for the SPForm snippet are blank. Is there a file within the install package that can be used to restore the default settings? Or is it easier to reinstall from scratch?

            MODx is great, not just because of the cms/framework, but the community makes it so much richer. Thanks again.
              • 3749
              • 24,544 Posts
              You could try this code in a snippet (or you could try uninstalling it, deleting the two resources, removing the package, re-downloading, and re-installing).

              If you use the snippet, you’ll have to set the spformProcAllowedReferers, spfResponseID, the email in recipientArray, and possibly several email parameters yourself after running it.

              $snippet = $modx->getObject('modSnippet',array('name'=>'SPForm'));
              
              $properties = array(
              
              array (
                  'name'=>'recipientArray',
                  'desc'=>'Comma separated list of recipient title/email pairs for the sent mail. Should be in this form --> Webmaster :[email protected],Sales :[email protected]',
                  'type'=>'textfield',
                  'options'=>'',
                  'value'=>'Webmaster: Webmaster: [email protected]'
              ),
              
              array(
                  'name'=>'errorsTo',
                  'desc'=>'Error reports will be emailed to this address if the appropriate options are set.',
                  'type'=>'textfield',
                  'options'=>'',
                  'value'=>'[email protected]'
              ),
              
              array(
                  'name'=>'spformTpl',
                  'desc'=>'SPForm Template chunk name',
                  'type'=>'textfield',
                  'options'=>'',
                  'value'=>'spformTpl'
              ),
              array(
                  'name'=>'spformprocTpl',
                  'desc'=>'SPFormproc Template chunk name',
                  'type'=>'textfield',
                  'options'=>'',
                  'value'=>'spformprocTpl'
              ),
              array(
                  'name'=>'spfcaptchaTpl',
                  'desc'=>'SPForm captcha Template chunk name',
                  'type'=>'textfield',
                  'options'=>'',
                  'value'=>'spfcaptchaTpl'
              ),
              
              array(
                  'name'=>'test_mode',
                  'desc'=>'Test SPForm without sending mail',
                  'type'=>'combo-boolean',
                  'options'=>'',
                  'value'=>'0'
              ),
              
              array(
                  'name'=>'spfDebug',
                  'desc'=>'Print debugging info - Do not leave this on for a working site',
                  'type'=>'combo-boolean',
                  'options'=>'',
                  'value'=>'0'
              ),
              
              array(
                  'name'=>'formProcAllowedReferers',
                  'desc'=>'Comma separated list of allowed referers. Be sure this lists all the domains by which your contact page can be reached.',
                  'type'=>'textfield',
                  'options'=>'',
                  'value'=>'mysite.com'
              ),
              
              
              array(
                  'name'=>'spfResponseID',
                  'desc'=>'Resource ID of SPFResponse page. This value will be set automatically on the first visit to the form.',
                  'type'=>'integer',
                  'options'=>'',
                  'value'=>'9999'
              ),
              
              
              array(
                  'name'=>'adviseAll',
                  'desc'=>'Email all errors to $errorsTo recipient',
                  'type'=>'combo-boolean',
                  'options'=>'',
                  'value'=>'0'
              ),
              
              array(
                  'name'=>'warnAll',
                  'desc'=>'Warn the user of all errors (use this only for debugging)',
                  'type'=>'combo-boolean',
                  'options'=>'',
                  'value'=>'0'
              ),
              
              
              
              array(
                  'name'=>'spfUseSMTP',
                  'desc'=>'Use SMTP instead of mail(). Be sure to set the four spfSMTP_ variables if you use this.',
                  'type'=>'combo-boolean',
                  'options'=>'',
                  'value'=>'0'
              ),
              
              
              
              array(
                  'name'=>'spfSMTP_Port',
                  'desc'=>'SMTP Port',
                  'type'=>'integer',
                  'options'=>'',
                  'value'=>'587'
              ),
              
              array(
                  'name'=>'spfSMTP_Host',
                  'desc'=>'SMTP acount Host',
                  'type'=>'textfield',
                  'options'=>'',
                  'value'=>'yourhost.com'
              ),
              
              array(
                  'name'=>'spfSMTP_UserName',
                  'desc'=>'SMTP account username',
                  'type'=>'textfield',
                  'options'=>'',
                  'value'=>'yourUserName'
              ),
              
              array(
                  'name'=>'spfSMTP_Password',
                  'desc'=>'SMTP account password',
                  'type'=>'textfield',
                  'options'=>'',
                  'value'=>'yourPassword'
              ),
              
              
              array(
                  'name'=>'useHiddenField',
                  'desc'=>'Use hidden field to fool spambots. If they fill it out, the mail is not sent. Note: This doesn not use visibility:hidden so it should not affect SEO.',
                  'type'=>'combo-boolean',
                  'options'=>'',
                  'value'=>'1'
              ),
              
              
              
              array(
                  'name'=>'warnHiddenField',
                  'desc'=>'Warn the user about hidden field violations',
                  'type'=>'combo-boolean',
                  'options'=>'',
                  'value'=>'0'
              ),
              
              
              
              array(
                  'name'=>'logOnHidden',
                  'desc'=>'Log hidden field violations',
                  'type'=>'combo-boolean',
                  'options'=>'',
                  'value'=>'0'
              ),
              
              
              
              array(
                  'name'=>'requireMouseOrKeyboard',
                  'desc'=>'Require user to use either mouse or keyboard. Should not cause accessibility problems.',
                  'type'=>'combo-boolean',
                  'options'=>'',
                  'value'=>'1'
              ),
              
              
              
              array(
                  'name'=>'requireKeyboard',
                  'desc'=>'Require user to use keyboard (ignored if requireMouseOrKeyboard=1). This creates accessibility issues and should only be used for debugging.',
                  'type'=>'combo-boolean',
                  'options'=>'',
                  'value'=>'0'
              ),
              
              array(
                  'name'=>'requireMouse',
                  'desc'=>'Requre user to use mouse (ignored if requireMouseOrKeyboard=1). This creates accessibility issues and should only be used for debugging.',
                  'type'=>'combo-boolean',
                  'options'=>'',
                  'value'=>'0'
              ),
              
              
              
              array(
                  'name'=>'warnMouseAndKeyboard',
                  'desc'=>'Warn user of mouse or keyboard violations',
                  'type'=>'combo-boolean',
                  'options'=>'',
                  'value'=>'0'
              ),
              
              
              array(
                  'name'=>'logMouseAndKeyboardErrors',
                  'desc'=>'Log mouse and keyboard violations',
                  'type'=>'combo-boolean',
                  'options'=>'',
                  'value'=>'0'
              ),
              
              
              array(
                  'name'=>'useTimer',
                  'desc'=>'Use max and min time limits for the form. Spambots often fill the form very quickly or very slowly. The settings should be fairly generous to avoid accessibility issues.',
                  'type'=>'combo-boolean',
                  'options'=>'',
                  'value'=>'1'
              ),
              
              array(
                  'name'=>'useTimerMin',
                  'desc'=>'Minimum time allowed (seconds)',
                  'type'=>'integer',
                  'options'=>'',
                  'value'=>'10'
              ),
              
              array(
                  'name'=>'useTimerMax',
                  'desc'=>'Maximum time allowed (seconds)',
                  'type'=>'integer',
                  'options'=>'',
                  'value'=>'1800'
              ),
              
              
              
              array(
                  'name'=>'warnTimer',
                  'desc'=>'Warn user of timer violations',
                  'type'=>'combo-boolean',
                  'options'=>'',
                  'value'=>'0'
              ),
              
              array(
                  'name'=>'logOnTimer',
                  'desc'=>'Log timer violations',
                  'type'=>'combo-boolean',
                  'options'=>'',
                  'value'=>'0'
              ),
              
              array(
                  'name'=>'timerOffset',
                  'desc'=>'Obfuscates the timer value',
                  'type'=>'integer',
                  'options'=>'',
                  'value'=>'14543'
              ),
              
              
              array(
                  'name'=>'addSubjSig',
                  'desc'=>'Add a distinctive prefix to subject field',
                  'type'=>'combo-boolean',
                  'options'=>'',
                  'value'=>'1'
              ),
              
              
              
              array(
                  'name'=>'dfltSubj',
                  'desc'=>'Subject prefix to use. If addSubjSig = 1, this prefix is added to the subject of all messages. Another possibilty is $modx->config["site_name"]',
                  'type'=>'textfield',
                  'options'=>'',
                  'value'=>" Contact"
              ),
              
              
              
              array(
                  'name'=>'logInjections',
                  'desc'=>'Log script injection attempts',
                  'type'=>'combo-boolean',
                  'options'=>'',
                  'value'=>'0'
              ),
              
              array(
                  'name'=>'warnInjections',
                  'desc'=>'Warn user of script injection violations',
                  'type'=>'combo-boolean',
                  'options'=>'',
                  'value'=>'0'
              ),
              
              
              
              array(
                  'name'=>'maxRecipientLen',
                  'desc'=>'Maximum length of recipient field. If you are sending to multiple people with very long email addresses, you may need to change this.',
                  'type'=>'integer',
                  'options'=>'',
                  'value'=>'65'
              ),
              
              array(
                  'name'=>'logRecipientLen',
                  'desc'=>'Log recipient length violations',
                  'type'=>'combo-boolean',
                  'options'=>'',
                  'value'=>'0'
              ),
              
              array(
                  'name'=>'warnRecipientLen',
                  'desc'=>'Warn user of recipient length violations',
                  'type'=>'combo-boolean',
                  'options'=>'',
                  'value'=>'0'
              ),
              
              
              
              array(
                  'name'=>'maxSubjectLen',
                  'desc'=>'Maximum length of subject field. You can make this longer or shorter if you like.',
                  'type'=>'integer',
                  'options'=>'',
                  'value'=>'100'
              ),
              
              array(
                  'name'=>'logSubjectLen',
                  'desc'=>'Log subject length violations',
                  'type'=>'combo-boolean',
                  'options'=>'',
                  'value'=>'0'
              ),
              
              array(
                  'name'=>'warnSubjectLen',
                  'desc'=>'Warn user of subject length violations',
                  'type'=>'combo-boolean',
                  'options'=>'',
                  'value'=>'0'
              ),
              
              
              
              array(
                  'name'=>'maxLinks',
                  'desc'=>'Maximum number of http links in the message body. If your users will be sending you long lists of links, you will need to make this bigger.',
                  'type'=>'integer',
                  'options'=>'',
                  'value'=>'3'
              ),
              
              array(
                  'name'=>'logMaxLinks',
                  'desc'=>'Log max links violations',
                  'type'=>'combo-boolean',
                  'options'=>'',
                  'value'=>'0'
              ),
              
              array(
                  'name'=>'warnMaxLinks',
                  'desc'=>'Warn user of max links violations',
                  'type'=>'combo-boolean',
                  'options'=>'',
                  'value'=>'0'
              ),
              
              
              
              array(
                  'name'=>'logIllegalSubject',
                  'desc'=>'Log illegal content in the subject field.',
                  'type'=>'combo-boolean',
                  'options'=>'',
                  'value'=>'0'
              ),
              
              array(
                  'name'=>'warnIllegalSubject',
                  'desc'=>'Warn user of illegal content in the subject field.',
                  'type'=>'combo-boolean',
                  'options'=>'',
                  'value'=>'0'
              ),
              
              
              
              array(
                  'name'=>'mailAlso',
                  'desc'=>'All emails sent will be CCd to this address',
                  'type'=>'textfield',
                  'options'=>'',
                  'value'=>''
              ),
              
              
              
              array(
                  'name'=>'requireName',
                  'desc'=>'Require the name field',
                  'type'=>'combo-boolean',
                  'options'=>'',
                  'value'=>'1'
              ),
              
              array(
                  'name'=>'requireSubject',
                  'desc'=>'Require the subject field',
                  'type'=>'combo-boolean',
                  'options'=>'',
                  'value'=>'1'
              ),
              
              array(
                  'name'=>'requireEmail',
                  'desc'=>'Require the email field',
                  'type'=>'combo-boolean',
                  'options'=>'',
                  'value'=>'1'
              ),
              
              
              
              array(
                  'name'=>'spTextRows',
                  'desc'=>'Row size of message window (the input box for the message body)',
                  'type'=>'integer',
                  'options'=>'',
                  'value'=>'10'
              ),
              
              array(
                  'name'=>'spTextCols',
                  'desc'=>'Column size of message window (the input box for the message body)',
                  'type'=>'integer',
                  'options'=>'',
                  'value'=>'50'
              ),
              
              
              
              array(
                  'name'=>'includeResetButton',
                  'desc'=>'Include a reset button that empties all form fields.',
                  'type'=>'combo-boolean',
                  'options'=>'',
                  'value'=>'0'
              ),
              
              
              
              array(
                  'name'=>'showSingleRecipientTo',
                  'desc'=>'Show the recipient name if there is only one',
                  'type'=>'combo-boolean',
                  'options'=>'',
                  'value'=>'0'
              ),
              
              
              
              array(
                  'name'=>'requireVerify',
                  'desc'=>'Use captcha-style verification',
                  'type'=>'combo-boolean',
                  'options'=>'',
                  'value'=>'0'
              ),
              
              array(
                  'name'=>'useMathString',
                  'desc'=>'Use simple math equations as captcha images. The user is asked to solve a simple equation. This fools spambots that can read captcha images.',
                  'type'=>'combo-boolean',
                  'options'=>'',
                  'value'=>'1'
              ),
              
              
              
              array(
                  'name'=>'warnVerify',
                  'desc'=>'Warn users that their captcha entry is wrong',
                  'type'=>'combo-boolean',
                  'options'=>'',
                  'value'=>'1'
              ),
              array(
                  'name'=>'adviseOnVerify',
                  'desc'=>'email errorsTo recipient about bad captcha attempts',
                  'type'=>'combo-boolean',
                  'options'=>'',
                  'value'=>'0'
              ),
              
              
              
              array(
                  'name'=>'logOnVerify',
                  'desc'=>'Log bad captcha attempts',
                  'type'=>'combo-boolean',
                  'options'=>'',
                  'value'=>'0'
              ),
              
              
              array(
                  'name'=>'reportRemoteHost',
                  'desc'=>'Put remote host in x-headers (if there is one).',
                  'type'=>'combo-boolean',
                  'options'=>'',
                  'value'=>'1'
              ),
              
              array(
                  'name'=>'reportRemoteUser',
                  'desc'=>'Put remote user in x-headers (if there is one)',
                  'type'=>'combo-boolean',
                  'options'=>'',
                  'value'=>'1'
              ),
              
              array(
                  'name'=>'reportRemoteAddr',
                  'desc'=>'Put remote host address in x-headers (if there is one)',
                  'type'=>'combo-boolean',
                  'options'=>'',
                  'value'=>'1'
              ),
              
              array(
                  'name'=>'reportRemoteIdent',
                  'desc'=>'Put remote identity in x-headers (if there is one)',
                  'type'=>'combo-boolean',
                  'options'=>'',
                  'value'=>'1'
              ),
              
              array(
                  'name'=>'reportOrigReferer',
                  'desc'=>'Put original referer in x-headers (if there is one)',
                  'type'=>'combo-boolean',
                  'options'=>'',
                  'value'=>'1'
              ),
              
              
              
              
              array(
                  'name'=>'formProcBlankRefOkay',
                  'desc'=>'Allow HTTP REFERER to be blank',
                  'type'=>'combo-boolean',
                  'options'=>'',
                  'value'=>'1'
              ),
              
              
              
              array(
                  'name'=>'adviseOnReferer',
                  'desc'=>'Email errorsTo recipient about invalid referer hits',
                  'type'=>'combo-boolean',
                  'options'=>'',
                  'value'=>'0'
              ),
              
              
              
              array(
                  'name'=>'logOnReferer',
                  'desc'=>'Log invalid referer hits',
                  'type'=>'combo-boolean',
                  'options'=>'',
                  'value'=>'0'
              ),
              
              array(
                  'name'=>'useBanList',
                  'desc'=>'Check every attempt against the Ban List. To use the banlist, manually edit the banlist file: assets/components/spform/banlist.inc.php.',
                  'type'=>'combo-boolean',
                  'options'=>'',
                  'value'=>'0'
              ),
              
              array(
                  'name'=>'warnBanned',
                  'desc'=>'Warn people that they are banned',
                  'type'=>'combo-boolean',
                  'options'=>'',
                  'value'=>'0'
              ),
              
              array(
                  'name'=>'adviseOnBan',
                  'desc'=>'email errorsTo recipient about banned attempts',
                  'type'=>'combo-boolean',
                  'options'=>'',
                  'value'=>'0'
              ),
              
              array(
                  'name'=>'logOnBan',
                  'desc'=>'Log banned attempts',
                  'type'=>'combo-boolean',
                  'options'=>'',
                  'value'=>'0'
              ),
              
              array(
                  'name'=>'chkFormRefNotSelf',
                  'desc'=>'Make sure the referer is not the form itself. Spammers often set the referer to the form itself.',
                  'type'=>'combo-boolean',
                  'options'=>'',
                  'value'=>'1'
              ),
              
              
              
              array(
                  'name'=>'chkFormRefOwnServer',
                  'desc'=>'Make sure request is coming from us. This can cause an intermittent "Disallowed HTTP referer" error if there are different urls for reaching the page or if users come directly to the contact page without visiting another page at the site first.',
                  'type'=>'combo-boolean',
                  'options'=>'',
                  'value'=>'0'
              ),
              
              
              
              array(
                  'name'=>'chkFormRefNotBlank',
                  'desc'=>'Make sure referer is not blank. Use with care because some firewalls and proxies remove the HTTP referer.',
                  'type'=>'combo-boolean',
                  'options'=>'',
                  'value'=>'0'
              )
              
              );
              
              
              $snippet->setProperties($properties);
              $snippet->save();
                Did I help you? Buy me a beer
                Get my Book: MODX:The Official Guide
                MODX info for everyone: http://bobsguides.com/modx.html
                My MODX Extras
                Bob's Guides is now hosted at A2 MODX Hosting
                • 25287
                • 81 Posts
                All fixed. For the record, an uninstall / re-install, then re-assign the correct template (I’m not using base template for email page) to the Contact and Thank you pages fixed the issues.

                The site now seems to be working: www.radiantglory.com

                If I can get a website up and running, anyone can.
                  • 3749
                  • 24,544 Posts
                  Glad to hear it. I wish I knew why it sometimes doesn’t set the properties during the install. tongue

                  Did you have to set any properties yourself to get it working after the new install? It should work out of the box if you told MODx your email address when you ran Setup.
                    Did I help you? Buy me a beer
                    Get my Book: MODX:The Official Guide
                    MODX info for everyone: http://bobsguides.com/modx.html
                    My MODX Extras
                    Bob's Guides is now hosted at A2 MODX Hosting