Post by Goncharenko » Mon Jun 10, 2013 11:20 pm

Recently upgraded from 1.5.2.1 to 1.5.51...


Also updated a few extensions and installed a few new ones. Now when you get to my home page and try and click on a product I get an error message. Problem is I'm not sure what change has caused the following error:

PHP Fatal error: Call to undefined method ModelCatalogProduct::getProductTags() in /root/vqmod/vqcache/vq2-catalog_controller_product_product.php on line 381

Site is in maintenance at the moment, really keen to get it back online so any assistance appreciated.

New member

Posts

Joined
Sun Mar 18, 2012 9:21 am

Post by Goncharenko » Tue Jun 11, 2013 2:14 am

Just home and been able to access the source, heres line 381...


$results = $this->model_catalog_product->getProductTags($this->request->get['product_id']);

Got it fixed by googling the line of code. :joker:

New member

Posts

Joined
Sun Mar 18, 2012 9:21 am

Post by Goncharenko » Mon Jun 24, 2013 11:45 pm

Although I have actually now fixed this, it replicates itself any time I install certain VQMOD extensions.

Any ideas what's causing this and to stop it reoccurring in the future? It's getting annoying replacing the same line of code!

New member

Posts

Joined
Sun Mar 18, 2012 9:21 am

Post by straightlight » Tue Jun 25, 2013 12:23 am

VQ Cache files are simply mirrored from the original files where the XML files target the source line codes from vqmod/xml folder. When installing new VQMod extension or when leaving that specific block instruction code into the XML, the line above you specified will remain there until removed.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by Goncharenko » Mon Jul 08, 2013 11:14 pm

Does this mean I should make the same change to:

root/catalog/controller/product/product.php as I have to the VQMod cache file?

New member

Posts

Joined
Sun Mar 18, 2012 9:21 am

Post by straightlight » Wed Jul 17, 2013 9:52 pm

No, make the changes on the XML source file.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON
Who is online

Users browsing this forum: No registered users and 316 guests