Skip to:
Content
Pages
Categories
Search
Top
Bottom

Load more button stops working … sometimes


  • amckinnell
    Participant

    @amckinnell

    Hi! Once in awhile the load more button on my activity pages stops working. Nothing happens when you click it. This problem started about 2 days ago and I haven’t changed any of the code for weeks. The strange thing is, it will magically start working again. It happens in firefox, safari and I also downloaded chrome and it’s happening there too. I logged into my site as a different user on a different computer and it happens there too. Some time will go by, and it just starts working again. I don’t see anything in the server error logs.

    I created a staging copy of the site and it isn’t happening on the staging site. That makes me think it must have something to do with traffic because I’m the only one on the staging site and I have a bunch of users on the live site. But I really have no idea what’s happening.

    I really appreciate any help you can provide. Thanks.

    Anne.

Viewing 4 replies - 1 through 4 (of 4 total)

  • Henry Wright
    Moderator

    @henrywright

    Are there any console errors when you click it?


    amckinnell
    Participant

    @amckinnell

    Hi Henry, I have never used the console before. I went Tools > Web Developer > Web Console and then I clicked the load more button, and it said this: [HTTP/1.1 200 OK 1008ms]

    When I click that link a window comes up with a bunch of info in it, but none of it looks like errors – but I don’t know what I’m looking for.

    This may be a coincidence, but it seems like it happens at the same time of day all the time. Is that even possible? For the last couple of days it happens around 10pm PDT and it happens again when I start up in the morning around 8am. It almost seems like it happens when my computer is cold 🙂 haha. I did try on another computer though. I wonder if something happens to the server at a particular time. I don’t know. It’s a totaly mystery to me, so if you can shed any light on it I would appreciate it very much.

    Thanks.


    Henry Wright
    Moderator

    @henrywright

    Hi @amckinnell

    When I click that link a window comes up with a bunch of info in it, but none of it looks like errors

    What is the info you’re seeing in the console?

    Just a few more questions – have you made any changes to your theme? And does the load more button work when you use a theme such as Twenty Thirteen?


    amckinnell
    Participant

    @amckinnell

    Hi Henry, here is the contents of that window:

    Request URL: http://photoforte.com/wp-admin/admin-ajax.php
    Request Method: POST
    Status Code: HTTP/1.1 200 OK
    Request Headers 12:51:58.000
    X-Requested-With: XMLHttpRequest
    User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:29.0) Gecko/20100101 Firefox/29.0
    Referer: http://photoforte.com/activity/
    Pragma: no-cache
    Host: photoforte.com
    Content-Type: application/x-www-form-urlencoded; charset=UTF-8
    Content-Length: 97
    Connection: keep-alive
    Cache-Control: no-cache
    Accept-Language: en-gb,en;q=0.5
    Accept-Encoding: gzip, deflate
    Accept: application/json, text/javascript, */*; q=0.01
    Sent Cookie
    wp-settings-time-10: 1398959694
    wp-settings-10: libraryContent=browse&editor=html&wplink=1&urlbutton=none&imgsize=full&align=center&hidetb=1
    wordpress_test_cookie: WP+Cookie+check
    wordpress_logged_in_0226a87af55d37f15c17099beebb5b87: amckinnell|1402256837|5ccb9ec3cbdec1dc82a94b7ed790dd41
    wordpress_0226a87af55d37f15c17099beebb5b87: amckinnell|1402256837|5b043d1b070ce3f02b6457a112bdfd6a
    s2member_tracking: fnIyOk5PVFdEQUJGSk9CeFBsZ2NMV3BiN2Rna3hMQUw0aTZzOmI3ZmEwNjU4NTQ2MGE0OWNiZDlmYTJhZGE2OTIyNDQzfEKGYUXbL9qRK4qkpq9Olm8qeZTiTkNtW3IJQea7fc4a
    PHPSESSID: d3jd0dp456hmi7p57ib09rrku7
    bp-activity-oldestpage: 1
    __utmz: 82912087.1400555092.174.6.utmcsr=Photo Forté Members|utmccn=7ce74da5f7-2014_May_Lesson_Week_3|utmcmd=email|utmctr=0_76b17b8542-7ce74da5f7-
    __utmc: 82912087
    __utmb: 82912087.7.9.1401047433231
    __utma: 82912087.1423870743.1397575542.1400993272.1401047233.201
    Response Headers Δ1626ms
    X-Robots-Tag: noindex
    x-frame-options: SAMEORIGIN
    x-content-type-options: nosniff
    Transfer-Encoding: chunked
    Server: Apache
    Pragma: no-cache
    Keep-Alive: timeout=5, max=85
    Host-Header: 192fc2e7e50945beb8231a492d6a8024
    Expires: Wed, 11 Jan 1984 05:00:00 GMT
    Date: Sun, 25 May 2014 19:51:50 GMT
    Content-Type: text/html; charset=UTF-8
    Connection: Keep-Alive
    Cache-Control: no-cache, must-revalidate, max-age=0

    About your other questions, it is a total custom theme, but I haven’t made any changes to it for weeks and this problem just cropped up a couple of days ago. I know for sure it just started because I use that load more all day.

    It’s difficult for me to answer the question about whether it happens in the default theme because I don’t want to change my live site because people are using it, and when I create a staging site, the load more button works in the current theme. I cannot understand why the problem only exists on the live site and not the staging site. I am creating the staging site when I am seeing the issue, it only takes a couple of minutes to create it, it’s on the same server, but the load more button works there.

    Thanks again for your help.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Load more button stops working … sometimes’ is closed to new replies.
Skip to toolbar