Posted by brephraim on October 16, 2012 at 3:14pm
10 followers
| Project: | Omega Kickstart |
| Version: | 7.x-3.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Cookiz |
| Status: | closed (fixed) |
Issue Summary
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
#1
The 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?
#2
That's huge help, thanks!
#3
Yeah, that was basically a poorly disguised "bump"...
#4
Related - #1828058: Undefined Index notices and some warnings with fonts.com, omega sub-theme, commerce kickstart 2 profile.
#5
I 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'];
#6
This is on the template.php correct?
#7
dinofile's code change worked for me.
#8
Did you have the time to try the fix Cookiz ?
#9
#10
Here's the patch that also update the LANGUAGE_RTL condition, only alter the css if the language direction is RTL.
#11
Same patch with the $language->direction check before the loop
#12
Just FYI, this fix has been added to Kickstart v2.1
#13
Ok the last patch introduced a regression in KS, and wasn't working at all, here's a new patch.
#14
Committed to dev
#15
Automatically closed -- issue fixed for 2 weeks with no activity.