Post by papalazarou78 » Mon Nov 10, 2014 11:10 pm

Hi

Version is 1.5.6.4

I've just moved a store from a testing domain to the live one by installing a fresh opencart on the new server then transferring the site over.

The site loads fine and works, until you press the browser back button to go back to the home page, then I'm getting this error;

Warning: require_once(../vqmod/vqmod.php): failed to open stream: No such file or directory in /home/mydomain/public_html/index.php on line 17

Fatal error: require_once(): Failed opening required '../vqmod/vqmod.php' (include_path='.:/usr/local/lib/php') in /home/mydomain/public_html/index.php on line 17

Line 17 on my index.php is;

Code: Select all

require_once('./vqmod/vqmod.php');VQMod::bootup();
The code has the path './vqmod/v...' but the error is saying '../vqmod/v...' (extra dot in the filename)

What should I try to fix this?

Thanks
Wayne
Last edited by papalazarou78 on Tue Nov 11, 2014 1:43 am, edited 1 time in total.

New member

Posts

Joined
Mon Apr 04, 2011 4:04 am

Post by uksitebuilder » Tue Nov 11, 2014 1:01 am

That's very strange Wayne

Try dropping the './'

So line 17 will read

Code: Select all

require_once('vqmod/vqmod.php');VQMod::bootup();

User avatar
Guru Member

Posts

Joined
Thu Jun 09, 2011 11:37 pm
Location - United Kindgom

Post by papalazarou78 » Tue Nov 11, 2014 1:40 am

Thanks uksitebuilder

Dropping the ./ worked. I'd tried ../ and / but didn't think to just remove it. So to re-cap;

Code: Select all

require_once('vqmod/vqmod.php');VQMod::bootup();
Fixed the problem.

New member

Posts

Joined
Mon Apr 04, 2011 4:04 am
Who is online

Users browsing this forum: No registered users and 18 guests