Post by jenashley » Sun Jun 29, 2014 6:23 am

I really need an answer ASAP because I am completely clueless. I'm a front-end developer and rusty on my PHP.

I've got OC 1.5.6.4.

I went into the Language files via FTP to change things like "Brands" to "Consignment Shops". Everything was working fine, and then I began getting errors and I don't know what I did.

Code: Select all

Fatal error: Class 'Controllerproductmanufacturer' not found in /home/mcflipp/public_html/system/engine/front.php on line 39
So I open the front.php file and add in the class hoping maybe I can get it to work...

Code: Select all

$Controllerproductmanufacturer = new $class($this->registry);
Pretty much I copied line 39 and changed the class (line 39 is just $controller).

This isn't working, still getting the same error. When the error occurred, I reverted the files I had edited back to what they originally were. I also had vqMod. I removed that, hoping it would help. But no luck. I'm still getting this error. The rest of the site works fine, it's just when I go to a brand page.

I've also now downloaded and will be installing a Language Editor.

Even if there's something I can do to help pinpoint the exact problem, that would be very helpful. I hate being so clueless when I work on websites all the time. But eCommerce - or maybe just OC in general - is proving to not be the right platform for me.

Thanks in advance!

Newbie

Posts

Joined
Wed Jun 04, 2014 10:09 am

Post by melbagnato » Sun Jun 29, 2014 5:26 pm

Hi jenashley,

did you remove any files ?

that error is basically saying that it can't locate the manufacturer class (which drives brands). Did you look in the "\catalog\controller\product" directory for the "manufacturer.php" file ?

- Mel

http://online.enterpriseconsulting.com.au

Site with OpenCart extensions & code downloads, many new extensions coming soon!
Follow us on twitter for more updates

Image


User avatar
Active Member

Posts

Joined
Wed Jan 13, 2010 1:39 pm
Location - Melbourne

Post by jenashley » Mon Jun 30, 2014 11:17 pm

I've attached a screenshot of that folder. The manufacturer.php is still there. Do you know of anything else that could be causing it? I didn't delete anything.

(Sorry for the delayed response, my host is having problems so I couldn't check this yesterday.)

Attachments

Screen Shot 2014-06-30 at 10.15.57 AM.png

Screen Shot 2014-06-30 at 10.15.57 AM.png (37.86 KiB) Viewed 2810 times


Newbie

Posts

Joined
Wed Jun 04, 2014 10:09 am

Post by pprmkr » Tue Jul 01, 2014 12:32 am

When file catalog/controller/product/manufacturer.php was missing, the error would be:
The page you requested cannot be found.
Overwriting controller/manufacturer.php with an language file manufacturer.php would result in:
Fatal error: Class 'Controllerproductmanufacturer' not found
Please check file catalog/controller/product/manufacturer.php. Does it start with:

Code: Select all

<?php
// Heading
$_['heading_title']     = 'Find Your Favorite Brand';
Pretty sure it does!

Overwrite with original file that comes with OpenCart installation files.

User avatar
Active Member

Posts

Joined
Sat Jan 08, 2011 11:05 pm
Location - Netherlands

Post by jenashley » Tue Jul 08, 2014 2:02 am

Perfect! Thank you! :)

Newbie

Posts

Joined
Wed Jun 04, 2014 10:09 am
Who is online

Users browsing this forum: No registered users and 1 guest