Post by trueliar » Wed Jan 18, 2017 1:07 pm

I'm developing on opencart 2.3.0.2

I'm loading a model (I'm sure that the problem starts here since there's no output after doing it)
$this->load->model('extension/module/bnquotecart');
( the path is correct: model/extension/module/bnquotecart.php )
in the respective model file the class starts as:
class ModelExtensionModuleBnquotecart extends Model {
and should be fine.

When the specific page loads I get a blank page.
In other cases/models I have no problems.
I suppose (I really don't know) that opencart doesn't give specific errors when loading modules while for php there's no error at all (error_reporting is E_ALL).

How can I debug the problem to know if O.C. has loaded the model or any other way to find tip (error) to debug?



thank you!

Note: Error logs are empty. I'm updating my extension to o.c. 2.3.0.2

New member

Posts

Joined
Sat Jan 11, 2014 12:09 am

Post by IP_CAM » Fri Jan 20, 2017 2:39 am

Well, this bnquotecart.php is something, not even Googie knows about, so, it's
sure no OC default Problem, one could know about... 8)
Ernie

My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland
Who is online

Users browsing this forum: No registered users and 35 guests