I can't access my Opencart admin panel for my website. I clicked clear cache in system in admin panel.after that admin panel is not opening. I try to login to the admin page i always get stuck.. It shows no errors if i try with correct username / password.
and i using OC 2.2.0.0 (i gone through some solutions but it wont work for me.)
My config.php is:
<?php
// HTTP
define('HTTP_SERVER', 'https://www.abcd.com/admin/');
define('HTTP_CATALOG', 'https://www.abcd.com/');
// HTTPS
define('HTTPS_SERVER', 'https://www.abcd.com/admin/');
define('HTTPS_CATALOG', 'https://www.abcd.com/');
// DIR
define('DIR_APPLICATION', '/home/abcd/public_html/admin/');
define('DIR_SYSTEM', '/home/abcd/public_html/system/');
define('DIR_IMAGE', '/home/abcd/public_html/image/');
define('DIR_LANGUAGE', '/home/abcd/public_html/admin/language/');
define('DIR_TEMPLATE', '/home/abcd/public_html/admin/view/template/');
define('DIR_CONFIG', '/home/abcd/public_html/system/config/');
define('DIR_CACHE', '/home/abcd/public_html/system/storage/cache/');
define('DIR_DOWNLOAD', '/home/abcd/public_html/system/storage/download/');
define('DIR_LOGS', '/home/abcd/public_html/system/storage/logs/');
define('DIR_MODIFICATION', '/home/abcd/public_html/system/storage/modification/');
define('DIR_UPLOAD', '/home/abcd/public_html/system/storage/upload/');
define('DIR_CATALOG', '/home/abcd/public_html/catalog/');
// DB
define('DB_DRIVER', 'mysqli');
define('DB_HOSTNAME', 'localhost');
define('DB_USERNAME', 'xxxxxx');
define('DB_PASSWORD', 'xxxx');
define('DB_DATABASE', 'xxxxx');
define('DB_PORT', 'xxx');
define('DB_PREFIX', 'jg_');
and my .htaccess files is
# 1.To use URL Alias you need to be running apache with mod_rewrite enabled.
# 2. In your opencart directory rename htaccess.txt to .htaccess.
# For any support issues please visit: http://www.opencart.com
Options +FollowSymlinks
RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://www.abcd.com/$1 [R=301,L]
# Prevent Directoy listing
Options -Indexes
# Prevent Direct Access to files
<FilesMatch "(?i)((\.tpl|\.ini|\.log|(?<!robots)\.txt))">
Order deny,allow
Deny from all
</FilesMatch>
# SEO URL Settings
RewriteEngine On
# If your opencart installation does not run on the main web folder make sure you folder it does run in ie. / becomes /shop/
RewriteBase /
RewriteCond %{REQUEST_URI} !^/[0-9]+\..+\.cpaneldcv$
RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
RewriteRule ^sitemap.xml$ index.php?route=feed/google_sitemap [L]
RewriteCond %{REQUEST_URI} !^/[0-9]+\..+\.cpaneldcv$
RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
RewriteRule ^googlebase.xml$ index.php?route=feed/google_base [L]
RewriteCond %{REQUEST_URI} !^/[0-9]+\..+\.cpaneldcv$
RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
RewriteRule ^system/download/(.*) index.php?route=error/not_found [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !.*\.(ico|gif|jpg|jpeg|png|js|css)
RewriteCond %{REQUEST_URI} !^/[0-9]+\..+\.cpaneldcv$
RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
RewriteRule ^([^?]*) index.php?_route_=$1 [L,QSA]
### Additional Settings that may need to be enabled for some servers
### Uncomment the commands by removing the # sign in front of it.
### If you get an "Internal Server Error 500" after enabling any of the following settings, restore the # as this means your host doesn't allow that.
# 1. If your cart only allows you to add one item at a time, it is possible register_globals is on. This may work to disable it:
# php_flag register_globals off
# 2. If your cart has magic quotes enabled, This may work to disable it:
# php_flag magic_quotes_gpc Off
# 3. Set max upload file size. Most hosts will limit this and not allow it to be overridden but you can try
# php_value upload_max_filesize 999M
# 4. set max post size. uncomment this line if you have a lot of product options or are getting errors where forms are not saving all fields
# php_value post_max_size 999M
# 5. set max time script can take. uncomment this line if you have a lot of product options or are getting errors where forms are not saving all fields
# php_value max_execution_time 200
# 6. set max time for input to be recieved. Uncomment this line if you have a lot of product options or are getting errors where forms are not saving all fields
# php_value max_input_time 200
# 7. disable open_basedir limitations
# php_admin_value open_basedir none
PLEASE HELP me with some advice,
Thank you.
Well, did you try to use OC with a .htaccess file enabled ?
Or then, without all that NON OC Code in the .htaccess file ?
Ernie
Or then, without all that NON OC Code in the .htaccess file ?
Ernie
My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
Well, I have no intentions, I just realize, that you use FOREIGN Code in
your OC .htaccess file, and this might be the reason for malfunction.
So, better get a VIRGIN OC .htaccess file, and try again, if you Shop works.
Ernie
your OC .htaccess file, and this might be the reason for malfunction.
So, better get a VIRGIN OC .htaccess file, and try again, if you Shop works.
Ernie
My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
Hi,
Thanks for your quick reply.
but it wont work foe me.
after login in admin panel , i got following error.
This page isn’t working
www.abcd.com is currently unable to handle this request.
HTTP ERROR 500
Thanks for your quick reply.
but it wont work foe me.
after login in admin panel , i got following error.
This page isn’t working
www.abcd.com is currently unable to handle this request.
HTTP ERROR 500
Hi,
my problem was solved.
solution is :
Just i am print error in my page (added following code in /catalog/admin/index.php)
error_reporting(E_ALL);
ini_set('display_errors', 1);
and got error due to installed extension through vqmod, just i am cleared vqmod cache, its working
my problem was solved.
solution is :
Just i am print error in my page (added following code in /catalog/admin/index.php)
error_reporting(E_ALL);
ini_set('display_errors', 1);
and got error due to installed extension through vqmod, just i am cleared vqmod cache, its working
Who is online
Users browsing this forum: No registered users and 8 guests