Hi, I just moved Opencart from local server xampp to cpanel and after being installed the main page is loading correctly with no stlyesheet error while admin panel is not displaying correctly see the image.
https://imgur.com/a/WSsHmr0
I checked the config settings again but couldn't find out the reason!
Need help plz!
Here are admin config settings: https://imgur.com/a/k3mDLCn
Code: Select all
<?php
// HTTP
define('HTTP_SERVER', 'http://');
define('HTTP_CATALOG', 'http://');
// HTTPS
define('HTTPS_SERVER', 'http://????/');
define('HTTPS_CATALOG', 'http:/');
// DIR
define('DIR_APPLICATION', '/home/public_html/admin/');
define('DIR_SYSTEM', '/home/public_html/system/');
define('DIR_IMAGE', '/home/public_html/image/');
define('DIR_STORAGE', DIR_SYSTEM . 'storage/');
define('DIR_CATALOG', '/home/public_html/catalog/');
define('DIR_LANGUAGE', DIR_APPLICATION . 'language/');
define('DIR_TEMPLATE', DIR_APPLICATION . 'view/template/');
define('DIR_CONFIG', DIR_SYSTEM . 'config/');
define('DIR_CACHE', DIR_STORAGE . 'cache/');
define('DIR_DOWNLOAD', DIR_STORAGE . 'download/');
define('DIR_LOGS', DIR_STORAGE . 'logs/');
define('DIR_MODIFICATION', DIR_STORAGE . 'modification/');
define('DIR_SESSION', DIR_STORAGE . 'session/');
define('DIR_UPLOAD', DIR_STORAGE . 'upload/');
// DB
define('DB_DRIVER', 'mysqli');
define('DB_HOSTNAME', 'localhost');
define('DB_USERNAME', '?????');
define('DB_PASSWORD', '?????');
define('DB_DATABASE', '?????');
define('DB_PORT', '3306');
define('DB_PREFIX', 'oc_');
// OpenCart API
define('OPENCART_SERVER', 'https://www.opencart.com/');
Last edited by hamidj on Sat May 25, 2019 8:40 pm, edited 1 time in total.
Probably something like below would work
Ernie
----
ADMIN config.php
ROOT config.php:
[/code]
Ernie
----
ADMIN config.php
Code: Select all
<?php
// HTTP
define('HTTP_SERVER', 'http://unhexpress.com/admin/');
define('HTTP_CATALOG', 'http://unhexpress.com/');
// HTTPS
define('HTTPS_SERVER', 'http://unhexpress.com/admin/');
define('HTTPS_CATALOG', ''http://unhexpress.com/');
// DIR
define('DIR_APPLICATION', '/home/unheucjt/public_html/admin/');
define('DIR_SYSTEM', '/home/unheucjt/public_html/system/')
Code: Select all
// HTTP
define('HTTP_SERVER', 'http://unhexpress.com/');
// HTTPS
define('HTTPS_SERVER', 'http://unhexpress.com/');
// DIR
define('DIR_APPLICATION', '/home/unheucjt/public_html/catalog/');
define('DIR_SYSTEM', '/home/unheucjt/public_html/system/');
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.
As you see...hamidj wrote: ↑Sun Nov 25, 2018 7:19 amCode: Select all
<?php // HTTP define('HTTPS_SERVER', 'http://unhexpress.com/????/'); // DIR define('DIR_APPLICATION', '/home/unheucjt/public_html/admin/');
In define section admin folder was renamed but in //DIR section not
Upgrade Service | OC 2.3.0.2 PHP 8 | My Custom OC 3.0.3.8 | Buy me a beer
I had this issue with my websites several times and the problem came from Google Pagespeed extension in my cPanel. I solved this by adding the following code to my .htaccess root file.
Code: Select all
ModPagespeedDisableFilters combine_css
Who is online
Users browsing this forum: No registered users and 522 guests