It was all fine yesterday and in the morning as well. and I didn't do anything, didn't touch anything, but when I refreshed it to make the login, this error came up. The Webhoster is telling me, they are only responsible if CPanel, phpMyAdmin, is not working. He is telling me that it is some kind of my Opencart libraries' problem. Please help me and guide me to solve this:
Fatal error: Uncaught Error: Class 'mysqli' not found in /home/edengears/public_html/system/library/db/mysqli.php:7 Stack trace: #0 /home/edengears/storage2/modification/system/library/db.php(35): DB\MySQLi->_construct('localhost', 'db_name', 'db_password', 'edengear_openca...', '3306') #1 /home/edengears/public_html/system/framework.php(80): DB->_construct('mysqli', 'localhost', 'db_name', 'db_password', 'edengear_openca...', '3306') #2 /home/edengears/public_html/system/startup.php(104): require_once('/home/edengears...') #3 /home/edengears/public_html/admin/index.php(19): start('admin') #4 {main} thrown in /home/edengears/public_html/system/library/db/mysqli.php on line 7
Attachments
front-end.png (95.03 KiB) Viewed 3661 times
opencart-admin.png (99.83 KiB) Viewed 3661 times
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Are you using any cron jobs on your domain right now? See this post about it: viewtopic.php?t=222219#p812365 .ameem wrote: ↑Tue Aug 24, 2021 10:46 pmSorry, I forgot to mention that as I am so stressed with the problem.straightlight wrote: ↑Tue Aug 24, 2021 10:41 pmOC version. Identified as 3306 in the logs but the current version is not provided.
It's OC: 3.0.3.3
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Hi ameem,ameem wrote: ↑Tue Aug 24, 2021 10:00 pmOpencart Version: 3.0.3.3
It was all fine yesterday and in the morning as well. and I didn't do anything, didn't touch anything, but when I refreshed it to make the login, this error came up. The Webhoster is telling me, they are only responsible if CPanel, phpMyAdmin, is not working. He is telling me that it is some kind of my Opencart libraries' problem. Please help me and guide me to solve this:
Fatal error: Uncaught Error: Class 'mysqli' not found in /home/edengears/public_html/system/library/db/mysqli.php:7 Stack trace: #0 /home/edengears/storage2/modification/system/library/db.php(35): DB\MySQLi->_construct('localhost', 'db_name', 'db_password', 'edengear_openca...', '3306') #1 /home/edengears/public_html/system/framework.php(80): DB->_construct('mysqli', 'localhost', 'db_name', 'db_password', 'edengear_openca...', '3306') #2 /home/edengears/public_html/system/startup.php(104): require_once('/home/edengears...') #3 /home/edengears/public_html/admin/index.php(19): start('admin') #4 {main} thrown in /home/edengears/public_html/system/library/db/mysqli.php on line 7
The problem is caused by a modification you have installed. From your other posts I've gathered you're using Journal, this could be an issue, and you might need to get in touch with their support. You could also try to identify which modification is causing the issue. A potential route to debugging this could be as follows:
- Make a backup of your oc_modification table, then truncate it
- Make a backup of your modification folder (/home/edengears/storage2/modification) then empty it (perhaps rename the original and create an empty directory called 'modification' at the same route)
- Go to your admin dashboard and log in
- Go to System->Settings->Server and set Maintenance mode to 'Yes'
- Add your extensions and modifications back one by one to determine which is the one causing the issue, then get in touch with the developers
I hope this is helpful,
Gergely
What other post?Gergely wrote: ↑Tue Aug 24, 2021 11:07 pmHi ameem,ameem wrote: ↑Tue Aug 24, 2021 10:00 pmOpencart Version: 3.0.3.3
It was all fine yesterday and in the morning as well. and I didn't do anything, didn't touch anything, but when I refreshed it to make the login, this error came up. The Webhoster is telling me, they are only responsible if CPanel, phpMyAdmin, is not working. He is telling me that it is some kind of my Opencart libraries' problem. Please help me and guide me to solve this:
Fatal error: Uncaught Error: Class 'mysqli' not found in /home/edengears/public_html/system/library/db/mysqli.php:7 Stack trace: #0 /home/edengears/storage2/modification/system/library/db.php(35): DB\MySQLi->_construct('localhost', 'db_name', 'db_password', 'edengear_openca...', '3306') #1 /home/edengears/public_html/system/framework.php(80): DB->_construct('mysqli', 'localhost', 'db_name', 'db_password', 'edengear_openca...', '3306') #2 /home/edengears/public_html/system/startup.php(104): require_once('/home/edengears...') #3 /home/edengears/public_html/admin/index.php(19): start('admin') #4 {main} thrown in /home/edengears/public_html/system/library/db/mysqli.php on line 7
The problem is caused by a modification you have installed. From your other posts I've gathered you're using Journal, this could be an issue, and you might need to get in touch with their support. You could also try to identify which modification is causing the issue. A potential route to debugging this could be as follows:
I know this sounds daunting, you can wait to get a second opinion on this if you want, as my post counters are not very high as of yet.
- Make a backup of your oc_modification table, then truncate it
- Make a backup of your modification folder (/home/edengears/storage2/modification) then empty it (perhaps rename the original and create an empty directory called 'modification' at the same route)
- Go to your admin dashboard and log in
- Go to System->Settings->Server and set Maintenance mode to 'Yes'
- Add your extensions and modifications back one by one to determine which is the one causing the issue, then get in touch with the developers
I hope this is helpful,
Gergely
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
No, and it is a simple Online Shopping Store. And my Website was smooth and was working perfectly, somedays before, Webhosters updated the server, but I get the following picture error, but it was temporary, as I used to update PHP from CPANEL, it used to get resolved. But today, I have got a very different error and it hasn't resolved yet like permanentstraightlight wrote: ↑Tue Aug 24, 2021 10:50 pmAre you using any cron jobs on your domain right now? See this post about it: viewtopic.php?t=222219#p812365 .ameem wrote: ↑Tue Aug 24, 2021 10:46 pmSorry, I forgot to mention that as I am so stressed with the problem.straightlight wrote: ↑Tue Aug 24, 2021 10:41 pmOC version. Identified as 3306 in the logs but the current version is not provided.
It's OC: 3.0.3.3



