Comments (13)
Perfect... it works!!!
from lizmap-web-client.
What are the messages in the console?
from lizmap-web-client.
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:
from lizmap-web-client.
Now in admin => Lizmap logs?
from lizmap-web-client.
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.
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.
So I have no error in the admin control...
from lizmap-web-client.
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.
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.
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.
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.
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.
refs #1638
from lizmap-web-client.
Related Issues (20)
- [Bug]: selection tool - circle not present in toolbar
- Different speed of the various Lizmap versions HOT 9
- Layer group not automatically active despite corresponding setting (group as Layer) HOT 1
- SMTP with MS ExchangeServer HOT 1
- [Question]: delete geom nodes in mobile mode
- [Bug]: data - table, virtual field with expression to show small image preview HOT 19
- Add more information if the layer is invalid : tooltip for users admin/non admin, disable tool ... HOT 15
- [Bug]: plot should not display loading gif when there is no data
- [Bug]: popup relation - div popup_lizmap_dd_relation empty in parent HOT 1
- [Bug]: Minidock popup not working in Lizmap Web Client : 3.7.7, 3.8.0-alpha.2 HOT 6
- [Bug]: values in relation tables are not sorted alphabetically HOT 1
- Differences Lizmap 3.8.0 Alpha.2 - 3.7.7 - 3.6.12 HOT 8
- Dataviz: scatterplot traces are not coloured according to values in attribute table
- [Question]: Service unavailable after installing lizmap web client HOT 2
- [Bug]: Filter tools does not update web map URL + Idea
- [Question]: QGIS Server plugins installation and error 500 in LWC about the plugin HOT 4
- [Bug]: Popup In mini dock can't be closed HOT 1
- [Bug]: Filtering not working in Lizmap when layer authenticated against a qGIS auth config stored in qgis-auth.db HOT 1
- [Question]: Server/Browser Cache Issues
- [Bug]: Remove zoom to layer extent button
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lizmap-web-client.