Post by andywoodrow » Sun Mar 19, 2017 7:21 am

Hiya, All of a sudden localhost I'm getting a 500 on front-end, but admin is still working fine.

I've popped the error_reporting on via the index.php in the root:

Code: Select all

ini_set('display_errors', 1);
ini_set('log_errors', 1);
error_reporting(E_ALL);
and it's returning this ...

Fatal error: Cannot redeclare ControllerCommonColumnLeft::__construct() in /Volumes/Sites/mysitename/public-html/system/storage/modification/catalog/controller/common/column_left.php on line 96

I installed the Viethemes - Extra Positions mod, but that was quite a few days ago and I can't see what I've modified tonight, but I must have done something.

New member

Posts

Joined
Mon Nov 02, 2015 5:48 pm

Post by Qphoria » Tue Mar 21, 2017 1:14 am

So you are using an ocmod modification that apparently has a bug in it so it is doubling the class setup for columnleft.
Disable any ocmods and hit the refresh button on the modifications page after each.. Then go try and see if the error goes away. Do this until you find the culprit and request assistance from the mod author.

Another thought is that you have loaded the same mod twice... once through the modifications area in admin, and also uploaded the ocmod file to the system folder which acts as a localized file-based location for ocmods. Be sure it is only in one of those places and not both.

OpenCart 2.0.x Mod Update Info

Image
Donate!|OpenCart Basics|GeoZones
Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am
Who is online

Users browsing this forum: webbouk and 49 guests