Topic: Errors in new install of FrontAccounting - wrong Webroot Path
A new installation on Ubuntu. (FrontAccounting Version 2.3.24 Build 26.10.2015)
Eventually managed to get everything setup, and can login. However, having an issue.
After clicking on any link, I'm returned to the login screen. If I login, then I get to that previously clicked page, but I have to login after every click.
On the page(s), I get 4 lines of errors:
session_start(): open(/opt/FrontAccounting/includes/opt/FrontAccounting/tmp//sess_hpsp7onb2fq9l0a05p85ts8in5, O_RDWR) failed: No such file or directory (2) in file: /opt/FrontAccounting/includes/session.inc at line 29
session_write_close(): open(/opt/FrontAccounting/includes/opt/FrontAccounting/tmp//sess_k7f4dqh3h1k89mnh9r8i189cj2, O_RDWR) failed: No such file or directory (2) in file: /opt/FrontAccounting/includes/session.inc at line 86
session_write_close(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/opt/FrontAccounting/includes/opt/FrontAccounting/tmp/) in file: /opt/FrontAccounting/includes/session.inc at line 86
session_start(): open(/opt/FrontAccounting/includes/opt/FrontAccounting/tmp//sess_k7f4dqh3h1k89mnh9r8i189cj2, O_RDWR) failed: No such file or directory (2) in file: /opt/FrontAccounting/includes/session.inc at line 90
The application is installed at /opt/FrontAccounting, which is the webroot for the V-host. Apparently, the script is picking up the directory as a relative path as opposed to an absolute, and thus, is duplicating it, as in "/opt/FrontAccounting/includes/opt/FrontAccounting/tmp//". Note that there is also a double slash at the end of the path.
I have checked the permissions and they seem to be OK.
Any pointers?