Page 1 of 1
manufacturer problom
Posted: Tue Aug 04, 2009 1:01 pm
by jamieleshaw
Hello when I try to add a manufacturer it says:
Notice: Undefined variable: manufacturer_id in /home/jamboce1/public_html/admin/model/catalog/manufacturer.php on line 7
Warning: Cannot modify header information - headers already sent by (output started at /home/jamboce1/public_html/admin/model/catalog/manufacturer.php:7) in /home/jamboce1/public_html/system/engine/controller.php on line 23
I'm using OpenCart 1.3
My template is default_blue with readymans dynamic menu.
How do I fix this?
Re: manufacturer problom
Posted: Tue Aug 04, 2009 5:35 pm
by jamieleshaw
bump
Re: manufacturer problom
Posted: Tue Aug 04, 2009 10:05 pm
by babaloo
whith the default template you still have the same problem ?
Re: manufacturer problom
Posted: Wed Aug 05, 2009 1:33 am
by Qphoria
its not a template issue. its in the controller, but I dont see that line at line 7
What version of OpenCart?
Re: manufacturer problom
Posted: Wed Aug 05, 2009 5:28 am
by orionweb
he says version 1.3 in his post.

Re: manufacturer problom
Posted: Wed Aug 05, 2009 8:34 am
by jamieleshaw
Hello, I tryed with th default template same thing happened.
My version is 1.3 using the default_blue template by readman.
I am also using dynamic menus by readyman.
I'm looking into that now.
Re: manufacturer problom
Posted: Wed Aug 05, 2009 8:41 am
by jamieleshaw
Hello, I wish to correct my previous post.
I have to modify to files that were in the catalog folder those were.
catalog/controller/module/category.php
catalog/model/category.php
I can't remember if I added those or not.
Re: manufacturer problom
Posted: Wed Aug 05, 2009 6:24 pm
by jamieleshaw
bump
Re: manufacturer problom
Posted: Thu Aug 06, 2009 5:40 am
by Qphoria
Ok. its a bug.
EDIT: admin/model/catalog/manufacturer.php file
FIND THE FIRST INSTANCE OF:
BEFORE, ADD:
Code: Select all
$manufacturer_id = $this->db->getLastId();
Re: manufacturer problom
Posted: Thu Aug 06, 2009 8:25 am
by jamieleshaw
Thanks alot.
Be sure to check my store out, it's launched now.