zikula-modules / Formicula

A template-driven form mailer for Zikula
https://ziku.la
19 stars 7 forks source link

SimpleCaptcha memory problem #28

Closed hvorragend closed 11 years ago

hvorragend commented 13 years ago

This line causes a fatal error

$im = imagecreate ($box['width'], $box['height']);
Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 33554434 bytes) in /www/htdocs/foo/demo/modules/Formicula/templates/plugins/function.simplecaptcha.php on line 114
espaan commented 13 years ago

wow, not in my local MAMP install ?

hvorragend commented 13 years ago

I can also well imagine that the problem occurs only sporadically. And that not all server environments are affected. I had the problems on our German demo site.

But if we replace SimpleCaptcha anyway by the Captcha module of Craig, then we do not have the problem even more.

espaan commented 13 years ago

:-) I have at least not encountered it. And indeed I would certainly like to the use the captcha module of Craig. I saw you mail on the list, did you succeed in getting it in the form?

craigh commented 13 years ago

ah - so this is the reason for the question... in order to work, Formicula must implement all 1.3.x-style hooks (not old type). News works properly so you could copy that.

espaan commented 11 years ago

I will close this one for now, if it still occurs witht eh simple captcha then re-enter.