Post by sooty » Fri Sep 20, 2013 6:07 pm

Hello

V1.5.6

I'm having an issue with viewing orders in Admin, either via the "view" button in Dashboard or "view" button in Sales|Orders.

I can see the order details through the "edit" option.

When clicking "view", I get a blank screen with;
Notice: Undefined variable: vqmod in /home/myhosting/public_html/mysite/vqmod/vqcache/vq2-system_engine_controller.php on line 56

If I look at the code, line 56 is blank!
Makes no difference if I delete the blank line 56
Makes no difference if I delete the file completely, to refresh it.

Code extract from vq2-system_engine_controller.php

50 }
51
52 protected function hasAction($child, $args = array()) {
53 $action = new Action($child, $args);
54
55 if (file_exists($vqmod->modCheck($action->getFile()))) {
56 require_once($vqmod->modCheck($action->getFile()));
57 $class = $action->getClass();
58
59 $controller = new $class($this->registry);
60
61 if(method_exists($controller, $action->getMethod())){
62 return true;
63 }else{
64 return false;
65 }
66 } else {
67 trigger_error('Error: Could not load controller ' . $child . '!');
68 exit();
69 }
70 }

The URL of the "view" button is;
http://www.mysite.com/admin/index.php?r ... rder_id=68

Any Idea's, suggestions, clues????

regards

Sooty
Last edited by sooty on Tue Sep 24, 2013 9:46 pm, edited 1 time in total.

New member

Posts

Joined
Fri Sep 21, 2012 4:59 am

Post by rempong » Fri Sep 20, 2013 9:48 pm

try reinstall VQMOD ( revisit vqmod/install URL)

OPENCART MODULE :
Opencart Compare Link Link your compared product to forum/email

Frontend Link From Admin Dashboard
Get link to product , category, manufacturer, information from admin backend.

Copy and DIRECTLY Edit Product the easy way.

Custom Product Sort Full control to product sorting options

Already Sold Product Module, shows total product sold


Active Member

Posts

Joined
Fri Sep 14, 2012 2:38 pm
Location - Indonesia

Post by sooty » Tue Sep 24, 2013 5:19 pm

rempong wrote:try reinstall VQMOD ( revisit vqmod/install URL)
tried this and I get "VQMOD ALREADY INSTALLED!"

I have just spotted an error in my original post due to some strange misalignment in my cpanel code editor.

line 56 is actually

56 if (file_exists($vqmod->modCheck($action->getFile()))) {
57 require_once($vqmod->modCheck($action->getFile()));

I've since checked vqmod error log and it is empty.
System log lists the error
"Notice: Undefined variable: vqmod in /home/xxxxxx/public_html/xxxxxxx/vqmod/vqcache/vq2-system_engine_controller.php on line 56"

help!

New member

Posts

Joined
Fri Sep 21, 2012 4:59 am

Post by sooty » Tue Sep 24, 2013 9:46 pm

PROBLEM RESOLVED.

"rempong" was pointing in the right direction, maybe I just didn't understand properly.

V1.5.6 was an upgraded V1.5.5.1

The upgrade to V1.5.6 had been done but the latest version of VQMOD had not been installed. I did not realise that this needed to be downloaded separately.

Latest VQMOD uploaded to hosting, then ran vqmod/install. This time message VQMOD UPGRADED message was returned.

All working again.

Sooty

New member

Posts

Joined
Fri Sep 21, 2012 4:59 am

Post by rempong » Wed Sep 25, 2013 10:59 am

Glad your problem solved :D

OPENCART MODULE :
Opencart Compare Link Link your compared product to forum/email

Frontend Link From Admin Dashboard
Get link to product , category, manufacturer, information from admin backend.

Copy and DIRECTLY Edit Product the easy way.

Custom Product Sort Full control to product sorting options

Already Sold Product Module, shows total product sold


Active Member

Posts

Joined
Fri Sep 14, 2012 2:38 pm
Location - Indonesia
Who is online

Users browsing this forum: No registered users and 193 guests