I have installed UBUNTU, 14.04. I have apache2 installed, wth PHP5 and mySQL. I removed all files in /var/www/html
I downloaded master.zip, ran unzip master.zip
moved all files, including the hidden files .htaccess .gitignore
I modified the .htaccess file to relflect /var/www/html/invoice
I still get a 404 error.
My .htacess file consist of this.
Remove index.php
RewriteEngine on
RewriteBase /invoice
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule . index.php [L]
/var/www/html/invoice is where all the files are
i open my browser and http://192.168.0.20/invoice/setup
I get 404 file not found error. Any ideas what Im doing wrong or where to fix this?
Kovah
January 19, 2015, 5:26pm
2
Is mod_rewrite enabled on your server? Without the .htaccess file won’t work.
Kovah:
mod_rewrite
I got it as far having a user called invoice with password, then I grant permissions to all ablitlies on user etc. I put in
localhost
user: invoice
password:****
database name: invoice
it gets to the part of
http://192.168.0.20/setup/configure_database
doesnt go any further. I have tried redoing it three times and it still just goes that far.
I just looked at my logs file.
DEBUG - 2015-01-19 12:53:01 --> Router Class Initialized
ERROR - 2015-01-19 12:53:01 --> 404 Page Not Found -->
DEBUG - 2015-01-19 12:53:16 --> Config Class Initialized
DEBUG - 2015-01-19 12:53:16 --> Hooks Class Initialized
thats what I get. There is a ERROR, but dont know where its coming from.
Also…i checked one other thing. I noticed that there is no data in the database invoice. it has zero tables etc.
Below is the error I get. On the final Step
localhost
user: invoice
password:****
database name: invoice
Alert!: HTTP/1.0 500 Internal Server Error
Kovah
January 19, 2015, 8:39pm
7
In that case you have to check your Apache server logs.
lommes
January 19, 2015, 8:44pm
8
I’m not sure, but I think RewriteBase needs a trailling /
This could result in error 500
Some log would be great
Kovah
January 20, 2015, 7:40am
9
No I dont think so.
There’s something wrong with the Apache <> MySQL setup as he gets the error after the database part of the InvoicePlane setup.
I figured it out. The root mysql password was not set. Kind of odd, considering…But that was what it was. Thanks so much for the help and a EXCELLENT peice of software.