Current time: 04-23-2024, 10:00 AM Hello There, Guest! (LoginRegister)


Post Reply 
Wordpress upload 500 internal server error
Author Message
robbo007 Offline
Junior Member
*

Posts: 136
Joined: Apr 2009
Reputation: 0
Post: #1
Wordpress upload 500 internal server error
Hi there,
Having some peoples with one users Wordpress. When they upload a file via the Wordpress manager they get an Internal 500 error.

Any ideas how to fix this?
Thanks,
Rob
09-07-2012 09:02 PM
Find all posts by this user Quote this message in a reply
ephigenie Offline
Project Leader
*******
Administrators

Posts: 1,578
Joined: Oct 2006
Reputation: 15
Post: #2
RE: Wordpress upload 500 internal server error
check the logfiles. Most probably he hit one limit in php like upload limit, memory limit or or or...
09-08-2012 05:40 PM
Visit this user's website Find all posts by this user Quote this message in a reply
robbo007 Offline
Junior Member
*

Posts: 136
Joined: Apr 2009
Reputation: 0
Post: #3
RE: Wordpress upload 500 internal server error
hmm seems to be happening in Squirelmail too. Not good. Does anyone know what lines need to be changed in the /etc/php5/apache2/php.ini to resolve these Internal 500 errors?

Thanks,
Rob
Hmm this seems to have solved one of the 500 errors:

adding this:
MaxRequestLen 157286400

to my config:
/etc/apache2/mods-enabled/fcgid_ispcp.conf

I'll keep you posted on the progress.
(This post was last modified: 09-10-2012 05:34 PM by robbo007.)
09-10-2012 04:38 PM
Find all posts by this user Quote this message in a reply
robbo007 Offline
Junior Member
*

Posts: 136
Joined: Apr 2009
Reputation: 0
Post: #4
RE: Wordpress upload 500 internal server error
Hmm I seem to be getting an error now from the cron.d process:

Cron <root@sosaria> [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -type f -cmin +$(/usr/lib/php5/maxlifetime) -delete (failed)

find: invalid argument `-delete' to `-cmin'

It seems to be from my crontab:

sosaria:/etc/cron.d# cat php5
# /etc/cron.d/php5: crontab fragment for php5
# This purges session files older than X, where X is defined in seconds
# as the largest value of session.gc_maxlifetime from all your php.ini
# files, or 24 minutes if not defined. See /usr/lib/php5/maxlifetime

# Look for and purge old sessions every 30 minutes
09,39 * * * * root [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -type f -cmin +$(/usr/lib/php5/maxlifetime) -delete
sosaria:/etc/cron.d#


Any ideas?
09-11-2012 12:46 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)