Attachments
WhatsApp Image 2021-08-24 at 8.38.42 PM.jpeg (194.68 KiB) Viewed 3557 times
Hi GERGELY,Gergely wrote: ↑Tue Aug 24, 2021 11:07 pmHi ameem,ameem wrote: ↑Tue Aug 24, 2021 10:00 pmOpencart Version: 3.0.3.3
It was all fine yesterday and in the morning as well. and I didn't do anything, didn't touch anything, but when I refreshed it to make the login, this error came up. The Webhoster is telling me, they are only responsible if CPanel, phpMyAdmin, is not working. He is telling me that it is some kind of my Opencart libraries' problem. Please help me and guide me to solve this:
Fatal error: Uncaught Error: Class 'mysqli' not found in /home/edengears/public_html/system/library/db/mysqli.php:7 Stack trace: #0 /home/edengears/storage2/modification/system/library/db.php(35): DB\MySQLi->_construct('localhost', 'db_name', 'db_password', 'edengear_openca...', '3306') #1 /home/edengears/public_html/system/framework.php(80): DB->_construct('mysqli', 'localhost', 'db_name', 'db_password', 'edengear_openca...', '3306') #2 /home/edengears/public_html/system/startup.php(104): require_once('/home/edengears...') #3 /home/edengears/public_html/admin/index.php(19): start('admin') #4 {main} thrown in /home/edengears/public_html/system/library/db/mysqli.php on line 7
The problem is caused by a modification you have installed. From your other posts I've gathered you're using Journal, this could be an issue, and you might need to get in touch with their support. You could also try to identify which modification is causing the issue. A potential route to debugging this could be as follows:
I know this sounds daunting, you can wait to get a second opinion on this if you want, as my post counters are not very high as of yet.
- Make a backup of your oc_modification table, then truncate it
- Make a backup of your modification folder (/home/edengears/storage2/modification) then empty it (perhaps rename the original and create an empty directory called 'modification' at the same route)
- Go to your admin dashboard and log in
- Go to System->Settings->Server and set Maintenance mode to 'Yes'
- Add your extensions and modifications back one by one to determine which is the one causing the issue, then get in touch with the developers
I hope this is helpful,
Gergely
I am very thankful to you that you gave me some of your time to solve my problem.
Some important points:
1) My other posts are very old ones when I was creating my Website.
2) And for the past year, my website was working smoothly till 13 of August 2021, when Web-Hosters updated the server. Some days ago, it was some SCSS.ini problem, which was used to resolve by updating the PHP version from CPANEL. but today I got a very different error and has stuck like permanent



