Re: crash
| From: | Matthew Weier O'Phinney | Date: | Fri, 14 Jan 2005 16:33:26 +0000 |
| Subject: | Re: crash | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-12158@lists.php.net to get a copy of this message | ||
* Michiel van der Blonk <michiel@caribmedia.com>:
> Apache crashes right after I send mail and then try to show a page having
> Smarty variables. When I delete the sendmail line everything is fine. When I
> delete the Smarty variables from the template, also everything is fine.
>
> As soon as I put one variable in the 'confirmation'-template that is shown
> after sending mail, the problem occurs.
>
> Result: Apache error messages:
> emalloc: cannot allocate ... bytes
> and also
> erealloc: cannot allocate ... bytes
>
> I just upgraded to php 4.3.10 on FreeBSD.
This is going to be hard to debug without seeing some code. What happens
if you don't display a Smarty page after sending the mail (i.e., display
static HTML or nothing at all)? What happens if you don't send the mail
but display the Smarty confirmation page (variables and all)?
--
Matthew Weier O'Phinney | mailto:matthew@garden.org
Webmaster and IT Specialist | http://www.garden.org
National Gardening Association | http://www.kidsgardening.com
802-863-5251 x156 | http://nationalgardenmonth.org