Hello.
I upgraded my Opencart to the newest version and I get this error:
Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in /home/jaddbrax/public_html/system/startup.php on line 51
Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in /home/jaddbrax/public_html/system/startup.php on line 57
Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in /home/jaddbrax/public_html/system/startup.php on line 51
Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in /home/jaddbrax/public_html/system/startup.php on line 57
Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in /home/jaddbrax/public_html/system/startup.php on line 51
Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in /home/jaddbrax/public_html/system/startup.php on line 57
Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in /home/jaddbrax/public_html/system/startup.php on line 51
Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in /home/jaddbrax/public_html/system/startup.php on line 57
Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in /home/jaddbrax/public_html/system/startup.php on line 51
Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in /home/jaddbrax/public_html/system/startup.php on line 57
Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in /home/jaddbrax/public_html/system/startup.php on line 51
Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in /home/jaddbrax/public_html/system/startup.php on line 57
Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in /home/jaddbrax/public_html/system/startup.php on line 51
Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in /home/jaddbrax/public_html/system/startup.php on line 57
Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in /home/jaddbrax/public_html/system/startup.php on line 51
Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in /home/jaddbrax/public_html/system/startup.php on line 57
Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in /home/jaddbrax/public_html/system/startup.php on line 51
Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in /home/jaddbrax/public_html/system/startup.php on line 57
Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in /home/jaddbrax/public_html/system/startup.php on line 51
Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in /home/jaddbrax/public_html/system/startup.php on line 57
Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in /home/jaddbrax/public_html/system/startup.php on line 51
Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in /home/jaddbrax/public_html/system/startup.php on line 57
Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in /home/jaddbrax/public_html/system/startup.php on line 51
Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in /home/jaddbrax/public_html/system/startup.php on line 57
Then the regular screen appears. If I try to login as admin, when it lets me in, I just get this list of errors (the same one as above). Help.
I upgraded my Opencart to the newest version and I get this error:
Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in /home/jaddbrax/public_html/system/startup.php on line 51
Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in /home/jaddbrax/public_html/system/startup.php on line 57
Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in /home/jaddbrax/public_html/system/startup.php on line 51
Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in /home/jaddbrax/public_html/system/startup.php on line 57
Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in /home/jaddbrax/public_html/system/startup.php on line 51
Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in /home/jaddbrax/public_html/system/startup.php on line 57
Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in /home/jaddbrax/public_html/system/startup.php on line 51
Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in /home/jaddbrax/public_html/system/startup.php on line 57
Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in /home/jaddbrax/public_html/system/startup.php on line 51
Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in /home/jaddbrax/public_html/system/startup.php on line 57
Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in /home/jaddbrax/public_html/system/startup.php on line 51
Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in /home/jaddbrax/public_html/system/startup.php on line 57
Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in /home/jaddbrax/public_html/system/startup.php on line 51
Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in /home/jaddbrax/public_html/system/startup.php on line 57
Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in /home/jaddbrax/public_html/system/startup.php on line 51
Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in /home/jaddbrax/public_html/system/startup.php on line 57
Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in /home/jaddbrax/public_html/system/startup.php on line 51
Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in /home/jaddbrax/public_html/system/startup.php on line 57
Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in /home/jaddbrax/public_html/system/startup.php on line 51
Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in /home/jaddbrax/public_html/system/startup.php on line 57
Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in /home/jaddbrax/public_html/system/startup.php on line 51
Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in /home/jaddbrax/public_html/system/startup.php on line 57
Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in /home/jaddbrax/public_html/system/startup.php on line 51
Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in /home/jaddbrax/public_html/system/startup.php on line 57
Then the regular screen appears. If I try to login as admin, when it lets me in, I just get this list of errors (the same one as above). Help.
Yes, the upgrading routine is not quite ready yet. That's why this happens.
To fix it, you need to "define" DIR_MODIFICATION in your config.php files.
- Open both your "config.php" files from your server in a text editor (Notepad++);
- Add the following line in both of them:
- upload back your 2 "config.php" modified.
I haven't really tested but it should resolve the errors.
To fix it, you need to "define" DIR_MODIFICATION in your config.php files.
- Open both your "config.php" files from your server in a text editor (Notepad++);
- Add the following line in both of them:
Code: Select all
define('DIR_MODIFICATION', '/public_html/system/modification/');
I haven't really tested but it should resolve the errors.
OpenCart custom solutions @ https://villagedefrance.net
Thanks! That fixed it!villagedefrance wrote:Yes, the upgrading routine is not quite ready yet. That's why this happens.
To fix it, you need to "define" DIR_MODIFICATION in your config.php files.
- Open both your "config.php" files from your server in a text editor (Notepad++);
- Add the following line in both of them:- upload back your 2 "config.php" modified.Code: Select all
define('DIR_MODIFICATION', '/public_html/system/modification/');
I haven't really tested but it should resolve the errors.
Code: Select all
Notice: Use of undefined constant DIR_STORAGE - assumed 'DIR_STORAGE' in /home/gup3rseewesa/public_html/system/startup.php on line 63
Warning: require_once(DIR_STORAGEvendor/autoload.php): failed to open stream: No such file or directory in /home/gup3rseewesa/public_html/system/startup.php on line 63
Fatal error: require_once(): Failed opening required 'DIR_STORAGEvendor/autoload.php' (include_path='.:/opt/alt/php71/usr/share/pear') in /home/gup3rseewesa/public_html/system/startup.php on line 63
See this post: viewtopic.php?f=199&t=198781&p=699560#p699560 .qasimabbas209 wrote: ↑Wed Jun 24, 2020 4:19 amsame error please give me a anwser.Code: Select all
Notice: Use of undefined constant DIR_STORAGE - assumed 'DIR_STORAGE' in /home/gup3rseewesa/public_html/system/startup.php on line 63 Warning: require_once(DIR_STORAGEvendor/autoload.php): failed to open stream: No such file or directory in /home/gup3rseewesa/public_html/system/startup.php on line 63 Fatal error: require_once(): Failed opening required 'DIR_STORAGEvendor/autoload.php' (include_path='.:/opt/alt/php71/usr/share/pear') in /home/gup3rseewesa/public_html/system/startup.php on line 63
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Who is online
Users browsing this forum: No registered users and 55 guests