3) Not a single modification took place from the year.
Hope, I have cleared your doubts.
Use an external editor such as Notepad++ (free) with UTF-8 without BOM encoding to update your PHP, JS and TWIG files by FTP. Do not use online editors. Your host may have done upgrade changes to the server where no effects would be taken on them but only reflected on their clients. For every changes, clear your OC caches from the admin dashboard and from your extensions modification page.ameem wrote: ↑Tue Aug 24, 2021 11:39 pmNo, and it is a simple Online Shopping Store. And my Website was smooth and was working perfectly, somedays before, Webhosters updated the server, but I get the following picture error, but it was temporary, as I used to update PHP from CPANEL, it used to get resolved. But today, I have got a very different error and it hasn't resolved yet like permanentstraightlight wrote: ↑Tue Aug 24, 2021 10:50 pmAre you using any cron jobs on your domain right now? See this post about it: viewtopic.php?t=222219#p812365 .![]()
![]()
![]()
Alternatively, you could restore your backup from your previous point prior to your last files modification.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Your PHP doesn't have the mysqli extension enabled. You may be able to enable it in your hosting control panel, if not ask your host.ameem wrote: ↑Tue Aug 24, 2021 10:00 pmOpencart Version: 3.0.3.3
It was all fine yesterday and in the morning as well. and I didn't do anything, didn't touch anything, but when I refreshed it to make the login, this error came up. The Webhoster is telling me, they are only responsible if CPanel, phpMyAdmin, is not working. He is telling me that it is some kind of my Opencart libraries' problem. Please help me and guide me to solve this:
Fatal error: Uncaught Error: Class 'mysqli' not found in /home/edengears/public_html/system/library/db/mysqli.php:7
OPENCART Admin panel has the same error. Neither frontend nor backend.straightlight wrote: ↑Tue Aug 24, 2021 11:55 pmUse an external editor such as Notepad++ (free) with UTF-8 without BOM encoding to update your PHP, JS and TWIG files by FTP. Do not use online editors. Your host may have done upgrade changes to the server where no effects would be taken on them but only reflected on their clients. For every changes, clear your OC caches from the admin dashboard and from your extensions modification page.ameem wrote: ↑Tue Aug 24, 2021 11:39 pmNo, and it is a simple Online Shopping Store. And my Website was smooth and was working perfectly, somedays before, Webhosters updated the server, but I get the following picture error, but it was temporary, as I used to update PHP from CPANEL, it used to get resolved. But today, I have got a very different error and it hasn't resolved yet like permanentstraightlight wrote: ↑Tue Aug 24, 2021 10:50 pm
Are you using any cron jobs on your domain right now? See this post about it: viewtopic.php?t=222219#p812365 .![]()
![]()
![]()
Alternatively, you could restore your backup from your previous point prior to your last files modification.
ameem wrote: ↑Wed Aug 25, 2021 12:32 amOPENCART Admin panel has the same error. Nothing is opening, neither frontend nor backend.straightlight wrote: ↑Tue Aug 24, 2021 11:55 pmUse an external editor such as Notepad++ (free) with UTF-8 without BOM encoding to update your PHP, JS and TWIG files by FTP. Do not use online editors. Your host may have done upgrade changes to the server where no effects would be taken on them but only reflected on their clients. For every changes, clear your OC caches from the admin dashboard and from your extensions modification page.ameem wrote: ↑Tue Aug 24, 2021 11:39 pm
No, and it is a simple Online Shopping Store. And my Website was smooth and was working perfectly, somedays before, Webhosters updated the server, but I get the following picture error, but it was temporary, as I used to update PHP from CPANEL, it used to get resolved. But today, I have got a very different error and it hasn't resolved yet like permanent![]()
![]()
![]()
Alternatively, you could restore your backup from your previous point prior to your last files modification.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Okay. I have asked my Hosting provider, let what he say, whether it has to be enabled or it is already enabled...ADD Creative wrote: ↑Wed Aug 25, 2021 12:10 amYour PHP doesn't have the mysqli extension enabled. You may be able to enable it in your hosting control panel, if not ask your host.ameem wrote: ↑Tue Aug 24, 2021 10:00 pmOpencart Version: 3.0.3.3
It was all fine yesterday and in the morning as well. and I didn't do anything, didn't touch anything, but when I refreshed it to make the login, this error came up. The Webhoster is telling me, they are only responsible if CPanel, phpMyAdmin, is not working. He is telling me that it is some kind of my Opencart libraries' problem. Please help me and guide me to solve this:
Fatal error: Uncaught Error: Class 'mysqli' not found in /home/edengears/public_html/system/library/db/mysqli.php:7

