Page 1 of 1

Fatal require_once() error with edited file in vqmod

Posted: Fri Sep 02, 2016 7:08 pm
by darth_danny
Hi,

There is a custom payment method controller I created which references another file with a set of functions

Code: Select all

require_once('functions/functions.php'); 


When I use vqmod to make changes to the controller, I get a
Warning: require_once(functions/functions.php): failed to open stream: No such file or directory in /blah_blah/domains//html/vqmod/vqcache/vq2-catalog_controller_payment_custom.php on line 86
What could be wrong?

Vqmod 2.6, Opencart 2.2.0.0

Re: Fatal require_once() error with edited file in vqmod

Posted: Fri Sep 02, 2016 7:38 pm
by cyclops12
Have you set the correct route for functions/functions.php
It seems like it cant find it

Re: Fatal require_once() error with edited file in vqmod

Posted: Fri Sep 02, 2016 7:49 pm
by darth_danny
before making the vqmod edit, I don't get the Fatal require once error

Re: Fatal require_once() error with edited file in vqmod

Posted: Fri Sep 02, 2016 10:50 pm
by cyclops12
There you have it then, the error is in your vqmod