Post by robchef » Sat Apr 22, 2017 6:59 pm

hope someone can help me i change my site to a new server hompage load up but when i got to admin page im getting this error Opencart OCMod config.php error detected.
Your config.php file creates a conflict with OCMod, probably caused by 1-click Opencart installers.

Solution: Edit config.php from your Opencart root installation and replace all lines of code found after:

//DIR

and before:

//DB

with the following:

// DIR
define('DIR_ROOT' , '/home/bdaecdsi/public_html/');
define('DIR_APPLICATION' , DIR_ROOT . 'catalog/');
define('DIR_SYSTEM' , DIR_ROOT . 'system/');
define('DIR_LANGUAGE' , DIR_ROOT . 'catalog/language/');
define('DIR_TEMPLATE' , DIR_ROOT . 'catalog/view/theme/');
define('DIR_CONFIG' , DIR_ROOT . 'system/config/');
define('DIR_IMAGE' , DIR_ROOT . 'image/');
define('DIR_CACHE' , DIR_ROOT . 'system/storage/cache/');
define('DIR_DOWNLOAD' , DIR_ROOT . 'system/storage/download/');
define('DIR_UPLOAD' , DIR_ROOT . 'system/storage/upload/');
define('DIR_LOGS' , DIR_ROOT . 'system/storage/logs/');
define('DIR_MODIFICATION' , DIR_ROOT . 'system/storage/modification/');

i tryed what it say to do but it still load up with the same error i changed the config.php on my server the one that on the main server and not the one in admin config.php as it has diferent dir in that on please advise
Ps im running opencart 2.1.0.2 and journal 2

Active Member

Posts

Joined
Tue Jun 04, 2013 9:56 pm
Who is online

Users browsing this forum: No registered users and 2 guests