English > General Questions

Probable Jdiction 1.3.0 bug in libraries/jdiction/database/database/mysqli.php

(1/1)

funky3l:
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: ---$parser = new \PHPSQLParser\PHPSQLCreator();
--- End code ---

I made a change in lines 122 and 132 so that both look now like that:

--- Code: ---$parser = new PHPSQLCreator();
--- End code ---

This fixed my installation and it's working all right now.

Hope this helps someone.

BR,
funky3l

Harald Leithner:
jdiction requires php 5.3+ the reason for this is the sqlparser uses namespaces

Navigation

[0] Message Index

Go to full version