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
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
tried this and I get "VQMOD ALREADY INSTALLED!"rempong wrote:try reinstall VQMOD ( revisit vqmod/install URL)
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!
"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
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
Users browsing this forum: No registered users and 193 guests