Bienvenue, Invité
Nom d'utilisateur : Mot de passe : Se souvenir de moi
  • Page :
  • 1
  • 2

SUJET : "Cdbconnection failed to open the db connection" on step 6 during installation

"Cdbconnection failed to open the db connection" on step 6 during installation il y a 1 an 3 mois #94683

  • Draikin
  • Portrait de Draikin
  • Hors ligne
  • Fresh Lemon
  • Messages : 6
  • Karma: 0
Hi,

I'm trying to get build 130325 to work on Windows shared hosting (Windows Server 2008, SQL Server 2008 R2). I got as far as step 6 (optional settings) during the installation. The previous steps worked fine, the database was configured properly, but clicking next on step 6 gives me an "Internal server error" and on the next line "Cdbconnection failed to open the db connection". I read something about changing the config.php file manually, but there's none to be found, only the default config files are there. Any help would be appreciated.
L'administrateur a désactivé l'accès en écriture pour le public.

"Cdbconnection failed to open the db connection" on step 6 during installation il y a 1 an 3 mois #94704

  • tbrice18
  • Portrait de tbrice18
  • Hors ligne
  • Fresh Lemon
  • Messages : 9
  • Karma: 0
I am also working with a Windows Server 2008, SQL Server 2008 R2 and got the very same error. I would also appreciate being pointed in the right direction.
L'administrateur a désactivé l'accès en écriture pour le public.

"Cdbconnection failed to open the db connection" on step 6 during installation il y a 1 an 3 mois #94811

  • Draikin
  • Portrait de Draikin
  • Hors ligne
  • Fresh Lemon
  • Messages : 6
  • Karma: 0
I now tried installing it using a MySQL database, but I have the exact same problem there. I'm not sure why, is the problem perhaps the missing config.php file?
L'administrateur a désactivé l'accès en écriture pour le public.

"Cdbconnection failed to open the db connection" on step 6 during installation il y a 1 an 3 mois #94816

  • tbrice18
  • Portrait de tbrice18
  • Hors ligne
  • Fresh Lemon
  • Messages : 9
  • Karma: 0
Check the installation manual, especially the portion about having the correct sqlsvr driver installed. Although I did check that for my installation and it did not solve anything, shot in the dark, may work for you. I have Moodle installed on the same 2008 Windows server with a backend MS SQL database on a Windows 2008 R2 server and there was never any connection issues. Something in the LS code requires those drivers and its not compatible with my system set up.
L'administrateur a désactivé l'accès en écriture pour le public.

"Cdbconnection failed to open the db connection" on step 6 during installation il y a 1 an 3 mois #94817

  • mdekker
  • Portrait de mdekker
  • Hors ligne
  • LimeSurvey Team
  • Messages : 341
  • Remerciements reçus 68
  • Karma: 38
To get a better error message during install, you can open /application/config/config-sample-mysql.php en scroll to the end. Modify

'debug'=>0,
to
'debug'=>2,

and see if that creates a visible error. If you get an error, please report the detailed message in the bugtracker.
---
Menno Dekker
L'administrateur a désactivé l'accès en écriture pour le public.

"Cdbconnection failed to open the db connection" on step 6 during installation il y a 1 an 3 mois #94856

  • Draikin
  • Portrait de Draikin
  • Hors ligne
  • Fresh Lemon
  • Messages : 6
  • Karma: 0
Thanks, I changed the value but unfortunately the error message stays the same. I've tried looking for error logs, but the application/logs doesn't contain any log files.
L'administrateur a désactivé l'accès en écriture pour le public.

"Cdbconnection failed to open the db connection" on step 6 during installation il y a 1 an 3 mois #95058

  • Draikin
  • Portrait de Draikin
  • Hors ligne
  • Fresh Lemon
  • Messages : 6
  • Karma: 0
I've been looking into the problem, and I'm wondering if PDO drivers possibly explain this problem? I don't know if it would get that far in the installation if those were missing. I've contacted my webhost, they confirmed the problem but no solution for now.
L'administrateur a désactivé l'accès en écriture pour le public.

"Cdbconnection failed to open the db connection" on step 6 during installation il y a 1 an 3 mois #95179

  • Mazi
  • Portrait de Mazi
  • Hors ligne
  • LimeSurvey Team
  • Messages : 5300
  • Remerciements reçus 291
  • Karma: 247
Missing PDO drivers might cause such problems but I wonder if in such a case the installation would proceed that far at all.

Check if the config.php is created at LimeSurvey\application\config

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
L'administrateur a désactivé l'accès en écriture pour le public.

"Cdbconnection failed to open the db connection" on step 6 during installation il y a 1 an 3 mois #95199

  • Draikin
  • Portrait de Draikin
  • Hors ligne
  • Fresh Lemon
  • Messages : 6
  • Karma: 0
Apparently the PDO drivers are installed so that can't be the cause.
Mazi écrit:
Check if the config.php is created at LimeSurvey\application\config
It's not.
L'administrateur a désactivé l'accès en écriture pour le public.

"Cdbconnection failed to open the db connection" on step 6 during installation il y a 1 an 3 mois #95204

  • Mazi
  • Portrait de Mazi
  • Hors ligne
  • LimeSurvey Team
  • Messages : 5300
  • Remerciements reçus 291
  • Karma: 247
Hmm, I would assume that at this step the config.php should have been created so when logging in later, the DB connection details can be read from file.
There is a check at the beginning if that folder is writable. Maybe there are still conflicts with restricted rights, e.g. the server not being able to create files?!

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
L'administrateur a désactivé l'accès en écriture pour le public.
Cet utilisateur a été remercié pour son message par: Draikin
  • Page :
  • 1
  • 2
Modérateurs: ITEd
Temps de génération de la page : 0.146 secondes
Donation Image