Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to log in #30

Closed
bonegabor opened this issue Jan 20, 2017 · 7 comments
Closed

Unable to log in #30

bonegabor opened this issue Jan 20, 2017 · 7 comments
Labels

Comments

@bonegabor
Copy link

Hello,

This is my first time configuring the EQWC, and unfortunately am stuck. A get the error message, which says only 'Unable to log in', even with the guest (this is with helloword). I have no idea how to continue from here.

The system is configured on a server running with CentOS 7, with multiple virtual host.

Do you have any idea where am I got stuck?
Thank you,
Gábor

@uprel
Copy link
Member

uprel commented Jan 20, 2017

Check if you have correctly setup settings.php and also look in Apache error log.

@uprel uprel added the question label Jan 20, 2017
@bonegabor
Copy link
Author

bonegabor commented Jan 23, 2017

Hello,

Thanks for your answer. Unfortunately I could not figure out what the problem is. Apache error log shows nothing, and settings.php is correct, (as a I think). QGIS Server is working, because the Qgis Web Client was running, but I need your web client to be able to use the login system,
The link where you can see my project is http://harta.atlaspasari.ro/gisapp/helloworld?public=on .
Can you have a look on it please?

Thank you,
Gabor

@uprel
Copy link
Member

uprel commented Jan 23, 2017

I think problem is with accessing the database. Error should be visible from Apache log. Also postgresql log might be helpful. Postgres version must be 9.3. or higher. Send me these logs and settings.php and I will check. Email uros@level2.si

@uprel
Copy link
Member

uprel commented Jan 25, 2017

Problem was due to old version of PostgreSQL 9.2

@uprel uprel closed this as completed Jan 25, 2017
@bonegabor
Copy link
Author

Thank you for your help and for your application. I've upgraded my postgrsql and now it works. 👍

@teckefaro
Copy link

teckefaro commented Nov 30, 2018

Hello
This is a first choice with a configuration of the EQWC and, now in a pass over front, in the problem of login of access.

  • PostgreSQL e o 9.4 64 bit.
  • PHP 5.5.26.
  • Qgis-server is working correctly with manual configuration tests.
  • About setting the settings.php file.
    <?php define('DEFAULT_LANG', 'en'); define('DEBUG', false); define('DB_CONN_STRING', 'pgsql:host=localhost;port=5432;dbname=gisapp'); define('DB_USER', 'postgres'); define('DB_PWD', 'postgres'); define('PROJECT_PATH', 'D:/SERVIDOR/wamp64/www/04TESTE/gisapp/_demo/'); define('QGISSERVERURL', 'http://localhost/cgi-bin/qgis_mapserv.fcgi.exe'); define('QGISSERVERCACHE', false); define('GOOGLE_MAPS_KEY','your_key'); define('MAPBOX_KEY','your_access_token'); define('MAIN_UPLOAD_DIR', 'uploads/'); define('OGR2OGR', 'C:/OSGeo4W64/bin/ogr2ogr'); define('TEMP_PATH', 'C:/Temp'); define('GISAPPURL', '/gisapp/');

this error appears:
image

@uprel
Copy link
Member

uprel commented Dec 7, 2018

Looks like problem on screen is just because PHP Strict standard variable is different. I will have to check setup on Windows, but you must have some errors also in Apache error.log. Check there

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants