If you change the default option for a subproduct before adding to cart and click update cart it sends me to a white page with the following error:

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 14 bytes) in /home/translat/public_html/middleearth/modules/ecommerce/subproducts/subproducts.inc on line 88

Comments

PixelClever’s picture

I just wanted to give you a link to the page where this is happening: http://www.quantumkinetic.com/node/27 To recreate the error change one of the attributes and click submit.

dolittle’s picture

Can you please give me the steps you used to build a subproduct?
I`ve tried everything but it doesn`t work for me.

Thanks

PixelClever’s picture

Title: Update price on subproduct causes fatal error » Subproducts broken

Actually now that you asked I tried to create a new subproduct again but it doesn't work now. There used to be a tab that said "variations" on next to the edit tab for the node. I don't know what happened but it appears that the subproduct part of the module is more broken than I had previously thought. The subproduct that I had created before throws an error when you try to use it, and I am unable to create new subproducts.

duntuk’s picture

this also happens on my server... i even tried giving php 512MB for memory with no difference...

this is on php 5.2.3 (eaccelerator 0.9.5.1) , MySQL 4.1.21, Apache 2.2.4, dual 852 opteron, 4gb ram

i've only seen this happen with this module...

I'll upgrade php to 5.2.4 and eaccelerator to 0.9.5.2 to see if that fixes it...

PixelClever’s picture

Title: Subproducts broken » Subproducts fatal error now on line 89 instead of line 88

The subproducts module still crashes when I attempt to chose a different attribute (in this case color) and click update price. The error that it returns is as follows:
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 8 bytes) in.../modules/ecommerce/subproducts/subproducts.inc on line 89
This error has been in effect since the last alpha release. I don't mean to be hassling you guys about it, I just don't know whether you guys just haven't noticed this bug, or whether there is some other reason for it staying for now.

brmassa’s picture

Status: Active » Fixed

Guyus,

i fixed this on eC4 CVS.

regards,

massa

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.