Closed (fixed)
Project:
Omega Kickstart
Version:
7.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
16 Oct 2012 at 15:14 UTC
Updated:
27 Feb 2013 at 16:00 UTC
Jump to comment: Most recent file
I upgraded today from rc1 to -dev, and as a result started getting errors like this:
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 9020 bytes) in .../public_html/profiles/commerce_kickstart/themes/omega_kickstart/template.php on line 35
So I upped the PHP memory limit to 512M, and corresponding errors occurred. So I upped it to 1 gig, the error went away, but I could no longer even reach the page, I got a 'connection reset' page instead.
In the meanwhile, admin theme pages continued to work.
So I downgraded to the rc1 version of all the themes, and the problems went away.
Just thought I'd let someone know.
Comments
Comment #1
brephraim commentedThe error is coming from this code:
For the time being, I have the latest profiles/commerce_kickstart/themes folder from rc2, commented out the above function, and everything appears to be working.
Any help?
Comment #2
bojanz commentedThat's huge help, thanks!
Comment #3
brephraim commentedYeah, that was basically a poorly disguised "bump"...
Comment #4
TimelessDomain commentedRelated - #1828058: Undefined Index notices and some warnings with fonts.com, omega sub-theme, commerce kickstart 2 profile.
Comment #5
dinofile commentedI am still getting the problem in Omega Kickstart 7.x-3.0-rc2 ...
don't know if its correct, but to stop memory crash problem, in that function I commented out this line and added the line below it (basically used $key instead of $item['basename']). Seems to work, but don't really know what is going on :)
//$css[$item['basename']]['basename'] = 'RTL::' . $item['basename'];
$css[$key]['basename'] = 'RTL::' . $item['basename'];
Comment #6
slawless commentedThis is on the template.php correct?
Comment #7
brephraim commenteddinofile's code change worked for me.
Comment #8
jsacksick commentedDid you have the time to try the fix Cookiz ?
Comment #9
jsacksick commentedComment #10
jsacksick commentedHere's the patch that also update the LANGUAGE_RTL condition, only alter the css if the language direction is RTL.
Comment #11
jsacksick commentedSame patch with the $language->direction check before the loop
Comment #12
jsacksick commentedJust FYI, this fix has been added to Kickstart v2.1
Comment #13
jsacksick commentedOk the last patch introduced a regression in KS, and wasn't working at all, here's a new patch.
Comment #14
jsacksick commentedCommitted to dev