ddanniel Posted July 2, 2017 Posted July 2, 2017 I have this error when I try to connect to the database from localhost again pg_connect(): Unable to connect to PostgreSQL server: FATAL: no pg_hba.conf entry for host pg_connect("host=localhost user=ddanniel port=5432 dbname=ddanniel_uniway password=*****************") A few days ago the site fell for several hours and the same problem that had reappeared, I hope you can help me This is the page: http://uniway.helioh...gister_user.php And the full error message: <b>Warning</b>: pg_connect(): Unable to connect to PostgreSQL server: FATAL: no pg_hba.conf entry for host "::1", user "ddanniel", database "ddanniel_uniway", SSL off in<b>/home/ddanniel/public_html/php/functions.php</b> on line <b>19</b><br />
Luigi123 Posted July 2, 2017 Posted July 2, 2017 This support request is being escalated to our root admin.
Krydos Posted July 2, 2017 Posted July 2, 2017 I don't see an error on that page. Did the issue resolve itself?
ddanniel Posted July 2, 2017 Author Posted July 2, 2017 The error is still there, there is not conection with the database, you can see it here at the end: view-source:http://uniway.heliohost.org/register_user.php <b>Warning</b>: pg_connect(): Unable to connect to PostgreSQL server: FATAL: no pg_hba.conf entry for host "::1", user "deauvece", database "deauvece_uniway", SSL off in <b>/home/ddanniel/public_html/php/functions.php</b> on line <b>18</b><br />Error conectando a la base de datos.
Krydos Posted July 2, 2017 Posted July 2, 2017 Oh, didn't know I was supposed to view source to see the error. I just expected it to display on the page. On 7/2/2017 at 3:12 PM, ddanniel said: Warning: pg_connect(): Unable to connect to PostgreSQL server: FATAL: no pg_hba.conf entry for host "::1", user "deauvece", database "deauvece_uniway", SSL off in /home/ddanniel/public_html/php/functions.php on line 18 Error conectando a la base de datos.The problem is there is no user named deauvece. Your username is ddanniel. 1
ddanniel Posted July 2, 2017 Author Posted July 2, 2017 HAHAHAH i'm sorry man, i always forget to change that. In localhost i use that user but this is not gonna happen again, i'm gonna fix that right now. Thanks!!!
Recommended Posts