Hello,
I`ve been trying to install opencart on xampp to make some tests.
After i`ve put the database and files in xampp folder, while using localhost I see this error:
Fatal error: Uncaught Error: Undefined constant "DIR_SYSTEM" in C:\xamppp\htdocs\esklep\index.php:137 Stack trace: #0 {main} thrown in C:\xamppp\htdocs\esklep\index.php on line 137
I`ve been trying to install opencart on xampp to make some tests.
After i`ve put the database and files in xampp folder, while using localhost I see this error:
Fatal error: Uncaught Error: Undefined constant "DIR_SYSTEM" in C:\xamppp\htdocs\esklep\index.php:137 Stack trace: #0 {main} thrown in C:\xamppp\htdocs\esklep\index.php on line 137
Try to check your config.php make sure every path is correct.ituzd wrote: ↑Thu Apr 18, 2024 5:23 pmHello,
I`ve been trying to install opencart on xampp to make some tests.
After i`ve put the database and files in xampp folder, while using localhost I see this error:
Fatal error: Uncaught Error: Undefined constant "DIR_SYSTEM" in C:\xamppp\htdocs\esklep\index.php:137 Stack trace: #0 {main} thrown in C:\xamppp\htdocs\esklep\index.php on line 137
HP Web Design
Powering Digital Commerce | http://hpwebdesign.io | http://opencart.id
Opencart Professional Services | Create OpenCart Online Store | OpenCart Tutorials
Which config.php? There's a dozen of config.php files inside xampp folder. I have the same issue and it is extremely frustraiting for someone who's not technically literate.Try to check your config.php make sure every path is correct.
Thank you. In my case the problem was in permissions. I had no access to write into the opencart folder. It only worked when I set permissions to everyone. For some reason just for admin or mysql users wasn't enough.
Thanks for getting back with your solution.
DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.
https://www.youtube.com/watch?v=zXIxDoCRc84
Who is online
Users browsing this forum: No registered users and 1 guest