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?
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.
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.
Last edited by jamieleshaw on Wed Aug 05, 2009 8:42 am, edited 1 time in total.
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.
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.
Ok. its a bug.
EDIT: admin/model/catalog/manufacturer.php file
FIND THE FIRST INSTANCE OF:
BEFORE, ADD:
EDIT: admin/model/catalog/manufacturer.php file
FIND THE FIRST INSTANCE OF:
Code: Select all
if ($data['keyword']) {
Code: Select all
$manufacturer_id = $this->db->getLastId();
Who is online
Users browsing this forum: No registered users and 50 guests