Hi everyone,
I have installed astpp several times today and at each time I get the same problem when trying to login with the default password: Passw0rd!: "Login unsuccessful. Please make sure you entered the correct username and password, and that your account is active."
I've chosen all the parameters as default during the installation and I've used localhost as server address asked at the beginning.
I get an error page in the browser after the installation so I copied the directory /usr/lib/html/astpp/ in /var/www/html/astpp/ and changed the owner and the group to www-data
Here is the folder content
-rwxr-xr-x 1 www-data www-data 4161 May 16 19:19 /var/www/html/astpp/.htaccess
drwxr-xr-x 16 www-data www-data 4096 May 16 19:19 application
drwxr-xr-x 7 www-data www-data 4096 May 16 19:19 assets
-rwxr-xr-x 1 www-data www-data 2036 May 16 19:19 changelog.txt
drwxr-xr-x 2 www-data www-data 4096 May 16 19:19 cron
-rw-r--r-- 1 www-data www-data 1406 May 16 19:28 favicon.ico
-rwxr-xr-x 1 www-data www-data 4161 May 16 19:19 htaccess
-rwxr-xr-x 1 www-data www-data 6354 May 16 19:22 index.php
-rwxr-xr-x 1 www-data www-data 2496 May 16 19:19 license.txt
drwxr-xr-x 8 www-data www-data 4096 May 16 19:19 system
After putting define('ENVIRONMENT', 'development'); I got this:
A PHP Error was encountered
Severity: Notice
Message: Trying to get property of non-object
Filename: controllers/login.php
Line Number: 47
Here are some details about my config:
Linux version 2.6.32-5-amd64 (Debian 2.6.32-48squeeze6) (
j...@debian.org) (gcc version 4.3.5 (Debian 4.3.5-4) ) #1 SMP Tue May 13 16:34:35 UTC 2014
/var/lib/astpp/astpp-config.conf content is:
; ASTPP Database Connection Information
dbhost = 127.0.0.1
dbname = astpp
dbuser = root
dbpass = XXXXXXXXXX
; Database type: ASTPP was designed for a MySQL database initially. Valid options are:
; MySQL. Pgsql is coming but is not ready yet.
astpp_dbengine = MySQL
; Do we want the startup of ASTPP debugged?
debug = 0
;Define Baseurl
;Note : Default we are running ASTPP on 8081. So, please do not remove 8081 from url.
When I restart apache I get this error: Restarting web server: apache2apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
... waiting apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
I've spent a lot of time trying to resolve the problem. Please help.
Andrew