Call-back icon  Sales: Call 877.832.5289 (N America)|310.295.4144 (International)

Magento

eCommerce Software for Online Growth

Magento Forum

   
Page 2 of 2
headers already sent
 
BlackDesk
Member
 
Avatar
Total Posts:  34
Joined:  2008-03-10
San Diego
 

here is the code from the area referenced in the ProductController file:

$this->_getSession()->addSuccess($this->__(’Product was successfully saved.’));
}
catch (Mage_Core_Exception $e) {
$this->_getSession()->addError($e->getMessage())
->setProductData($data);
$redirectBack = true;
}
catch (Exception $e) {
echo $e;
$this->_getSession()->addException($e, $this->__(’Product saving error.’));
$redirectBack = true;
}
}

if ($redirectBack) {
$this->_redirect(’*/*/edit’, array(
‘id’ => $productId,
‘_current’=>true
));
}
else if($this->getRequest()->getParam(’popup’)) {
$this->_redirect(’*/*/created’, array(
‘_current’ => true,
‘id’ => $productId,
‘edit’ => $isEdit
));
}
else {
$this->_redirect(’*/*/’, array(’store’=>$storeId));
}
}

 Signature 

_____________________________________________________________________

If we did all the things we are capable of doing, we would literally astonish ourselves.

Thomas Edison

 
Magento Community Magento Community
Magento Community
Magento Community
 
Gman2005
Jr. Member
 
Total Posts:  24
Joined:  2008-02-16
 

I am also having the productcontroller error:

http://www.magentocommerce.com/boards/viewthread/10277/

 
Magento Community Magento Community
Magento Community
Magento Community
 
BlackDesk
Member
 
Avatar
Total Posts:  34
Joined:  2008-03-10
San Diego
 

*bump please and thank you*

this is a major error. the admin is unable to add pictures or modify products…

 Signature 

_____________________________________________________________________

If we did all the things we are capable of doing, we would literally astonish ourselves.

Thomas Edison

 
Magento Community Magento Community
Magento Community
Magento Community
 
Gman2005
Jr. Member
 
Total Posts:  24
Joined:  2008-02-16
 

can’t create products period.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Gman2005
Jr. Member
 
Total Posts:  24
Joined:  2008-02-16
 

Guys,

It’s kind of hard to have a running e-commerce site, when there are no products on it; because the program you’re using won’t let you add any!

Can anyone direct BlackDesk and I, so we can get this ProductController error fixed?

Please, I need to get this site up and going before I get my a$$ chewed out.

Thanks.

 
Magento Community Magento Community
Magento Community
Magento Community
 
mascker
Member
 
Avatar
Total Posts:  49
Joined:  2007-08-31
Portugal
 

Hi there.

$this->_getSession()->addSuccess($this->__(’Product was successfully saved.));
}
catch (Mage_Core_Exception $e{
$this
->_getSession()->addError($e->getMessage())
->
setProductData($data);
$redirectBack true;
}
catch (Exception $e{
echo $e;
$this->_getSession()->addException($e$this->__(’Product saving error.));
$redirectBack true;
}
}

if ($redirectBack{
$this
->_redirect(*/*/edit’, array(
‘id’ => $productId,
‘_current’=>true
));
}
else if($this->getRequest()->getParam(’popup’)) {
$this->_redirect(’*/
*/created’, array(
‘_current’ => true,
‘id’ => $productId,
‘edit’ => $isEdit
));
}
else {
$this
->_redirect(*

If this code is the code that is on your file, delete the line

echo $e;

The final code will be

$this->_getSession()->addSuccess($this->__(’Product was successfully saved.));
}
catch (Mage_Core_Exception $e{
$this
->_getSession()->addError($e->getMessage())
->
setProductData($data);
$redirectBack true;
}
catch (Exception $e
$this
->_getSession()->addException($e$this->__(’Product saving error.));
$redirectBack true;
}
}

if ($redirectBack{
$this
->_redirect(*/*/edit’, array(
‘id’ => $productId,
‘_current’=>true
));
}
else if($this->getRequest()->getParam(’popup’)) {
$this->_redirect(’*/
*/created’, array(
‘_current’ => true,
‘id’ => $productId,
‘edit’ => $isEdit
));
}
else {
$this
->_redirect(*

Regards,

 Signature 

Pétala Azul

 
Magento Community Magento Community
Magento Community
Magento Community
 
Gman2005
Jr. Member
 
Total Posts:  24
Joined:  2008-02-16
 

I tried that, I don’t get the can’t send header error.

But it says there is a “Product Saving Error.”

 
Magento Community Magento Community
Magento Community
Magento Community
 
Gman2005
Jr. Member
 
Total Posts:  24
Joined:  2008-02-16
 

STILL NEED HELP WITH THIS ERROR.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Gman2005
Jr. Member
 
Total Posts:  24
Joined:  2008-02-16
 

Hopefully 1.1 version will come out soon or someone posts a solution; otherwise, I am going to have to go back to Joomla and Virtuemart.

 
Magento Community Magento Community
Magento Community
Magento Community
 
BlackDesk
Member
 
Avatar
Total Posts:  34
Joined:  2008-03-10
San Diego
 

OK - I’ve got one angry client who has just launched a complete e-commerce site, yet can’t go back and edit products! I understand how things can be overlooked with a platform as sophisticated as Magento, but someone HAS to do something aqbout this problem asap, or you will start losing customers, just as you are gaining well-deserved traction and accolades. PLEASE respond and help us resolve this crucial issue.

THANK YOU THANK YOU THANK YOU!!!

 Signature 

_____________________________________________________________________

If we did all the things we are capable of doing, we would literally astonish ourselves.

Thomas Edison

 
Magento Community Magento Community
Magento Community
Magento Community
 
BlackDesk
Member
 
Avatar
Total Posts:  34
Joined:  2008-03-10
San Diego
 

UPDATE:

Tried re-importing csv spreadsheet via the console, after changing info on ONE PRODUCT and got this error:

SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (`shopme5_store/catalogindex_minimal_price`, CONSTRAINT `FK_CATALOGINDEX_MINIMAL_PRICE_CUSTOMER_GROUP` FOREIGN KEY (`customer_group_id`) REFERENCES `customer_group` (`customer_group_id`) ON DEL)

Thoughts? Answers? Wisdom…

 Signature 

_____________________________________________________________________

If we did all the things we are capable of doing, we would literally astonish ourselves.

Thomas Edison

 
Magento Community Magento Community
Magento Community
Magento Community
 
Gman2005
Jr. Member
 
Total Posts:  24
Joined:  2008-02-16
 

Please Please help us with this Product Controller error! I thought that I would just install 1.1 but now its not going to be released until end of July. I can’t wait that long. I need to get my site up and selling shit. Please help us find a solution for this!

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top
Page 2 of 2
 
Sales: Call 877.832.5289 (North America) 310.295.4144 (International)
© Copyright 2008 Varien. Magento, eCommerce software, is a trademark of Irubin Consulting Inc. DBA Varien
Privacy Policy|Terms of Service
Magento Community Count
52325 users|507 users currently online|105669 forum posts