Linode.com Forum Forum Index Linode.com Forum
Linode Community Forums
 


MediaWiki Problems--Can't Edit

Click here to go to the original topic

 
       Linode.com Forum Forum Index -> Linux, Apache, Mysql and PHP (LAMP) Forum
Author Message
Dawg



Joined: 11 Nov 2006
Posts: 2

Posted: Sat Nov 11, 2006 8:46 pm    Post subject: MediaWiki Problems--Can't Edit  

Anybody got MediaWiki 1.7.1 working on their Linode? I dumped my home wikis on my Linode while I'm moving cross-country and my home connection is down, but editing isn't working. I just wind up back at the page I was trying to edit.

Info:
- Linode 80
- CentOS 4 image
- 1024M Swap
- httpd-2.0.52-28.ent.centos4
- mysql-4.1.20-1.RHEL4.1
- php-5.0.4-5.centos4

Whenever I try to select an "edit" link, it doesn't work, but I get the following error in logs/error_log:

[client A.B.C.D] PHP Fatal error: Allowed memory size of 8388608 bytes exh
austed (tried to allocate 14592 bytes) in APACHEROOT/~user/public_html/mediawiki-1.7.1
/includes/Sanitizer.php on line 861, referer: https://MYSERVER/~user/
wiki/index.php/Main_Page
Allowed memory size of 8388608 bytes exhausted (tried to allocate 3 bytes)
Back to top  
JDM



Joined: 27 Sep 2006
Posts: 33
Location: Maryland, USA

Posted: Sat Nov 11, 2006 9:50 pm    Post subject: Re: MediaWiki Problems--Can't Edit  

Have you tried adjusting the PHP memory_limit? (in your php.ini)
Back to top  
Dawg



Joined: 11 Nov 2006
Posts: 2

Posted: Mon Nov 13, 2006 10:02 pm    Post subject: Re: MediaWiki Problems--Can't Edit  

JDM wrote: Have you tried adjusting the PHP memory_limit? (in your php.ini)

Bam! Thanks!
Back to top  
tierra



Joined: 06 Aug 2004
Posts: 157

Posted: Mon Nov 27, 2006 10:48 am    Post subject: Re: MediaWiki Problems--Can't Edit  

Dawg wrote: - 1024M Swap
Just thought I'd add that this is way more swap space than you should be running on a Linode 100. Depending on your needs, you might need at the most 512MB, but if you're using more than 256MB of swap space on a Linode 100, you've got other problems to worry about than running out of memory... like swap thrashing.
Back to top  
 
       Linode.com Forum Forum Index -> Linux, Apache, Mysql and PHP (LAMP) Forum
Page 1 of 1