The Bug Genie
The Bug Genie
star_faded.png
Please log in to subscribe to updates for this article
The Bug Genie:Install_Errors
Last updated at Fri Aug 30 16:54, by kanto501

This is a listing of some common Installation Errors you might encounter  ⇑ top

The requested URL /thebuggenie/thebuggenie/do/login was not found on this server.  ⇑ top
If you're getting that error, it means that the url rewrite module is not being enabled. There could be an issue with the auto-generated .htaccess, for instance - you should open up /thebuggenie/.htaccess and check to make sure it's correct, as well as make sure there's no other configuration issues. A typical .htaccess file looks like this:
1. Especially take note that RewriteEngine is "On" and that RewriteBase is pointing to the correct directory location for your install.<BR> 2. Also make sure the .htaccess file is located in the correct directory. In a standard install that would be /thebuggenie/thebuggenie. It should not be in /thebuggenie
3. If you use eaccelerator, make sure it is switched off in the .htaccess file.
AddHandler application/x-httpd-php54s .php
    RewriteEngine on 
    #  RewriteBase /
    # Example:
    # RewriteBase /
    # or
    # RewriteBase /dev/thebuggenie
    # skip all hidden files (starting with a .)
    RewriteCond %{REQUEST_URI} \..+$
    RewriteCond %{REQUEST_URI} !\.(html|wsdl|json|xml)$
    RewriteRule .* - [L]
    # redirect to front controller
    RewriteRule ^(.*)$ index.php?url=$1 [NC,QSA,L]
    RedirectMatch 403 ^/\.svn(/|$)

*Note: some hosting providers have problem with .* and QSA. If so, you need to replace:
Select all
 RewriteRule ^(.*)$ index.php?url=$1 [NC,QSA,L]
to
Select all 
 RewriteRule ^([^.]+)[\/]{0,1}$ index.php?url=$1 [NC,QSA,L] in your .htaccess file.

Problem with installing on Nginx  ⇑ top

I had the problem with rewrite of urls. I fixed in first step config thebuggenie folder like root:
Code: Select all
root    /srv/www/<domain>/thebuggenie;
in the location block in nginx.conf. But I still have problem with link to resources like images, avatars and fonts folder. My final server block in nginx.conf is this:
Code: Select all
server {
            listen       80;
            server_name  localhost;
            root          /srv/www/<domain>/public_html/thebuggenie;
            index        index.php;
       
       location ~ \.(php|html|htm)$ {
           fastcgi_pass  unix:/var/run/php-fpm/php-fpm.sock;
           fastcgi_index index.php;
           include       fastcgi.conf;
           fastcgi_param HTTPS on;
           include       fastcgi_params;
       }

       #location ~ /thebuggenie/(?<suburi>.*){
       location ~ /(.*) {
                        set $suburi $1;
                        try_files $uri $uri/ /index.php?url=$suburi&$args;
                }      
        }




Article attachments

There are no file attached to this article

Article comments (4)