Page 1 of 1

No driver has been registered to handle connection type

Posted: Fri Sep 18, 2015 11:08 am
by marcogaio
I've just done a test installation of PMOS (from sourceforge tarball, latest version so 3.0.1) on a debian wheezy box, eg PHP 5.4.45 and MySQL 5.5.44.

Installaton go flawlessy but at the last screens seems to ''stall'' (without error on screen and on logs).

If i stop and reload the browser on main page, i got the login screen, but after login i get a php warning (this also on apache errorlog):
Code: Select all
Warning: array_pop() expects parameter 1 to be array, boolean given in /srv/processmaker/processmaker/gulliver/thirdparty/creole/Creole.php on line 314
and after that an error page:
Code: Select all
System Exception.
 RuntimeException:

 [wrapped: No driver has been registered to handle connection type: ]

  1. At Propel::getConnection()
    in /srv/processmaker/processmaker/workflow/engine/classes/model/om/BaseTranslationPeer.php line 275
  2. At BaseTranslationPeer::doSelectRS()
    in /srv/processmaker/processmaker/workflow/engine/classes/model/om/BaseTranslationPeer.php line 256
  3. At BaseTranslationPeer::doSelect()
    in /srv/processmaker/processmaker/workflow/engine/classes/model/Translation.php line 151
  4. At Translation->generateFileTranslation()
    in /srv/processmaker/processmaker/workflow/public_html/sysGeneric.php line 706
  5. At include() in /srv/processmaker/processmaker/workflow/public_html/app.php line 61
Looking at google for 'No driver has been registered to handle connection type' lead me to some result, but seems not related to PM...

What i'm doing wrong? Thanks.

Re: No driver has been registered to handle connection type

Posted: Thu Nov 24, 2016 3:03 am
by coisox
Have you solve this issue? Happen to me as well.

Re: No driver has been registered to handle connection type

Posted: Thu Nov 24, 2016 5:12 am
by marcogaio
No. I've ''parked'' the PMOS installation for now...

Re: No driver has been registered to handle connection type

Posted: Thu Nov 24, 2016 5:23 am
by coisox
After digging into their source code, I found that my problem caused by special character in MySQL password.

Let say the password is "root!@#". This cause the initial checkup PASS. But when the system try to POST the password to complete the installation, its broke.

So I change to "root" and problem solved.

Re: No driver has been registered to handle connection type

Posted: Thu Nov 24, 2016 5:48 am
by marcogaio
My test password was 'Uw/xuH5JgBuh2', and seems rather simple to me...

Re: No driver has been registered to handle connection type

Posted: Thu Nov 24, 2016 8:58 pm
by amosbatto
Change the MySQL root password from "Uw/xuH5JgBuh2" to "UwxuH5JgBuh2" and see if it works.

Re: No driver has been registered to handle connection type

Posted: Thu Nov 24, 2016 9:19 pm
by amosbatto
I have filed an internal bug report about this problem:
https://processmaker.atlassian.net/browse/TRI-2127

Re: No driver has been registered to handle connection type

Posted: Fri Nov 25, 2016 4:32 am
by marcogaio
amosbatto wrote:Change the MySQL root password from "Uw/xuH5JgBuh2" to "UwxuH5JgBuh2" and see if it works.
Sorry, i've dismantled all the setup, i think...

Re: No driver has been registered to handle connection type

Posted: Sat Jan 28, 2017 1:26 am
by hulusiturgut
did anyone come up with any solution.

I have been receiving the same error while I am running the trigger in the script task. I am running the same trigger in Dynaform, everything is fine.

Re: No driver has been registered to handle connection type

Posted: Tue Apr 30, 2019 3:46 am
by Zora99
I have the same problem, and my password doesn't contain any special character

Re: No driver has been registered to handle connection type

Posted: Tue Apr 30, 2019 9:06 pm
by amosbatto
Zora99, can you provide more information?
PM Version? Manual or Bitnami Install? Operating system? PHP version if manual install?
When exactly do you see the error message and is the error the exact same as posted above? Does it always occur or only in certain circumstances?

Re: No driver has been registered to handle connection type

Posted: Fri Sep 10, 2021 3:27 am
by tomolimo
Hello @amosbatto,
Could you tell us if this bug has been fixed and if yes, in which version?
Thank you
Regards,
Tomolimo