We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 12043
    • 10 Posts
    I just tried to upload the site I had built in Revo on my local machine to godaddy. I had made sure to keep the packages and config file from my local installation and uploaded the mysql database. I needed to do an advanced upgrade/install to change the database connection but it won’t even test the connection. I just get nothing when I click the link to do so. Any ideas?

    Is it possible to go into the database and change the connection setting manually and do a simple upgrade to bypass the issue? I made sure my browser wasn’t at fault.
      • 22303 MODX Staff
      • 10,725 Posts
      In order to do an upgrade, you’ll need to edit the config.inc.php file with the new settings on your GoDaddy account. Then run the upgrade...
        • 12043
        • 10 Posts
        OH! ok let me give that a try
          • 12043
          • 10 Posts
          It connected to the database but the install didn’t work, got this error message when I tried to login, did I alter the file incorrectly? I had to change the paths to certain resources.

          Fatal error: require() [function.require]: Failed opening required '/manager/controllers/default/security/login.php' (include_path='.:/usr/local/php5/lib/php') in /home/content/56/7703556/html/core/model/modx/modmanagerrequest.class.php on line 104


          Here is the part of the config file I altered, I changed the database info of course. Thanks for any help you can give me sad

          $database_type = 'mysql';
          $database_server = 'Hostname';
          $database_user = 'Username';
          $database_password = 'Password';
          $database_connection_charset = 'latin1';
          $dbase = 'Database name';
          $table_prefix = 'modx_';
          $database_dsn = 'mysql:host=ohmedcannrevo.db.7703556.hostedresource.com;dbname=ohmedcannrevo;charset=latin1';
          $config_options = array (
          );
          
          $lastInstallTime = 1307058685;
          
          $site_id = 'modx4de821fd504118.22498931';
          $site_sessionname = 'SN4de7fa7c84842';
          $https_port = '443';
          $uuid = '42157738-93ee-405c-9219-194e25afa4ae';
          
          if (!defined('MODX_CORE_PATH')) {
              $modx_core_path= '/core/';
              define('MODX_CORE_PATH', $modx_core_path);
          }
          if (!defined('MODX_PROCESSORS_PATH')) {
              $modx_processors_path= '/core/model/modx/processors/';
              define('MODX_PROCESSORS_PATH', $modx_processors_path);
          }
          if (!defined('MODX_CONNECTORS_PATH')) {
              $modx_connectors_path= '/connectors/';
              $modx_connectors_url= '/connectors/';
              define('MODX_CONNECTORS_PATH', $modx_connectors_path);
              define('MODX_CONNECTORS_URL', $modx_connectors_url);
          }
          if (!defined('MODX_MANAGER_PATH')) {
              $modx_manager_path= '/manager/';
              $modx_manager_url= '/manager/';
              define('MODX_MANAGER_PATH', $modx_manager_path);
              define('MODX_MANAGER_URL', $modx_manager_url);
          }
          if (!defined('MODX_BASE_PATH')) {
              $modx_base_path= '/';
              $modx_base_url= '/';
              define('MODX_BASE_PATH', $modx_base_path);
              define('MODX_BASE_URL', $modx_base_url);
            • 22303 MODX Staff
            • 10,725 Posts
            The path variables have to be absolute paths from the server root.