If this tutorial is not what you were looking for, you still have any questions, suggestions or concerns - feel free to let us know. Please help us to serve you better!

Your Name

Your Email

Your Message (required)

captcha

OpenCart Troubleshooter. How to solve the issue with admin panel redirecting to installation

This tutorial shows how to solve the issue with admin panel redirecting to Opencart installation.

OpenCart Troubleshooter. How to solve the issue with admin panel redirecting to installation

Sometimes installation window appears when trying to get into the admin panel of the Opencart store. The reason is most likely about /admin/config.php file. The one either has wrong permissions, or contains no data. The following steps should be performed to resolve the issue:

I. Incorrect permissions

  1. Open server files (using either hosting cPanel, or FTP account) and access ‘admin’ folder.

  2. Locate ‘config.php’ file. Change its permissions to be 644 or 666.

II. Empty /admin/config.php file

  1. Open server files (using either hosting cPanel, or FTP account) and access ‘admin’ folder.

  2. Locate ‘config.php’ file and open it to view its content. Most likely it will be empty or incomplete.

  3. You should place the required content into the file. It has to contain store links and database specification. You can use the example config.php file. To get file applied properly for your own store, the following updates are required:

    1. Open example file with any HTML editor and replace all instances of your_website_url.here with the actual URL of your website (without www).

      NOTE: If template is installed to the subfolder, its title should be mentioned for all directories as well:

      define('HTTP_SERVER', 'http://your_websiteurl.here/subfolder/admin/');
    2. Directories for files are specified here as well. Therefore all instances of full_server_files_directory should be replaced with the actual path to your site files in the server. Open config.php file in the root to copy valid path (f.e., full_server_files_directory should be replaced with home3/mgreen/public_html/judy).

    3. Specify the database information (DB driver, DB hostname, DB name, DB user, and DB password). Corresponding details can be taken from the ‘config.php’ file in the root.

  4. Update the /admin/config.php file once all updates are completed.

  5. Get back to the root server files now. Find ‘Install’ folder there. This should be renamed/ or removed to prevent reinstallation.

If you check the admin directory now, you should get it working properly. Now you know how to solve the issue with admin panel redirecting to installation in OpenCart.

Feel free to check the detailed video tutorial below:

OpenCart Troubleshooter. How to solve the issue with admin panel redirecting to installation