Problem Description
- After completing a clone of a Joomla install from one folder or domain to another, you cannot login even as the super admin.
- 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.
- var $user = 'Database Password';
- var $db = 'Database Name';
- var $dbprefix = 'Table Prefix';
- var $password = 'Database Password';