• Author
    Posts
  • #9170

    Justin Cheong
    Participant

    Hi Damian,

    There is a strange warning after I upgrade WordPress from 3.8.1 to 3.9. After upgrading to 3.9, I got a warning “Warning: mysql_real_escape_string() expects parameter 2 to be resource, object given in C:\xampp\htdocs\rv\wp-content\plugins\css-javascript-toolbox\framework\db\mysql\queue-driver.inc.php on line 133”, on those pages that uses CJT code blocks.

    I am developing locally on my computer.
    XAMPP: v3.2.1
    WordPress: 3.9
    CJT: v7.0

  • #9181

    Damian Baker
    Participant

    Hi Justin,

    So sorry for the delay in getting back to you, and apologise for any inconvenience.
    This is a strange little error you are experiencing there. If you could provide temporary admin login details to: support@css-javascript-toolbox.com along with this support message above (copy and paste), we will take a look for you.

    Thanks very much,
    Damian

  • #9182

    Justin Cheong
    Participant

    Hi Damian,

    After further debugging, I realise the problem does not occur on a live server (Hostgator). It only happen locally on my computer using XAMPP, and it only happens after I upgraded to WordPress 3.9.

    I have given some description and screen shots of the error that I seen on my local computer and have emailed to support@css-javascript-toolbox.com. Hope you can take a look at the problem and point me to the correct direction to resolve it as I cannot replicate this problem on a live server for you guys to debug.

    Regards
    Justin

  • #9184

    Justin Cheong
    Participant

    Hi Damian,

    Just want to provide more information for your debugging. I have downloaded the latest XAMPP version and latest CJT. The same error still exist during installation of CJT.

    XAMPP: v3.2.1
    Download link: http://sourceforge.net/projects/xampp/files/XAMPP%20Windows/1.8.3/xampp-win32-1.8.3-4-VC11.7z/download

    WordPress: v3.9
    Download link: https://wordpress.org/download/

    CJT: v7.0.1

    Windows OS: Windows 7

    Hope you can help me to resolve this issue soon as local development on my desktop is very important to me.

    Thanks
    Justin

  • #9229

    Damian Baker
    Participant

    Hello,

    Thanks for your message.
    The details you provided helps us a lot.

    We just figured out what is casing the problem and will fix it within the next release.
    Its because you’ve PJHP 5.5 installed — It forces WordPress to use MYSQLI to connect to database and this is what is not CJT being support.

    Check this: http://wordpress.org/support/topic/upgrading-to-wordpress-39-deletes-all-code-blocks — Its the same issue.

    We will let you know once we got it solved.
    You can get your local development server works if you can switch to PHP version before 5.5 or enable deprecated MYSQL extension if its being disabled by default.

    Reply email from Ahmed (reposted by Damian to this forum topic)

  • #9539

    Damian Baker
    Participant

    Hello Justin,

    This should now be fixed with the latest version of CJT Pro/Dev 7.1 with WordPress 3.9
    Thanks

    Kind Regards,
    Damian

You must be logged in to reply to this topic.