Post by darth_danny » Fri Sep 02, 2016 7:08 pm

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

New member

Posts

Joined
Wed Jul 27, 2016 5:41 pm

Post by cyclops12 » Fri Sep 02, 2016 7:38 pm

Have you set the correct route for functions/functions.php
It seems like it cant find it

Expert Member

Posts

Joined
Sun Sep 27, 2015 1:10 am

Post by darth_danny » Fri Sep 02, 2016 7:49 pm

before making the vqmod edit, I don't get the Fatal require once error

New member

Posts

Joined
Wed Jul 27, 2016 5:41 pm

Post by cyclops12 » Fri Sep 02, 2016 10:50 pm

There you have it then, the error is in your vqmod

Expert Member

Posts

Joined
Sun Sep 27, 2015 1:10 am
Who is online

Users browsing this forum: No registered users and 10 guests