Git Product home page Git Product logo

Comments (13)

katagen avatar katagen commented on May 29, 2024 1

Perfect... it works!!!

from lizmap-web-client.

nboisteault avatar nboisteault commented on May 29, 2024

What are the messages in the console?

from lizmap-web-client.

katagen avatar katagen commented on May 29, 2024

I have no error log in the console of the LWC panel!
But if I inspect the webpage as soon as I click on add, I have this error:
Capture d’écran 2024-03-28 à 20 53 13

from lizmap-web-client.

nboisteault avatar nboisteault commented on May 29, 2024

Now in admin => Lizmap logs?

from lizmap-web-client.

katagen avatar katagen commented on May 29, 2024

Do you mean in ${APACHE_LOG_DIR}/error_lizmap.log ?
If yes, I'll have access to it only next week :-(

from lizmap-web-client.

nboisteault avatar nboisteault commented on May 29, 2024

I mean in https://yourwebsite/admin.php/admin/logs but it might be the same as in error_lizmap.log, I don't remember.

from lizmap-web-client.

katagen avatar katagen commented on May 29, 2024

So I have no error in the admin control...
Capture d’écran 2024-03-29 à 11 40 04

from lizmap-web-client.

nworr avatar nworr commented on May 29, 2024

usually "Error 500" php error aren't logged in lizmap-admin (displayed in admin panel), but in /<LizmapDir>/var/log/errors.log

from lizmap-web-client.

katagen avatar katagen commented on May 29, 2024

OK, here it is:

2024-03-29 10:40:13 [2] pg_connect(): Unable to connect to PostgreSQL server: definition of service "drosera_db" not found /var/www/lizmap-web-client/lizmap/vendor/jelix/jelix/lib/jelix/plugins/db/pgsql/pgsql.dbconnection.php 168

2024-03-29 10:40:13 [402] Impossible de se connecter sur drosera_db (mauvais host, login ou mot de passe ?) /var/www/lizmap-web-client/lizmap/vendor/jelix/jelix/lib/jelix/plugins/db/pgsql/pgsql.dbconnection.php 184

2024-03-29 10:40:36 [2] pg_connect(): Unable to connect to PostgreSQL server: definition of service "drosera_db" not found /var/www/lizmap-web-client/lizmap/vendor/jelix/jelix/lib/jelix/plugins/db/pgsql/pgsql.dbconnection.php 168

2024-03-29 10:40:36 [402] Impossible de se connecter sur drosera_db (mauvais host, login ou mot de passe ?) /var/www/lizmap-web-client/lizmap/vendor/jelix/jelix/lib/jelix/plugins/db/pgsql/pgsql.dbconnection.php 184

So, how the "definition of service" can be wrong, and being able to load the data, and even check the value of the entities (popup)?

from lizmap-web-client.

katagen avatar katagen commented on May 29, 2024

Do I need a pg_connect file??? I only use a .pg_service file... I never use a pg_connect file before?

from lizmap-web-client.

nworr avatar nworr commented on May 29, 2024

Rendering the map, popup info retrieving is performed by QGIS through php but edition is performed by php only

Your pg_service file need to be available for php, can you try to copy it in /etc/postgresql-common/

see : #620 (comment)

from lizmap-web-client.

katagen avatar katagen commented on May 29, 2024

OK, I don't have access to the server until next week... except on FTP, but I can't load data in this directory!
So I'll try it next week, and give you a feedback! Just to be sure, the group/permission must be www-data:www-data?
If I understand it correctly, I can also point my QGIS server PGSERVICEFILE env to /etc/postgresql-common/.pg_service.conf, so that I have only one pg_service file on my system? Correct?
Thank you very much for your help!

from lizmap-web-client.

nworr avatar nworr commented on May 29, 2024

refs #1638

from lizmap-web-client.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.