Topic: Installation on Ubuntu 14.04

Please be patient as I´m new to FrontAccounting and English is not my first language. Thanks.

I downloaded the zip file frontaccounting-2.3.22.zip. Installed apache2 with Php5. Working ok. Unzipped the file to a directory ( I named it "front") below www/html. Started http://localhost/front/install/index.php. It shows the install page in the browser. Fixed some error showed in the page.

I now have two errors I do not know how to fix them:
1. Database auth file: Can't write '../config_db.php' file. Check FA directory write permissions.
This file do not exists and didn´t came in the zip. I didn´t find any document where I can see what should be in this file. If I create this file empty it appears the login page with lots of errors.
2. Main config file: Can't write '../config.php' file. Check FA directory write permissions.
This file do not exist. If I create an empty file it says:  '../config.php' file exists. And if I copy the  config.default.php file as config.php it the error is the same '../config.php' file exists.

Please, anyone can give me some advice?

Thanks a lot,
Augusto

2 (edited by apmuthu 01/21/2015 02:06:11 pm)

Re: Installation on Ubuntu 14.04

Execute the following commands as root (sudo):

BASEDIR=/var/www/html
chown -R www-data:www-data ${BASEDIR}
find ${BASEDIR} -type f -exec chmod 644 \{\} \;
find ${BASEDIR} -type d -exec chmod 755 \{\} \;

Make sure that no config.php or config_db.php file exists to start with.

Re: Installation on Ubuntu 14.04

It worked well. Thanks a lot. I had to change find ${BASEDIR}/var/www/html -type f -exec chmod 644 \{\} \; for
find ${BASEDIR} -type f -exec chmod 644 \{\} \;

Thanks!!!
Augusto

Re: Installation on Ubuntu 14.04

Stands corrected - that's what happens when typing in BBCode....