Documentation


SEARCH

TABLE OF CONTENT

    1. Getting started 2. Basic concepts 3. Request dispatching 4. Context container 5. Dual MVC 6. Component model: 7. Security 8. Configuration 9. Session handling 10. I18n 11. Cache 12. Logging 13. Error handling 14. Advanced Topics 15. API reference

      Tutorials: Frequently Asqued Questions

      See also:


      Troubleshooting

      Table of Contents

      1. I get an error 55601: Unknown Url format

      Ensure that your web server url rewrite engine is working (i.e. for apache users: ensure that mod rewrite module is enabled as well as the apache AllowOverride directive).

      Also check the .htaccess located in the root directory of your appliation. Sometime (depending on your server configuration) you may need to fix the directory where your application is located within your web server:

      1. ...
      2.   
      3.   <IfModule mod_rewrite.c>
      4.     RewriteEngine On
      5.     #fix the following directive if you experience problems with url redirections:
      6.     your_application/directory/here  
      7.   
      8.   ...

      Note: Lion has his own Url rewrite engine, so a common mistake the first time working with Lion is to try to call to the index.php directly from the browser (i.e. http://yourdomain/index.php).
      Try to use an url ending with .html extenssion (i.e. http://yourdomain/index.html) which is the default url format out of the box. Urls can be customized by defining routes, take a look at URLs and Routes for more information.

      Also take a look at System requirements and Installation section.

      2. A Forbidden error is shown when I try to execute an application from the browser

      This is commonly due to a permissions issue.
      Just check that the web server user has enough permissions to access to both the Lion framework and to your application files.

      3. A 404 error is shown when I try to execute the index.html page

      Your web server is not redirecting requests propertly to the index.php file.

      For apache users, most common causes are:

      • The mod rewrite module is disable. In that case, enable it.
      • The AllowOverride directive is disabled. In that case,

      Take a look at System requirements section.