try to clear the folder “cache” under the plugin root by deleting the “Twig” folder inside it
wp-content/all-in-one-event-calendar/cache/twig
Make sure “cache” is writable to regenerate twig cache
Thinking better, probably your php has been compiled without hash support we are working on a workaround
What PHP version are you using?
first suggestion did not worked.
php5.3
Enabled “hash” in hosting php options – message was gone, but now i got another one:
Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate 306052 bytes) in /wp-admin/includes/admin.php on line 50
but in file i couldn’t find any reference to memory
You have to turn up maximum system memory it seems. Do you have the message in all pages?It’s strange because version 2 is much lower on resource usage.
no, message appear only in admin panel.
i think i will leave it installed for a night and look tomorrow on mem usage statistic.
ok, memory load didn’t increased after i installed your plugin. Maybe i should delete all ai1ec brances in sql database?
well, problem was in memory limit. increased it to 64 mb – all seems working.
Only problem in Calendar Feeds:
We couldn’t find a valid transport to fetch the calendar data. You should set allow_url_fopen in php.ini as suggested in this article
problem exist even when i manually enable allow_url_fopen in hosting admin panel
it’s getting ridiculous π uploaded *.isc file from google drive instead from my site itself, works so far
Last question: how make Excerpt in widget show more lines than two?
About the memory, can you make some profiling and tell us how much memory is used by our plugin?We should be very low on pages which are not our pages. About the error, that’s an old error message and it’s related to something else probably. Can you give me the feed?
About the excerpt, this is not configurable as of now you would have to touch php code.
This is daily graph from my hoster
<img src=”http://i57.fastpic.ru/big/2014/0410/1f/42fbd2da586af7593b068de55c3b071f.gif” border=1>
i have installed your plugin on 14:50 approx. As you see load almost the same. Old version caused to easily brake 200 mb, so now it’s much better. If you know plugin that could give better info pleasΡ name it – i will give you feedback π
link on *.ics but allow_url_fopen disabled now as usual
please point me on exact file, i will make changes π
Hi,
i imported 18 events without problem from that feed as you can see in the image http://take.ms/3Q9vV
if you want to check what’s happening to you you must go to folder lib/calendar-feeds and open file ics.php. On lin 69 you’ll find
$response = wp_remote_get( $feed->feed_url, array( 'sslverify' => false, 'timeout' => 120 ) );
Check what $response is.
As for the excerpt check in folder app/view/event the file post.php, function trim_excerpt. As you can see there is a filter you can hook into
apply_filters( 'wp_trim_excerpt', $text, $raw_excerpt );
you might want to use that
i have same:
$response = wp_remote_get( $feed->feed_url, array( ‘sslverify’ => false, ‘timeout’ => 120 ) );
no, that is trim of text itself, i need one that cuts title of event
Ok but that line is called every time you update the feed. What is the value of $response when you try to update the feed?
Sorry for the other thing, it should under lib/twig file ai1ec-extensions.php function truncate()