[Resolved] an error was encountered (500)

Status
Not open for further replies.

cornish

Well-Known Member
#1
Hi just trying litespeed again but i notice one site as this error below, any idea what it could be please.
Code:
an error was encountered (500)

Migration has an invalid filename
 
Last edited by a moderator:

cornish

Well-Known Member
#4
Hi found this but not sure what it means, i think its something to do with Suphp
Code:
2014-03-26 23:20:48.645 [INFO] [APVH_eop_Suphp:] PID: 9603, add child process pid: 14842, procinfo: 0x1f62ef0
 
Last edited by a moderator:

cornish

Well-Known Member
#7
Turned this on and it says
Code:
Suphp:] PID: 32579, add child process pid: 2021, procinfo: 0xc6f150
 
Last edited by a moderator:

mistwang

LiteSpeed Staff
#8
It has nothing to do with the 500 error, you need to set "Debug level" to "HIGH", then try the URL produce 500 error. grep error log with the IP that the request originated.
 

NiteWave

Administrator
#10
the error message is:
an error was encountered (500)
Migration has an invalid filename
by comparing phpinfo under apache and litespeed:
apache: domain.com/phpinfo.php
  • without Suhosin
  • open_basedir: no value

lsphp: domain.com:4080/phpinfo.php
  • with Suhosin v0.9.33, Copyright (c) 2007-2012, by SektionEins GmbH
  • open_basedir: /path/to/public_html:/usr/lib/php:/usr/php4/lib/php:/usr/local/lib/php:/usr/local/php4/lib/php:/tmp
for open_basedir: exact issue as http://blog.litespeedtech.com/2012/...en_basedir-in-the-shared-hosting-environment/ addressed

for Suhosin, edit /usr/local/lib/php.ini, comment out
extension=suhosin.so

after above 2 major fixes, 500 error under litespeed is gone.
the main one should be the open_basedir fix.
 
Status
Not open for further replies.
Top