On Wed, 2011-08-24 at 08:25 -0400, Yehuda Katz wrote:
> On Wed, Aug 24, 2011 at 8:06 AM, Josu Lazkano
> <josu.lazk...@barcelonamedia.org> wrote:
>         I have this error: http://dl.dropbox.com/u/1541853/apache2.png
>         
>         It can handle the "PĂ gina" word, it looks like a encoding
>         problem
> Instead of speculating:
> Any time you get a 500 error (as shown in your screenshot), there
> should be an entry in Apache's error log.
> Please post whatever error you find there.
> 
> 
> - Y 

Thanks Yehuda, sorry I forgot the log, here is the error log line when I
access to that page:

[Wed Aug 24 14:32:45 2011] [error] [client 84.88.76.10] PHP Fatal error:
Allowed memory size of 20971520 bytes exhausted (tried to allocate 30720
bytes) in /var/wikifarm/wiki/includes/Xml.php on line 593, referer:
http://mydomain/

I just check the memory limit on PHP5 and it has enough:

$ cat /etc/php5/apache2/php.ini | grep memory_limit
memory_limit = 128M

And this the line 593 on the /var/wikifarm/wiki/includes/Xml.php:

self::encodeJsVar( $elt );


Thanks and kind regards.

Reply via email to