ADODB support for PHP 5.5

ADODB support for PHP 5.5, a forum discussion on Jojo CMS. Join us for more discussions on ADODB support for PHP 5.5 on our General Discussion forum.

Back to Forum Index : Back to General Discussion   RSS
Jaijaz Jaijaz

25 Mar 2014
Posts: 215

Hey,

I have just been having a play trying to get a Jojo site working on PHP5.5. It seems to fall over when a DB connect is attempted with the ADODB lib. The one in Jojo, is quite outdated so I thought I would grab the latest. Unfortunately the latest is dated 2012 so possibly not that new...

I guess with PDO it hasn't needed to be updated? But there is nothing I could see on the projects home page.

Has anyone tried Jojo with PHP 5.5? I am jumping to a conclusion on the 5.5 thing I guess but is it the only obvious difference in this new server I'm playing with.

Thanks,
Jai
If you not living on the edge you taking up too much space.
Rick Rick

26 Mar 2014
Posts: 336

I haven't played with it a while but it rings a bell. I mustn't have pushed my change. I updated my testing copy to use MySQLi in AdoDB instead of MySQL. Did you try that?
Rick Rick

26 Mar 2014
Posts: 336

Found my patch ( https://github.com/JojoCMS/Jojo-CMS/commit/93a791dd1f80b1660abbb30018c5373e2fdf9c0f) are you still getting errors after this? My issue may not have been related to PHP 5.5, I'm not near my computer to check.
Jaijaz Jaijaz

27 Mar 2014
Posts: 215

Thanks Rick.

I thought it was using MySQLi already but perhaps I missed something. I'll give the patch a shot.
If you not living on the edge you taking up too much space.
Rick Rick

27 Mar 2014
Posts: 336

It's an old patch so it may or may not be what you need. I don't have a lot of spare time at the moment but I'm looking forward to getting back into it. Great to have you back :D
Jaijaz Jaijaz

4 Apr 2014
Posts: 215

Finally got a chance after moving house to retry it. Yep that fix worked. I was using the latest 1.3.2 tag which is older than the patch.

Thanks Rick.
If you not living on the edge you taking up too much space.
Back to Forum Index : Back to General Discussion   RSS
You must be logged in to post a reply



You need to Register or Log In before posting on these forums.