WordPress.org

Ready to get started?Download WordPress

Forums

Electric Studio Download Counter
WP Editor broken under 3.5 (19 posts)

  1. Arachnoidea
    Member
    Posted 1 year ago #

    Hi there,

    After I updated my WP site to v3.5, my WP post editor didn't seem to work any more. I found out that when I de-activated the ESDC 1.1 plugin it had been alive again.

    So there must be some code in your plugin which makes the WP editor crash under WP 3.5.

    Cheers,
    Ervin

    http://wordpress.org/extend/plugins/electric-studio-download-counter/

  2. zeaks
    Member
    Posted 1 year ago #

    Having this problem too. Also getting an error message on the download counter page
    Warning: Missing argument 2 for wpdb::prepare(), wp-content/plugins/electric-studio-download-counter/lib/sqlfunctions.php on line 71 and defined in /public_html/wp-includes/wp-db.php on line 990

  3. Jason
    Member
    Posted 1 year ago #

    Same problem; Insert image into a post will not load the media dialog box with this plugin activated.

    Also get in the plugin menu :

    Warning: Missing argument 2 for wpdb::prepare(), called in [...]/wp-content/plugins/electric-studio-download-counter/lib/sqlfunctions.php on line 71 and defined in [...]/wp-includes/wp-db.php on line 990

  4. mrlissandrello
    Member
    Posted 1 year ago #

    Hi, same problem,

    i have upgraded wordpress version to 3.5 in my site http://www.g-sei.org but the Download counter show this error:
    "
    Warning: Missing argument 2 for wpdb::prepare(), called in /var/www/vhosts/g-sei.org/httpdocs/wp-content/plugins/electric-studio-download-counter/lib/sqlfunctions.php on line 71 and defined in /var/www/vhosts/g-sei.org/httpdocs/wp-includes/wp-db.php on line 990
    "
    in backend option and in frontend widget (i have removed it).

    Download counter not compatible with wordpress 3.5?

    Best regards
    LL

  5. Arachnoidea
    Member
    Posted 1 year ago #

    I think there was a change in the wpdb::prepare() function: in earlier WP versions the 2nd argument was optional, and from 3.5 it became obligatory. That's why it gives you that error message.

    This way, all the plugin developers who use the prepare() function and did not use its 2nd argument will have to make some tiny changes to their plugins...

  6. Gabor Javorszky
    Member
    Posted 1 year ago #

    Hey guys,

    I've been assigned to repair this. Hold on, should have overhauled this by the end of today UK time. Unless we all die due to world ending and whatnot.

    So bear with me.

    Gabor

  7. Gabor Javorszky
    Member
    Posted 1 year ago #

    Ladies and Gentlemen,

    I give you version 2.0. Hopefully it will solve all the problems you're having. Please, please backup your database before updating though!

    Best wishes for the Christmas period!

    Gabor

  8. thecondordb
    Member
    Posted 1 year ago #

    Hi Gabor,

    I just updated the plugin to version 2.0 in my WP 3.5 installation. And it didn't work. After activating the plugin I only get a white page in the admin backend where the dashboard should be. So the download counter plugin broke everything and the admin backend is unuseable now. Just for your information.

    In my JavaScript console there is an error message reported, regarding this:

    Uncaught Error: Syntax error, unrecognized expression: 'a[href$=".pdf"],a[href$=".doc"],a[href$=".xls"],a[href$=".docx"],a[href$=".xlsx"],a[href$=".csv"]'

    in load-scripts.php line 2

    :-(

    Regards,

    Dennis

  9. Gabor Javorszky
    Member
    Posted 1 year ago #

    Hi Dennis,

    Yes, I see. Repaired it, 2.0.1 is on its way. Sorry.

    G

  10. violablu
    Member
    Posted 1 year ago #

    It still does not work, it is not counting anything

  11. Gabor Javorszky
    Member
    Posted 1 year ago #

    Hi violablu,

    Does it give you any errors in the console? Do you have javascript enabled? Is the filetype you're trying to count added in the list of extensions?

    Gabor

  12. violablu
    Member
    Posted 1 year ago #

    It worked till I upgraded wordpress. The count never goes up now. We have been testing it.... No errors, yes java is enabled, yes the file type is added. Your upgrade fixed a few of the problems I was having. Just no count now =(

  13. fmarie.sr
    Member
    Posted 1 year ago #

    Hi,
    I confirm it does not count anything anymore, since 2.0. (plug in frozen) et 2.0.1 (works but doesn't count) :(
    Marie

  14. Gabor Javorszky
    Member
    Posted 1 year ago #

    I'll look into it guys. Sorry about that. It passed my tests. I'll get back to you shortly.

    G

  15. mrlissandrello
    Member
    Posted 1 year ago #

    With lastest version the plugin working properly (top download in my http://www.g-sei.org/)

    :-)

    Bye!
    LL

  16. Gabor Javorszky
    Member
    Posted 1 year ago #

    Hi people,

    2.0.2 should fix the brokenness. If it's still not working, there's a conflict with how jQuery is handled with some other plugin. I'm following WordPress way of handling files, so I'm happy to point fingers at the other developers :).

    Also, ajax is hard, and browsers are interesting.

    Hope this helps,

    Gabor

  17. fmarie.sr
    Member
    Posted 1 year ago #

    Hi Gabor. Thanks for the 2.02. It works fine, in the sense it count the downloads.
    But, well! there is a but, it jam with the download of files when trying from an Android Phone, Pad... So I had to deactivate again the plug-in. All the android navigators seems affected: Opera, Firefox,... The type of file we offer to download are .pdf, .epub, .mobi, and other ebooks type. I didn't try from Apple ipad and other.

  18. mrlissandrello
    Member
    Posted 1 year ago #

    Hi,

    if use GD bbPress Attachments must be activated last option in backend setting.

    "Enable this option if you use BuddyPress with bbPress plugin for site wide forums."

    Bye!
    LL

  19. Gabor Javorszky
    Member
    Posted 1 year ago #

    Hi fmarie,

    I'll look into this. Currently I have issues with my phone, but I'll to find out what's causing it as soon as possible.

    G

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.