Appreciate that man...
The Hosting guys is saying, it could not be happen, if it would be the reason, then the other users would face the same problems (I have a shared hosting. Not dedicated).ADD Creative wrote: ↑Wed Aug 25, 2021 12:10 amYour PHP doesn't have the mysqli extension enabled. You may be able to enable it in your hosting control panel, if not ask your host.ameem wrote: ↑Tue Aug 24, 2021 10:00 pmOpencart Version: 3.0.3.3
It was all fine yesterday and in the morning as well. and I didn't do anything, didn't touch anything, but when I refreshed it to make the login, this error came up. The Webhoster is telling me, they are only responsible if CPanel, phpMyAdmin, is not working. He is telling me that it is some kind of my Opencart libraries' problem. Please help me and guide me to solve this:
Fatal error: Uncaught Error: Class 'mysqli' not found in /home/edengears/public_html/system/library/db/mysqli.php:7
https://stackoverflow.com/questions/398 ... -not-found
https://unix.stackexchange.com/question ... r-www-html
https://shareablecode.com/snippets/easy ... -VBWV-9GDE
At this point may I suggest you reach back out to your service provider, your theme developer or request assistance here :
viewforum.php?f=88
Attachments
Screen-Shot-2021-08-24-at-21.15.14.png (431.5 KiB) Viewed 3430 times
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
What other users?ameem wrote: ↑Wed Aug 25, 2021 4:09 amThe Hosting guys is saying, it could not be happen, if it would be the reason, then the other users would face the same problems (I have a shared hosting. Not dedicated).ADD Creative wrote: ↑Wed Aug 25, 2021 12:10 amYour PHP doesn't have the mysqli extension enabled. You may be able to enable it in your hosting control panel, if not ask your host.ameem wrote: ↑Tue Aug 24, 2021 10:00 pmOpencart Version: 3.0.3.3
It was all fine yesterday and in the morning as well. and I didn't do anything, didn't touch anything, but when I refreshed it to make the login, this error came up. The Webhoster is telling me, they are only responsible if CPanel, phpMyAdmin, is not working. He is telling me that it is some kind of my Opencart libraries' problem. Please help me and guide me to solve this:
Fatal error: Uncaught Error: Class 'mysqli' not found in /home/edengears/public_html/system/library/db/mysqli.php:7
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Use phpinfo and look for mysqli section.
Put the following in a .php file on your hosting public_html folder and go to it in a web browser. Remember to delete it afterwards.
Code: Select all
<?php
phpinfo();
?>
PHP Version - 7.3.28ADD Creative wrote: ↑Wed Aug 25, 2021 5:54 amUse phpinfo and look for mysqli section.
Put the following in a .php file on your hosting public_html folder and go to it in a web browser. Remember to delete it afterwards.Also what PHP version are you using?Code: Select all
<?php phpinfo(); ?>
MySQL driver for PDO - George Schlossnagle, Wez Furlong, Ilia Alshanetsky, Johannes Schlueter.
MySQLi - Zak Greant, Georg Richter, Andrey Hristov, Ulf Wendel.
MySQLnd - Andrey Hristov, Ulf Wendel, Georg Richter, Johannes Schlüter
Attachments
Screenshot 2021-08-25 114632.png (23.12 KiB) Viewed 3360 times
Users browsing this forum: ocmod.space and 47 guests