Today, while studying the architecture and code of OpenCart v188.8.131.52, I just found an issue with it and wanted to bring in everyone’s notice.
Open the file system/database/mysqli.php and look for the method “query”. It has an unmatched if…else statement. This also proves that OpenCart is not using “mysqli” library. They are still using “mysql” library for database communication.
Here is a screen shot from my system using Eclipse editor:
Also, from the screenshot above, what is “mysql_error()” doing in the mysqli communication class?
If you feel that you want to comment on this, please leave your comment.