Post by Danndy » Sun Jan 06, 2019 10:54 pm

Hello there!

I have a little problem. I just created my own library class FtpsConnect.php and place it into system/library directory, right next to cart.php, customer.php etc. but OpenCart wont autoload this new class. When i try to create object like

Code: Select all

$obj = new FtpsConnect();
i get error Class 'FtpsConnect' not found and it is because OpenCart do not load this class in startup.php adn im asking why? Why OpenCart dont load this class in the same way like cart.php customer.php? When i load my library class manually with require_once function, it is working well.




Fri Sep 29, 2017 4:42 pm

Post by grgr » Mon Jan 07, 2019 12:18 pm

This might help:


Image Image Image Image Image Image Image Image

User avatar
Active Member


Mon Mar 28, 2011 4:08 pm
Location - UK
Who is online

Users browsing this forum: No registered users and 8 guests