ispCP - Board - Support
Wordpress upload 500 internal server error - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: System Setup & Installation (/forum-32.html)
+--- Thread: Wordpress upload 500 internal server error (/thread-16281.html)



Wordpress upload 500 internal server error - robbo007 - 09-07-2012 09:02 PM

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


RE: Wordpress upload 500 internal server error - ephigenie - 09-08-2012 05:40 PM

check the logfiles. Most probably he hit one limit in php like upload limit, memory limit or or or...


RE: Wordpress upload 500 internal server error - robbo007 - 09-10-2012 04:38 PM

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.


RE: Wordpress upload 500 internal server error - robbo007 - 09-11-2012 12:46 AM

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?