php - Can't access Opencart backend -


i can't login opencart admin panel because when navigate www.mysite.com/admin redirecting home page. have disabled .htaccess file , php.ini file. can see config file, hosting on subdomain maybe cause of problem, not sure. here config.php

    <?php     // http     define('http_server', 'http://inaden.360mustang.com/');      // https     define('https_server', 'http://inaden.360mustang.com/');      // dir     define('dir_application', '/home/mustang/public_html/inaden/catalog/');     define('dir_system', '/home/mustang/public_html/inaden/system/');     define('dir_language', '/home/mustang/public_html/inaden/catalog/language/');     define('dir_template', '/home/mustang/public_html/inaden/catalog/view/theme/');     define('dir_config', '/home/mustang/public_html/inaden/system/config/');     define('dir_image', '/home/mustang/public_html/inaden/image/');     define('dir_cache', '/home/mustang/public_html/inaden/system/cache/');     define('dir_download', '/home/mustang/public_html/inaden/system/download/');     define('dir_upload', '/home/mustang/public_html/inaden/system/upload/');     define('dir_modification', '/home/mustang/public_html/inaden/system/modification/');     define('dir_logs', '/home/mustang/public_html/inaden/system/logs/'); //database details omitted ?> 

and here admin/config.php

<?php // http define('http_server', 'http://inaden.360mustang.com/admin/'); define('http_catalog', 'http://inaden.360mustang.com/');  // https define('https_server',  'http://inaden.360mustang.com/admin/'); define('https_catalog', 'http://inaden.360mustang.com/');  // dir define('dir_application', '/home/mustang/public_html/inaden/admin/'); define('dir_system', '/home/mustang/public_html/inaden/system/'); define('dir_language', '/home/mustang/public_html/inaden/admin/language/'); define('dir_template', '/home/mustang/public_html/inaden/admin/view/template/'); define('dir_config', '/home/mustang/public_html/inaden/system/config/'); define('dir_image', '/home/mustang/public_html/inaden/image/'); define('dir_cache', '/home/mustang/public_html/inaden/system/cache/'); define('dir_download', '/home/mustang/public_html/inaden/system/download/'); define('dir_upload', '/home/mustang/public_html/inaden/system/upload/'); define('dir_logs', '/home/mustang/public_html/inaden/system/logs/'); define('dir_modification', '/home/mustang/public_html/inaden/system/modification/'); define('dir_catalog', '/home/mustang/public_html/inaden/catalog/');  //database details omitted  ?> 

i've had problem also, after investigating noticed there file in admin/config.php has been added security , allow ip address access admin area. after editing them accordingly had access admin area once again. leave code in security purposes.


Comments

Popular posts from this blog

How to show in django cms breadcrumbs full path? -

php - Invalid Cofiguration - yii\base\InvalidConfigException - Yii2 -

ruby on rails - npm error: tunneling socket could not be established, cause=connect ETIMEDOUT -