Post by andywoodrow » Thu Jan 30, 2020 9:50 pm

Each time I build the modification cache I get a 500 in the admin panel with this as the issue:

Code: Select all

Parse error: syntax error, unexpected 'UPDATE' (T_STRING) in
/{.....}/public_html/vqmod/vqcache/vq2-system_storage_modification_admin_model_catalog_product.php  on line 171
where {.....} is my hosting home path.

it adds sql query:

Code: Select all

$this->db->query("UPDATE " . DB_PREFIX . "product SET allow_preorder =
'" . (int) $data['allow_preorder'] . "' WHERE product_id = '" .
(int)$product_id . "'");
Can anyone help at all?
Last edited by straightlight on Thu Jan 30, 2020 10:40 pm, edited 1 time in total.

New member

Posts

Joined
Mon Nov 02, 2015 5:48 pm

Post by xxvirusxx » Thu Jan 30, 2020 10:07 pm

If is a paid module then try to contact developer.

OC 2.3.0.2 | OC 3.0.3.6 | Extensions converted by me | Buy me a beer


User avatar
Expert Member

Posts

Joined
Tue Jul 17, 2012 10:35 pm
Location - România

Post by andywoodrow » Fri Jan 31, 2020 5:03 pm

I don't know what module it might be. We've just installed 2 recently, and checking with both developers it's not theirs that does this action. I have a copy of the ocmod.log which may have some clue, but I don't know what I'm looking for. I might very well check the GIT logs too to see what has changed recently.

New member

Posts

Joined
Mon Nov 02, 2015 5:48 pm

Post by xxvirusxx » Sat Feb 01, 2020 2:08 am

Then try to disable all vqmod extensions and all ocmod extensions, refresh ocmod and see if work..

OC 2.3.0.2 | OC 3.0.3.6 | Extensions converted by me | Buy me a beer


User avatar
Expert Member

Posts

Joined
Tue Jul 17, 2012 10:35 pm
Location - România

Post by Ledfords » Thu Sep 03, 2020 2:23 am

The module list is fetched on the basis of files inside admin > controller > extension > modules
So one way to get rid of this error is remove the new / non default controller files from this folder and the WalmartOne list will populate on the basis of previous files and it will work fine unless the core files code has been modified.

Newbie

Posts

Joined
Mon May 11, 2020 11:22 pm
Who is online

Users browsing this forum: No registered users and 4 guests