After cloning a Joomla install, I cannot login to the admin or the site isn't loading properly Print

  • 0

Problem Description

  1. After completing a clone of a Joomla install from one folder or domain to another, you cannot login even as the super admin.
  2. After cloning a Joomla install, portions of the site are inaccessible or simply not showing.

Problem Resolution

There are a few things to look out for after cloning your Joomla install. The most important of which is that the configuration.php file is updated with the correct information. In some cases the 1-click web apps utility is unable to edit that file, causing some issues like accessing the wrong (old installation's) database and potentially files as well. Open up configuration.php for editing and be sure to change the following options so they reflect the new location:

  • var $log_path = '/var/www/vhosts/yourdomain.com/subfolder/logs';
  • var $tmp_path = '/var/www/vhosts/yourdomain.com/subfolder/tmp';
  • var $live_site = 'http://www.yourdomain.com';
Be sure to replace yourdomain.com with your actual domain name. You don't need to use a subfolder, but this does need to correspond with wherever you've installed Joomla, so if you have it installed in httpdocs (default for Plesk 9), be sure to enter that. With Plesk 10, you normally get to specify the subfolder, so be sure to enter whatever that subfolder is in the configuration.php file.

Once that's complete, you will also want to double check to make sure the new database information is entered. In the 1-click web apps utility in Plesk, choose the "View/Edit Details" button corresponding with your newly cloned Joomla install. Scroll to the section that shows the database info and make sure the following options in configuration.php are the same as the values shown in the 1-click web apps utility:
  • var $user = 'Database Password';
  • var $db = 'Database Name';
  • var $dbprefix = 'Table Prefix';
  • var $password = 'Database Password';

It's recommend to check any other configuration file you might have from installed plugins. Be sure to consult the documentation for each plugin for details on the location of their configuration files.

Was this answer helpful?

← Back