login problem with default password

166 views
Skip to first unread message

Andrew

unread,
May 16, 2014, 2:25:51 PM5/16/14
to as...@googlegroups.com
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

Samir Doshi

unread,
May 21, 2014, 3:53:53 PM5/21/14
to as...@googlegroups.com
Hi Andrew,

Please run below command and then try to login,
a2enmod rewrite

Thanks,
Samir Doshi


--
You received this message because you are subscribed to the Google Groups "ASTPP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to astpp+un...@googlegroups.com.
To post to this group, send email to as...@googlegroups.com.
Visit this group at http://groups.google.com/group/astpp.
To view this discussion on the web visit https://groups.google.com/d/msgid/astpp/9f9f6271-0f6b-48af-8604-4d9a5f15c027%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages