Post by solarsurfer » Sun Mar 30, 2014 8:19 pm

Hi
Just downloaded and installed the new software no problem. (v1.5.6.1)

No probs installing, except the following error occurred, when uploading images, if anyone could help I would be grateful!

Images seemed to upload ok, the error was displayed after "Saving" the current page within >Config > add item > Add images


Notice: Undefined index: profile_id in /home/ashears/public_html/shop/admin/model/catalog/product.php on line 268Warning: Cannot modify header information - headers already sent by (output started at /home/ashears/public_html/shop/admin/index.php:81) in /home/ashears/public_html/shop/system/engine/controller.php on line 28Warning: Cannot modify header information - headers already sent by (output started at /home/ashears/public_html/shop/admin/index.php:81) in /home/ashears/public_html/shop/system/engine/controller.php on line 29

Newbie

Posts

Joined
Sun Mar 30, 2014 7:18 pm

Post by andrei.bogdan » Mon Mar 31, 2014 4:42 pm

Hi,

This is a known bug so you can fix it by doing this:

Go to:

Code: Select all

/system/library/cart.php
And change:

Code: Select all

public function add($product_id, $qty = 1, $option, $profile_id) {
to this:

Code: Select all

public function add($product_id, $qty = 1, $option, $profile_id = '') {

Andrei
andrei.opencart[at]yahoo.com
Themes and Extensions


Active Member

Posts

Joined
Mon Mar 25, 2013 4:52 am

Post by josrevalution » Wed Apr 02, 2014 10:45 pm

hi i have same problem... and as you said i have do it but still getting same error....

Notice: Undefined index: profile_id in /home/imbeauty/public_html/admin/model/catalog/product.php on line 268Warning: Cannot modify header information - headers already sent by (output started at /home/imbeauty/public_html/admin/index.php:81) in /home/imbeauty/public_html/system/engine/controller.php on line 28Warning: Cannot modify header information - headers already sent by (output started at /home/imbeauty/public_html/admin/index.php:81) in /home/imbeauty/public_html/system/engine/controller.php on line 29

Any more solution?

Newbie

Posts

Joined
Fri May 17, 2013 1:03 am
Who is online

Users browsing this forum: No registered users and 8 guests