Install_ Errors
https://secure.gravatar.com/avatar/cf3f3abe2a109700ea937dfd1d03b969.png?d=wavatar&s=28
Fri Aug 30 16:54 Authored by kanto501

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

The requested URL /thebuggenie/thebuggenie/do/login was not found on this server.  
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  

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;
                }      
        }



Categories

Installation

Attachments 0

Comments 4

 FrenchBugGenie
Jan 28, 2014 (23:25)
Cancel
Hi all,

I have installed thebuggenie a long time ago so yersterday i was attempting to mount a new system based on the latest version.

So i have install Centos 6 / Apache 2.2.15 / MySQL on a single machine.

During the installation of thebuggenie i encounter the ssame error : "the url requested...."

But i found something which allo to keep the default .htaccess, following the step below:

1 - Do not change the values contained into the textarea of the URL Rewriting installation step. 2 - Do next, and disable the email / cvs options to terminate the installation correctly (we will activate them later). 3 - Go to the /etc/httpd/conf/httpd.conf file and set the
AllowOverride
directive value of the
<Directory "/var/www/html">
to
All
4 - Add the
index.php
to the
DirectoryIndex
directive (I don't know if it's usefull but i do it) 5 - Save the file and restart the server : service httpd restart => Taaadaaaam : BugGenie can again realize my whishes (url= http://<IPAddress>/thebuggenie/thebuggenie/) smileys/2.png

WARNING: The document root for Apache 2.2 is /var/www/html and not /var/www
 dixoncheung001@gmail.com
Mar 01, 2014 (23:05)
Cancel
If you're having apache2 rewrite errors and are unable to figure out what is going on, you may just not have the apache2 rewrite module enabled. To enable, use the command:
  a2enmod rewrite
 vballprincess859
Mar 31, 2014 (08:26)
Cancel
I'm posting my fix for this issue because I haven't seen it anywhere yet. My problem was that I didn't rename my directory that I downloaded from the site, so my URL looked like this: http://localhost/thebuggenie-3.2.6/thebuggenie/. I didn't realize it at first, but the .htaccess file checks for anything with a '.' in the URL and just passes it through without rewriting. So it was passing EVERYTHING through because of the 3.2.6 in the URL. So, I simply renamed it to localhost/thebuggenie/thebuggenie (and updated the RewriteBase directive in .htaccess), and everything works great now.

dixoncheung001@gmail.com wrote:
If you're having apache2 rewrite errors and are unable to figure out what
is going on, you may just not have the apache2 rewrite module enabled. To
enable, use the command:
a2enmod rewrite


 zegenie
Dec 28, 2016 (13:15)
Cancel

Test comment