Need some help or pointed in right direction

Status
Not open for further replies.

parushing

New member
May 26, 2007
91
3
0
I am working on a word press site and when I attempt to delete a post I get the following error:


Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate 141 bytes) in /home/pronto/public_html/wp-includes/link-template.php on line 102

I also get similar errors when trying to rebuild the sitemap. I don't see how on the .php file to increase the memory so I am totally lost. If someone can tell me what I need to do or point me in the right direction I would be greatly appreciated.

Thanks... Paul
 


The problem is most likely a faulty plugin using too much memory. It is most likely the sitemap plugin. I'd suggest deactivating the plugins one at a time to see which one is the problem. If you don't want to deactivate any of them, you can increase your server's PHP memory usage. Add this line to your .htaccess file:

php_value memory_limit 32000000

*That is only a temporary fix
 
The gode in the .httaacess looks like this:

HTML:
# -FrontPage-
IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*
<Limit GET POST>
order deny,allow
deny from all
allow from all
</Limit>
<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>
AuthName www.pxxxxxxxxx.com
AuthUserFile /home/pxxxx/public_html/_vti_pvt/service.pwd
AuthGroupFile /home/pxxxx/public_html/_vti_pvt/service.grp
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress
Where would I enter that line of code. I uninstalled the sitemap plugins and still get the errors in the Control Panel if I try to delete a post.

Thanks for your help.

Paul
 
Last edited:
Status
Not open for further replies.