sw!tch wrote: ↑Mon Oct 19, 2020 8:05 am
You should not be setting 777 permissions! Contact your web host to help resolve the file folder permission on your account. Could be improper user / group permissions as well.
Double check the storage folder path is correct in your config.php and admin/config.php
config.php in htdocs(DB username and password deleted)
// HTTP
define('HTTP_SERVER', '
https://baiyaner.com/');
// HTTPS
define('HTTPS_SERVER', '
https://baiyaner.com/');
// DIR
define('DIR_APPLICATION', '/var/www/baiyaner.com/htdocs/catalog/');
define('DIR_SYSTEM', '/var/www/baiyaner.com/htdocs/system/');
define('DIR_IMAGE', '/var/www/baiyaner.com/htdocs/image/');
define('DIR_STORAGE', '/var/www/baiyaner.com/storage/');
define('DIR_LANGUAGE', DIR_APPLICATION . 'language/');
define('DIR_TEMPLATE', DIR_APPLICATION . 'view/theme/');
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_');
Config in admin
<?php
// HTTP
define('HTTP_SERVER', '
https://baiyaner.com/admin/');
define('HTTP_CATALOG', '
https://baiyaner.com/');
// HTTPS
define('HTTPS_SERVER', '
https://baiyaner.com/admin/');
define('HTTPS_CATALOG', '
https://baiyaner.com/');
// DIR
define('DIR_APPLICATION', '/var/www/baiyaner.com/htdocs/admin/');
define('DIR_SYSTEM', '/var/www/baiyaner.com/htdocs/system/');
define('DIR_IMAGE', '/var/www/baiyaner.com/htdocs/image/');
define('DIR_STORAGE', '/var/www/baiyaner.com/storage/');
define('DIR_CATALOG', '/var/www/baiyaner.com/htdocs/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/');
Storage directory is correct: http://prntscr.com/v1ymno
By the way, I think there is also another issue: Invalid token session. Please login again.
Screenshot:
http://prntscr.com/v1ylx9
Thanks