ANUBHAV67 / vqmod

Automatically exported from code.google.com/p/vqmod
0 stars 0 forks source link

Warning and Fatal error on line 17 when accessing admin login page #157

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
NOTE THAT THIS IS FOR VQMOD ENGINE ERRORS ONLY. FOR GENERAL ERRORS FROM
MODIFICATIONS CONTACT YOUR DEVELOPER

What steps will reproduce the problem?
1. Install vQmod 2.4.1 onto OpenCart v1.5.6
2. Admin login page URL won't load; only an error will show.

What is the expected output? What do you see instead?
- The expected output is the admin login page working, instead I get the 
following error:

Warning: require_once(../vqmod/vqmod.php) [function.require-once]: failed to 
open stream: No such file or directory in 
/home/username/public_html/xxx/xxxxxxxx/xxxx/admin/index.php on line 17

Fatal error: require_once() [function.require]: Failed opening required 
'../vqmod/vqmod.php' (include_path='.:/usr/local/php53/pear') in 
/home/username/public_html/xxx/xxxx/admin/index.php on line 17

Note that admin is in a custom folder, not default.

vQmod Version: 2.4.1
Server Operating System: Linux based, CentOs 6.4

Please provide any additional information below.

I tried updating the custom admin URL in vqmod/install/index.php in line 33 to 
" $admin = '/xxx/xxxx/admin'; " but it didn't work either.

Thank you.

Original issue reported on code.google.com by Jvald...@gmail.com on 20 Feb 2014 at 8:49

Attachments:

GoogleCodeExporter commented 9 years ago
It's because your admin folder isn't inside the same folder as the vqmod 
folder. This is going to cause you a lot of problems. Just name the default 
admin folder something hard to guess like ij3oij2p5i345 and use 
/vqmod/pathReplaces.php to enable vQmod to run on it still. This is being 
closed as it's not the engine at fault it's your install and that your paths 
are incorrect

Original comment by DJG6...@gmail.com on 20 Feb 2014 at 8:52