Troubleshooting Installations

    Internal server errors are usually a result of bad .htaccess configurations. Make sure unmodified copies of the .htaccess files from the lithium repo are in these places:

    • /app/.htaccess
    • /app/webroot/.htaccess

    You might also be running in a directory on your web server that is already under rewrite rules (often URLs that include your username such as http://username.example.com or ). This may cause 500 Internal server errors, or in some cases, cause a redirect loop.

    • /app/.htaccess => RewriteBase /app/
    • /app/webroot/.htaccess =>

    Make sure to place the RewriteBase directive just after RewriteEngine on.

    Usually this is a result of .htaccess files not being parsed. Make sure that the directives that cover your li3 installation include the following line:

    1. Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /path/to/lithium/app/webroot/index.php on line 22

    This means you’re not running PHP 5.3 or later. Please check your PHP version and update as appropriate.

    Function name must be a string in …/lithium/util/collection/Filters.php on line …

    If you didn’t know you had eAccelerator installed, it’s because you’re running MAMP, which
    sometime comes pre-bundled with eAccelerator. In this case, the solution is to man up (or
    woman up) and get Homebrew. You’ll be glad you did.