Forum Replies Created

Viewing 15 replies - 31 through 45 (of 61 total)
  • Thread Starter jonmrich

    (@jonmrich)

    Disregard….fixed it.

    Looked through a few threads here and saw that JS was probably the issue. I had a bunch of JS combined into one using a cache plugin. I took out this one and left it on its own and everything’s working fine: https://www.doseofdigital.com/wp-includes/js/jquery/jquery.js?ver=1.4.2

    Thanks!

    Thread Starter jonmrich

    (@jonmrich)

    Okay, a bit more on the issue with images. Turns out that this is a problem in Chrome and FF. I figured out that this could be fixed by resaving the post with the missing image. In other words, all I did to correct was go to the post where the picture was missing, hit “update” and then the page was fine. What’s causing this? Any way to avoid in the future?

    Thanks.

    Thread Starter jonmrich

    (@jonmrich)

    Hello all. Thanks for all the advice. Just to be clear…two things: first, I know my site is far from ideally coded, so a lot of this rests on me to fix at a higher level. Second, I think the plugin is great, but perhaps I expected too much (and I know I didn’t use it right in the beginning).

    First, thanks @djmorrisinc, I never saw the help wizard in the minify section. Again…user error. Just tried it out and on Yslow went from a 55 to 70 with that one tweak!

    I still have an issue with having no expires on a lot of content (mainly images). I’ve set expirations for everything in the browser cache section, but that doesn’t seem to do anything. Should I be doing something different?

    Last, I was using Cloudfront for nearly everything, but mostly images, but had to turn it off. I found that in IE every image was fine, but in Chrome and Safari some images were missing. There was a box outline where the image should be and when you click on it, the correct image opens in a new tab (so the URL is correct), but for some reason these browsers don’t render the image. I’d say it happens with 1 in 20 images and I can’t figure out any pattern. Some are old images that I had in place before the plugin and some are new that I’ve added since. Again, everything is correctly on the cloudfront CDN and so are URLs, but it’s not rendering correctly in those two browsers. Any thoughts?

    Thanks to everyone for their help. Still a lot more work for me to do, but this plugin and all of your help have done a ton.

    JMR

    Thread Starter jonmrich

    (@jonmrich)

    Thanks for the comprehensive response. I’ve made some tweaks on the plugin and have it working a bit better. I’d say the impact has been negligible, but I’ll keep it going for a while.

    One thing I did notice is that some images are missing, but only under certain conditions. For example, the image on this page: https://www.doseofdigital.com/pharma-healthcare-digital-marketing-services/

    On Chrome and FF, the images show up as a text link, which if you click you get some error displayed about NoSuchKey. However, in IE7, the image renders just fine. Any ideas what is causing this?

    Thanks,
    JMR

    Thread Starter jonmrich

    (@jonmrich)

    Extremely odd, but all seems to be working now. I didn’t change anything to any codes or settings though.

    The only thing I did was to log in (as admin) in each browser and then log out. After this, the styles were fine.

    The bug with the gravatar still exists though.

    One more odd thing…the label above the comment form, which used to be something like “Leave a Comment” is now missing and I can’t figure out where to put it back in.

    Thanks,
    JMR

    Thread Starter jonmrich

    (@jonmrich)

    Quick update. The posts are finally back to normal. No idea why all of a sudden. However, I was doing some additional QA to see if this plugin was causing a problem with another and I reactivated it and now it doesn’t work at all. The posts aren’t teased. Uninstalled it and reinstalled and still the same.

    Very odd.

    Thread Starter jonmrich

    (@jonmrich)

    I’ll take a shot at the alpha. Current version isn’t working that well for me, so hopefully it’ll help.

    Can you send me a link to download or do you need an email?

    Thanks,
    JMR

    Thread Starter jonmrich

    (@jonmrich)

    Didn’t mean to double post. When I tried to post this one, I got some crazy message on a new that I was “Going to fast” onto top of some weird green background. So, I killed it and went to a new one. Apparently it was posted after all.

    Anyway, the fix for this:

    Found the solution thanks to a tweet from Backtype. Change the in line 317 in the plugin to this:

    https://tweetimag.es/i/

    Thread Starter jonmrich

    (@jonmrich)

    Found the solution thanks to a tweet from Backtype. Change the in line 317 in the plugin to this:

    https://tweetimag.es/i/

    I’m having the same issue. I tried in Chrome as well.

    To run the script, I’m first logging into my dashboard, then copying this URL into my browser (https://www.doseofdigital.com/wp-admin/options-general.php?page=wordpress-popular-posts/recovery.php) and then running.

    Yes, wp_popularpostsdata_backup is the table that holds all of the historical data.

    Not sure why the table shows as deleted in the log, when it clearly still has data in it.

    Thanks again.

    I tried this one and I didn’t get the “Done!” message. However, the new file is properly placed in the folder on my server. I’m assuming that since I didn’t get this message that somehow the script didn’t run all the way through. I didn’t get any message, just a blank screen within the middle of my dashboard (top and side nav. loaded fine).

    Suffice it to say, this didn’t work. My tables still look like this:

    # ——————————————————–
    # Table: wp_popularpostsdata
    # ——————————————————–

    #
    # Delete any existing table wp_popularpostsdata
    #

    DROP TABLE IF EXISTS wp_popularpostsdata;

    #
    # Table structure of table wp_popularpostsdata
    #

    CREATE TABLE wp_popularpostsdata (
    postid int(10) NOT NULL,
    day datetime NOT NULL default ‘0000-00-00 00:00:00’,
    last_viewed datetime NOT NULL default ‘0000-00-00 00:00:00’,
    pageviews int(10) default ‘1’,
    UNIQUE KEY id (postid)
    ) ENGINE=MyISAM DEFAULT CHARSET=latin1 ;

    #
    # Data contents of table wp_popularpostsdata
    #

    INSERT INTO wp_popularpostsdata VALUES (1346, ‘2009-08-18 13:34:34’, ‘2009-08-18 13:34:34’, 1);
    INSERT INTO wp_popularpostsdata VALUES (633, ‘2009-08-22 15:03:47’, ‘2009-08-22 15:05:29’, 3);
    INSERT INTO wp_popularpostsdata VALUES (436, ‘2009-08-22 15:04:53’, ‘2009-08-22 15:04:53’, 2);
    #
    # End of data contents of table wp_popularpostsdata
    # ——————————————————–

    # ——————————————————–
    # Table: wp_popularpostsdata_backup
    # ——————————————————–

    #
    # Delete any existing table wp_popularpostsdata_backup
    #

    DROP TABLE IF EXISTS wp_popularpostsdata_backup;

    #
    # Table structure of table wp_popularpostsdata_backup
    #

    CREATE TABLE wp_popularpostsdata_backup (
    postid int(10) NOT NULL,
    day datetime NOT NULL default ‘0000-00-00 00:00:00’,
    pageviews int(10) default ‘1’,
    UNIQUE KEY id (postid,day)
    ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ;

    #
    # Data contents of table wp_popularpostsdata_backup
    #

    INSERT INTO wp_popularpostsdata_backup VALUES (131, ‘2009-01-18 00:00:00’, 1);
    INSERT INTO wp_popularpostsdata_backup VALUES (127, ‘2009-01-18 00:00:00’, 2);
    INSERT INTO wp_popularpostsdata_backup VALUES (83, ‘2009-01-18 00:00:00’, 1);
    INSERT INTO wp_popularpostsdata_backup VALUES (25, ‘2009-01-18 00:00:00’, 1);

    <followed by all the other data>

    Sorry to say that didn’t do anything either. I got the “done!” message, but still getting “Sorry. No data so far.”

    Any other thoughts?

    Thanks so much for the ongoing help. Unfortunately, this didn’t work. The script loaded fine, I got a message of “done!” but the plug in still serves up “Sorry. Not data so far.”

    I can’t begin to know what’s wrong, but I don’t think the data from this table (wp_popularpostsdata_backup) is actually being moved. That’s where all the data is stored right now. It’s still there and I don’t see anything in the plug in or script that would indicate that it would try to move or call anything from there. Is that the issue or is the “wp_” part not essential?

    Anyway…happy continue to have your help. I appreciate it. Just bought you a beer via PayPal. The least I can do to get one more minute from you.

    Thanks,
    JMR

    Thanks again…

    Re-ran the script and got a message of “done!” Couldn’t do a screenshot having trouble with access to my phpmyadmin, but I did a database back up and got this.

    #
    # Data contents of table wp_popularpostsdata
    #

    #
    # End of data contents of table wp_popularpostsdata
    # ——————————————————–

    # ——————————————————–
    # Table: wp_popularpostsdata_backup
    # ——————————————————–

    #
    # Delete any existing table wp_popularpostsdata_backup
    #

    DROP TABLE IF EXISTS wp_popularpostsdata_backup;

    #
    # Table structure of table wp_popularpostsdata_backup
    #

    CREATE TABLE wp_popularpostsdata_backup (
    postid int(10) NOT NULL,
    day datetime NOT NULL default ‘0000-00-00 00:00:00’,
    pageviews int(10) default ‘1’,
    UNIQUE KEY id (postid,day)
    ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ;

    #
    # Data contents of table wp_popularpostsdata_backup
    #

    INSERT INTO wp_popularpostsdata_backup VALUES (131, ‘2009-01-18 00:00:00’, 1);
    INSERT INTO wp_popularpostsdata_backup VALUES (127, ‘2009-01-18 00:00:00’, 2);
    INSERT INTO wp_popularpostsdata_backup VALUES (83, ‘2009-01-18 00:00:00’, 1);

    This table goes on for a while with all the popular posts data. It looks like the data from the backup wasn’t moved at all.

    Let me know if you can make anything of this.

    Thanks again.

    JMR

Viewing 15 replies - 31 through 45 (of 61 total)