jDiction Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

jDiction 2.2.0 released. http://jdiction.org/downloads

Author Topic: Probable Jdiction 1.3.0 bug in libraries/jdiction/database/database/mysqli.php  (Read 9647 times)

funky3l

  • Newbie
  • *
  • Posts: 1
    • View Profile

Hi,
I have just installed Jdiction 1.3.0 on Joomla 2.5.24 and had a problem to select the jdiction_mysqli driver in Joomla's global options, as Joomla's global options page got broken after Jdiction install.
After some debugging it turned out that the issue was with  libraries/jdiction/database/database/mysqli.php in lines 122 and 132:

They both looked like that:
Code: [Select]
$parser = new \PHPSQLParser\PHPSQLCreator();
I made a change in lines 122 and 132 so that both look now like that:
Code: [Select]
$parser = new PHPSQLCreator();
This fixed my installation and it's working all right now.

Hope this helps someone.

BR,
funky3l
Logged

Harald Leithner

  • Administrator
  • Hero Member
  • *****
  • Posts: 1688
    • View Profile

jdiction requires php 5.3+ the reason for this is the sqlparser uses namespaces
Logged
Joomla! 5.0 Release Manager
Vote at JED