I installed the module tonight, and when I try to go to my homepage I get:
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 72 bytes) in /home4/pinella2/public_html/modules/gcal_events/simplepie.inc on line 14567
Suggestions?
Comments
Comment #1
joschka-1 commentedThe problem in this case is that you probably have in your callendar some events that appear periodicaly, let us say every week, endless...
that is ok, but this module has one bug, it loads the table with values from your calendar and loads them DESCENDING...that means it takes all you have and loads let us say default 2500 records to your table, but not the first once but the last...who knows, probablu from year 2023 backwards... ;)
to fix that i went to the /modules/gcal_events/gcal_events.module
and after the row
array_push($calendar_xml_array, "max-results=2500", "orderby=starttime", "singleevents=true");
put this one
array_push($calendar_xml_array, "sortorder=ascending");
so it will take the reckords from the beginning... that will work for maybe 10 years... but actually i guess this way it will take all records and use the first once, even the once that already took place, and that one day will be more then 2500... ;)
so that is what will work for now and let's hope a better fix comes up soon...
Comment #2
Se7enLC commentedIt was already fixed in the dev version
Comment #3
jdwfly commentedClosing old support request.