[solved] an error was encountered (500)

Discussion in 'Install/Configuration' started by cornish, Mar 26, 2014.

  1. cornish

    cornish Member

    Hi just trying litespeed again but i notice one site as this error below, any idea what it could be please.

    an error was encountered (500)

    Migration has an invalid filename
  2. mistwang

    mistwang LiteSpeed Staff

    Please check /usr/local/apache/logs/error_log if you are using cPanel, otherwise, check /usr/local/lsws/logs/error.log .
  3. cornish

    cornish Member

    Hi have but cant see anything and not really sure what i am looking for
  4. cornish

    cornish Member

    Hi found this but not sure what it means, i think its something to do with Suphp

    2014-03-26 23:20:48.645 [INFO] [APVH_eop_Suphp:] PID: 9603, add child process pid: 14842, procinfo: 0x1f62ef0
  5. mistwang

    mistwang LiteSpeed Staff

    You may need to turn on debug logging, then reproduce the problem. then locate log entries related to this request with your IP.
  6. cornish

    cornish Member

    Think its best i don't use it,
  7. cornish

    cornish Member

    Turned this on and it says
    Suphp:] PID: 32579, add child process pid: 2021, procinfo: 0xc6f150
  8. mistwang

    mistwang LiteSpeed Staff

    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.
  9. cornish

    cornish Member

    Yes done that and now have a huge list that scrolls for ever and ever?
  10. NiteWave

    NiteWave Administrator

    the error message is:
    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.

Share This Page