Post by straightlight » Fri Oct 27, 2017 7:55 pm

See if your system/library/db folder does actually exist and if you do see the mpdo.php and mysqli.php files ...

The most generated errors being found on Opencart forum originates from contributed programming.

Regards,
Straightlight


Guru Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by esprit1st » Fri Oct 27, 2017 10:25 pm

There is no such folder in the 1.5.6.4 installation. However, it is in the 2.2.0.0 update. So I uploaded the 2.2 files, then uploaded the upgrade improvement, then switched the db-driver to mpdo. Then ran the update. Still, the same undefined error message after it finished the 1000 fine.
I am still not getting any errors in the logfiles during the update.
After the interrupted update I get this message in the browser when I load the shop homepage:
Error: A theme has not been assigned to this store!
and these error messages in the log:

Code: Select all

[Fri Oct 27 16:18:39.732030 2017] [:error] [pid 12439] PHP Notice:  Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in opencart/shop/system/startup.php on line 70
[Fri Oct 27 16:18:39.732073 2017] [:error] [pid 12439] PHP Notice:  Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in opencart/shop/system/startup.php on line 76
[Fri Oct 27 16:18:39.732099 2017] [:error] [pid 12439] PHP Notice:  Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in opencart/shop/system/startup.php on line 70
[Fri Oct 27 16:18:39.732113 2017] [:error] [pid 12439] PHP Notice:  Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in opencart/shop/system/startup.php on line 76
[Fri Oct 27 16:18:39.732130 2017] [:error] [pid 12439] PHP Notice:  Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in opencart/shop/system/startup.php on line 70
[Fri Oct 27 16:18:39.732144 2017] [:error] [pid 12439] PHP Notice:  Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in opencart/shop/system/startup.php on line 76
[Fri Oct 27 16:18:39.732160 2017] [:error] [pid 12439] PHP Notice:  Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in opencart/shop/system/startup.php on line 70
[Fri Oct 27 16:18:39.732170 2017] [:error] [pid 12439] PHP Notice:  Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in opencart/shop/system/startup.php on line 76
[Fri Oct 27 16:18:39.732186 2017] [:error] [pid 12439] PHP Notice:  Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in opencart/shop/system/startup.php on line 70
[Fri Oct 27 16:18:39.732213 2017] [:error] [pid 12439] PHP Notice:  Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in opencart/shop/system/startup.php on line 76
[Fri Oct 27 16:18:39.732231 2017] [:error] [pid 12439] PHP Notice:  Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in opencart/shop/system/startup.php on line 70
[Fri Oct 27 16:18:39.732241 2017] [:error] [pid 12439] PHP Notice:  Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in opencart/shop/system/startup.php on line 76
[Fri Oct 27 16:18:39.732257 2017] [:error] [pid 12439] PHP Notice:  Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in opencart/shop/system/startup.php on line 70
[Fri Oct 27 16:18:39.732266 2017] [:error] [pid 12439] PHP Notice:  Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in opencart/shop/system/startup.php on line 76
[Fri Oct 27 16:18:39.732284 2017] [:error] [pid 12439] PHP Notice:  Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in opencart/shop/system/startup.php on line 70
[Fri Oct 27 16:18:39.732293 2017] [:error] [pid 12439] PHP Notice:  Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in opencart/shop/system/startup.php on line 76
[Fri Oct 27 16:18:39.732362 2017] [:error] [pid 12439] PHP Notice:  Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in opencart/shop/system/startup.php on line 70
[Fri Oct 27 16:18:39.732376 2017] [:error] [pid 12439] PHP Notice:  Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in opencart/shop/system/startup.php on line 76
[Fri Oct 27 16:18:39.732440 2017] [:error] [pid 12439] PHP Notice:  Use of undefined constant DB_PORT - assumed 'DB_PORT' in opencart/shop/system/config/catalog.php on line 13
[Fri Oct 27 16:18:39.732467 2017] [:error] [pid 12439] PHP Notice:  Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in opencart/shop/system/startup.php on line 70
[Fri Oct 27 16:18:39.732478 2017] [:error] [pid 12439] PHP Notice:  Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in opencart/shop/system/startup.php on line 76
[Fri Oct 27 16:18:39.732585 2017] [:error] [pid 12439] PHP Notice:  Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in opencart/shop/system/startup.php on line 70
[Fri Oct 27 16:18:39.732600 2017] [:error] [pid 12439] PHP Notice:  Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in opencart/shop/system/startup.php on line 76
[...]
(removed the rest of the same errors from above)
Thanks so much for your help! I hope we'll find out whats wrong here.

Newbie

Posts

Joined
Sun Feb 17, 2013 6:57 am

Post by straightlight » Fri Oct 27, 2017 10:30 pm

Follow these instructions: viewtopic.php?f=199&t=198781&p=699560&h ... ON#p699560 and ensure to add each of the mentioned definitions missing into your config.php and admin/config.php file.

The most generated errors being found on Opencart forum originates from contributed programming.

Regards,
Straightlight


Guru Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by esprit1st » Sat Oct 28, 2017 11:41 pm

Just followed the post as suggested. Same behavior as before. :(

Newbie

Posts

Joined
Sun Feb 17, 2013 6:57 am

Post by straightlight » Sat Oct 28, 2017 11:50 pm

Then, you need to switch your DIR_MODIFICATION path to the new destination where Opencart has moved it from the admin dashboard form. If the path has already been moved and this error still persists, which I don't doubt, then specify the original path of: system/storage folder . This should resolved the problem.

The most generated errors being found on Opencart forum originates from contributed programming.

Regards,
Straightlight


Guru Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON
Who is online

Users browsing this forum: No registered users and 13 guests