Post by skyknight » Sat Nov 12, 2011 3:08 pm

I have install vqmod (vqmod-2.1.5-opencart) and vqmod manager.
And it work, but when i try to uninstall, delete, upload new vqmod xml from vqmod manager i got this error:

Code: Select all

Notice: Undefined variable: vqmod in /home/xxxx/public_html/oc/vqmod/vqcache/vq2-system_startup.php on line 73

Fatal error: Call to a member function modCheck() on a non-object in /home/xxxx/public_html/oc/vqmod/vqcache/vq2-system_startup.php on line 73
this is code from line 73

Code: Select all

require_once($vqmod->modCheck(DIR_SYSTEM . 'helper/json.php')); 
I try to add this code before line 73

Code: Select all

// VirtualQMOD
require_once('./vqmod/vqmod.php');
$vqmod = new VQMod();
And it worked, my VQMOD can uninstall, delete, and upload new vqmod xml.

But after VQMODE Manager refresh, vq2-system_startup.php back to original, without my modified code.

Any idea what is going on?

Thank You,

Kurniawan

Newbie

Posts

Joined
Fri Nov 11, 2011 4:46 pm

Post by Qphoria » Sat Nov 12, 2011 10:56 pm

Sounds like the code is not added correctly in the index.php file
If it was in the index.php you wouldn't need it in the startup.php
Did you install vQmod using the autoinstaller?

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by skyknight » Sun Nov 13, 2011 12:04 am

sorry my mistake, i have try on fresh installation and success.

My previous install using custom path on config.php

Newbie

Posts

Joined
Fri Nov 11, 2011 4:46 pm

Post by mmkvn » Mon Dec 12, 2011 9:41 pm

I receive the exact message like that:

Notice: Undefined variable: vqmod in /home/xxxxxxxxxxx/domains/xxxxxxxxx/public_html/vqmod/vqcache/vq2-system_startup.php on line 73

Fatal error: Call to a member function modCheck() on a non-object in /home/xxxxxxxxx/domains/xxxxxxxxxxxx/public_html/vqmod/vqcache/vq2-system_startup.php on line 73


So what is the reason and your solution, Skyknight?

Anyone can help me?

Thanks

Newbie

Posts

Joined
Fri Dec 09, 2011 7:11 pm

Post by kyuss » Thu Jan 03, 2013 5:26 am

I just upgraded to v2.2.1, now I'm having this exact problem.

I've gone through all the steps in the install, including total delete and autoinstall (it told me vqmod was already installed). I've checked that the index.php and admin/index.php are both 755 (my entire directory structure is), and that those two files include the proper vqmod code blocks as described in the manual install.

I don't get it, it worked fine before the upgrade. Can someone elaborate on a fix please?

New member

Posts

Joined
Sat Dec 01, 2012 2:32 am

Post by victorj » Thu Jan 03, 2013 5:37 am

vqmod/cache and vqmod/logs should have all permissions set to 777 read/write since all modifications are made there so vqmod needs total access

Koeltechnische deurrubbers eenvoudig online op maat bestellen.
Alle niet stekplichtige onderdelen zoals scharnieren, sloten, randverwarming en verlichting voor alle typen koelingen en vriezers.
https://koelcel-onderdelen.com


User avatar
Expert Member

Posts

Joined
Sat Jun 25, 2011 4:09 am
Location - Alkmaar Holland

Post by kyuss » Thu Jan 03, 2013 8:27 am

I was dabbling with 777 permission on all files earlier, nothing worked. Just tried again, no luck. I'm baffled, can't help but wonder if I downgrade will it still not work? I don't know what changed, I just uploaded the files and that feature stopped working. :(

New member

Posts

Joined
Sat Dec 01, 2012 2:32 am

Post by michal.franek » Fri Jan 04, 2013 3:11 am

I am having same problem as all here.
i try to change permitons also try to reinstal also try to add code as someone wrote here and same result.
can anybody advice what to do.thanks

Newbie

Posts

Joined
Wed Nov 09, 2011 3:15 am

Post by ashtray » Thu Jan 17, 2013 5:38 am

add to
htaccess

AddHandler php53-script .php

Newbie

Posts

Joined
Thu Jan 17, 2013 5:37 am

Post by kyuss » Tue Jan 22, 2013 6:41 am

ashtray wrote:add to
htaccess
AddHandler php53-script .php
Tried this, it just makes every page of my site serve up the original file for download (terrible security issue, make sure you don't test this on a live site!!).

I just reinstalled OC in a new folder, then installed vqmod fresh, checked permissions, etc. Same problems.

My host doesn't allow using 777 on admin/config files (500 Internal Server Error), so I had to back down to 755, but then vqmod gives an error that the "Administrator index.php is not writable"

I finally edited the files manually, but I can't help but wonder if vqmod is working properly. I still can't install/uninstall from the admin, and this is a nice fresh OC/vqmod v2.2.2.

For what it's worth.

New member

Posts

Joined
Sat Dec 01, 2012 2:32 am

Post by Felias » Wed Mar 06, 2013 11:16 pm

Just did a brand-new installation and followed the installation procedures, but i'm also getting:

Code: Select all

index.php not writeable
Administrator index.php not writeable
The whole vqmod subdirectory is set to 777, but it still gives this error.

EDIT:
just solved it: It's the shops standard index.php and admin/index.php, NOT the ones inside the vqmod-folder. That hint would help a lot in the readme :)

Best wishes,
Nic

New member

Posts

Joined
Mon Sep 19, 2011 5:41 am

Post by LuckyBhumkar » Thu Apr 03, 2014 11:22 pm

I'd faced same problem. But I solved it successfully. ;D

I encountered the following message on homepage.

Code: Select all

Notice: Undefined variable: vqmod in /home/username/public_html/vqmod/vqcache/vq2-system_startup.php on line 77

Fatal error: Call to a member function modCheck() on a non-object in /home/username/public_html/vqmod/vqcache/vq2-system_startup.php on line 77
Solution

1. Download the latest version of VQMod from https://code.google.com/p/vqmod/downloads/list
2. Upload the downloaded ZIP file to public_html folder
3. Extract it in same path (=public_html)
4. Now check your home page

Done..! :crazy:

Newbie

Posts

Joined
Thu Apr 03, 2014 11:04 pm

Post by comprido » Thu Aug 07, 2014 6:25 pm

Yeah! Nice, solve it ;D

Pedro Martin - websitesbuilder.com.au
Checkout my free extensions: https://www.opencart.com/index.php?rout ... r=comprido


User avatar
New member

Posts

Joined
Mon Sep 10, 2012 11:46 pm
Who is online

Users browsing this forum: No registered users and 83 guests