Post by jetmosquitoe » Fri Jul 22, 2016 4:21 pm

OpenCart 1.5.5.1.2.

Hi, recently I have noticed, when I press Goods in Admin area menu / Catalogue / Goods /
The browser shows:
Page myshop.com does not work.
HTTP ERROR 500

The same error shows when I go to Admin menu / System / Error journal

Other menu items in admin part and the shop itself work normaly.

I have checked file rights to accord to the manueal of OC:
chmod 0755 or 0777 image/
chmod 0755 or 0777 image/cache/
chmod 0755 or 0777 cache/
chmod 0755 or 0777 download/
chmod 0755 or 0777 config.php
chmod 0755 or 0777 admin/config.php

Have tried both 0755 does not work and 0777 doesnt work.

My hosting support informed me, that they observe an error:
[Tue Jul 19 14:01:54 2016] [warn] mod_fcgid: stderr: PHP Fatal error: Class 'Controllercatalogproduct' not found in /var/www/myhostingaccount/data/www/myshop.com/vqmod/vqcache/vq2-system_engine_front.php on line 39, referer: https://myocshop.com/admin/index.php?ro ... 2f2..(some numbers go here)..

Could you give me a hint where to look at?

User avatar
Newbie

Posts

Joined
Mon Sep 21, 2015 10:04 pm

Post by AlexDW » Sat Jul 23, 2016 12:06 am

Check to exist file admin\controller\catalog\product.php
and copy it from your OC distributive if not exist

Useful Opencart extensions


User avatar
New member

Posts

Joined
Sun Jun 05, 2016 3:32 am

Post by straightlight » Sat Jul 23, 2016 12:32 am

jetmosquitoe wrote:OpenCart 1.5.5.1.2.

Hi, recently I have noticed, when I press Goods in Admin area menu / Catalogue / Goods /
The browser shows:
Page myshop.com does not work.
HTTP ERROR 500

The same error shows when I go to Admin menu / System / Error journal

Other menu items in admin part and the shop itself work normaly.

I have checked file rights to accord to the manueal of OC:
chmod 0755 or 0777 image/
chmod 0755 or 0777 image/cache/
chmod 0755 or 0777 cache/
chmod 0755 or 0777 download/
chmod 0755 or 0777 config.php
chmod 0755 or 0777 admin/config.php

Have tried both 0755 does not work and 0777 doesnt work.

My hosting support informed me, that they observe an error:
[Tue Jul 19 14:01:54 2016] [warn] mod_fcgid: stderr: PHP Fatal error: Class 'Controllercatalogproduct' not found in /var/www/myhostingaccount/data/www/myshop.com/vqmod/vqcache/vq2-system_engine_front.php on line 39, referer: https://myocshop.com/admin/index.php?ro ... 2f2..(some numbers go here)..

Could you give me a hint where to look at?
The file originally exists from his admin. Although, from the installed extension that relates to the lower case: Controllercatalogproduct instead of: ControllerCatalogProduct is what causes the error to appear. If you are not sure from which XML file this issue is being caused, you can always download the VQMod Manager tool if you don't already have it installed to track the source of the problem: viewtopic.php?f=183&t=156866&p=611059#p611059 .

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 jetmosquitoe » Sun Jul 24, 2016 3:43 pm

I checked the file exists: admin\controller\catalog\product.php

Regarding the VQMod Manager tool, it is designated for OC ver.2, while mine is 1.5.5.1.2. I asked the developer in personal message if the tool will work with my version, but still no answer from him. Do you think I can try it anyway with my version?

User avatar
Newbie

Posts

Joined
Mon Sep 21, 2015 10:04 pm

Post by straightlight » Sun Jul 24, 2016 6:52 pm

jetmosquitoe wrote:I checked the file exists: admin\controller\catalog\product.php

Regarding the VQMod Manager tool, it is designated for OC ver.2, while mine is 1.5.5.1.2. I asked the developer in personal message if the tool will work with my version, but still no answer from him. Do you think I can try it anyway with my version?
That is correct. I am indeed posting in the v1.5x section. In this case, I would suggest to go to your vqmod/xml folder and to rename your XML files, each, with: xml_ extensions by following the above response excluding VQMod Manager.

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 jetmosquitoe » Sun Jul 24, 2016 8:10 pm

I updated vqmode and installed vqmode manager. After clicking "change" in admin - extension - module - VQMod Manager, my browser showed HTTP 500 error again. Any ideas?

User avatar
Newbie

Posts

Joined
Mon Sep 21, 2015 10:04 pm

Post by straightlight » Sun Jul 24, 2016 8:11 pm

jetmosquitoe wrote:I updated vqmode and installed vqmode manager. After clicking "change" in admin - extension - module - VQMod Manager, my browser showed HTTP 500 error again. Any ideas?
Follow the essentials - Error logs section: http://forum.opencart.com/viewtopic.php?f=20&t=165637

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 jetmosquitoe » Sun Jul 24, 2016 10:06 pm

My error log shows one error every time someone clicks on products in consumer interface:
2016-07-24 19:59:03 - PHP Notice: Undefined variable: button_details in .../catalog/view/theme/theme222/template/product/product.tpl on line 408
I wrote in other topic about this.

User avatar
Newbie

Posts

Joined
Mon Sep 21, 2015 10:04 pm

Post by straightlight » Sun Jul 24, 2016 10:08 pm

jetmosquitoe wrote:My error log shows one error every time someone clicks on products in consumer interface:
2016-07-24 19:59:03 - PHP Notice: Undefined variable: button_details in .../catalog/view/theme/theme222/template/product/product.tpl on line 408
I wrote in other topic about this.
This solution has been provided to you on this topic, already: http://forum.opencart.com/viewtopic.php ... 22#p629983

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 jetmosquitoe » Sun Aug 21, 2016 1:42 am

I have tried another advise, which I received on other OC forum.

Here it is:
"The error indicates that the problem is in
admin/controller/catalog/product.php

It is probable that the file has been damaged. And it will be enough just to replace it from the installation distributive of OC.
P.S.: Or some module of vqmod is damaging the file."

So, have replaced the file with the one from distributive, and the section Product in Admin - Catalogue looks like to be working now.

User avatar
Newbie

Posts

Joined
Mon Sep 21, 2015 10:04 pm
Who is online

Users browsing this forum: Google [Bot] and 132 guests