Post by usnei » Tue Jul 07, 2015 11:26 am

請問我更新opencart 版本時 1.5.21 -> 2.0.3.1

出現以下錯誤訊息

有人可以告訴我該如何排除嗎

似乎都是 DIR_MODIFICATION 沒有定義

/var/www/html/system/startup.php on line 51Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in /var/www/html/system/startup.php on line 57Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in /var/www/html/system/startup.php on line 51Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in /var/www/html/system/startup.php on line 57Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in /var/www/html/system/startup.php on line 51Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in /var/www/html/system/startup.php on line 57Warning: Division by zero in /var/www/html/catalog/controller/product/category.php on line 350

Newbie

Posts

Joined
Thu Jan 08, 2015 10:56 am

Post by usnei » Thu Jul 23, 2015 11:56 am

自問自答
vi config.php
define('DIR_MODIFICATION', '/var/www/html/system/modification/');

vi admin/config.php

define('DIR_MODIFICATION', '/var/www/html/system/modification/');


但是Warning: Division by zero in /var/www/html/catalog/controller/product/category.php on line 350 還找不到該怎麼解

看有沒有人能給點意見了 感謝

Newbie

Posts

Joined
Thu Jan 08, 2015 10:56 am
Who is online

Users browsing this forum: No registered users and 2 guests