Site hangs when attempting to edit listing from fronted

This topic contains 6 replies, has 4 voices, and was last updated by  jimmymoto 8 years, 9 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #45306

    jimmymoto
    Full Member
    Post count: 91

    I’m just started getting about 1-2 minutes lag when trying to edit a listing from the front end when logged in as a listing owner.
    When logged in as admin, attempting to edit a listing from front end results in permanent hang until back button clicked.
    Editing listings from back-end works fine–unless another window is busy trying to load the edit listing page from front end.

    This problem seemed to start right after changing category field settings to “ajax chained” and back to “multiselect” during troubleshooting related to my previous support post:
    https://wpgeodirectory.com/support/topic/map-icons-keep-reverting-to-parent-category-icon/

    login info is unchanged since my last post above.

    #45316

    Guust
    Moderator
    Post count: 29970

    I alerted Paolo to have a look, but remember it is weekend.
    Please just continue in the other topic.

    #45504

    Paolo
    Site Admin
    Post count: 31206

    Hi,

    what hangs seems to be the loading spin, if I refresh it loads the page correctly, can you disable that loading spin momentarely to see if that’s the culprit?

    Let us know,

    Thanks

    #45554

    jimmymoto
    Full Member
    Post count: 91

    I’ve disabled the spinning pre-loader (an Enfold feature), but no change.

    The problem most definitely occurred after starting my last support thread linked above. Perhaps Guust is right and I shouldn’t have started a new thread, but we’re here now.

    Here’s a breakthrough:
    After testing with preloading-spinner disabled, I changed GD > Business Settings > Field: Category (taxonomy) > Category Display Type > back to “Multi-select” from “Ajax-chained”, then attempted to edit a listing from front-end. Problem persisted, but at least it loaded the page right away (however the blue status bar in Safari showed the page was stalled for about a minute or 2).

    The real breakthrough was when I checked my Facebook page: (https://www.facebook.com/locallogicpr)
    Low-and-behold, all my listings in all CPT’s had just been reposted! That just might explain the server delay. I scrolled down the FB page and there was a second set of listings from only my “Health and Wellness” CPT. The first lot timestamped “Just now”, second lot timestamped “17 minutes ago”, which would correspond to the 2 times I clicked the front-end “Edit this Post” link. Not sure why the second lot was just of 1 CPT.

    I kept scrolling down and saw a third set from 8 hrs ago when i tested at my office–this time all the listings in all CPT’s were posted. Scrolling down more, I see another set of all listings from my all CPT’s from 12 hrs ago (again at my office).

    Just before submitting this update, I tested clicking the front-end “Edit this listing” link again (I’m a sucked for an active FB page, lol), and nothing was posted. I’m assuming FB has some sort of posting limitation since I noticed the most recent group of postings was just shy of the whole alphabetical listing.

    I have not re-imported any listings since about 24 hrs ago (see below), so I have no idea why my listings are repeatedly being posted to my FB page (aside from apparently being triggered by clicking on “Edit this listing”).

    So back to the original sequence of events, after Guust changed the Category Display Type setting from Multi-selct to Ajax-chained (Re: https://wpgeodirectory.com/support/topic/map-icons-keep-reverting-to-parent-category-icon/), I did deleted all gd_business listings and re-imported to see if the icon problem was fixed. I did the same for a few other CPT’s but not all.

    I hope you this lengthy post help you pinpoint the problem.

    #45557

    jimmymoto
    Full Member
    Post count: 91

    OK, here’s more:
    I mentioned above that clicking the front-end “Edit this Post” did not trigger any more FB posting (I assumed FB had a post limit).

    Well, apparently they don’t.

    I just changed GD > Business Settings > Field: Category (taxonomy) > Category Display Type > back to “Ajax-chained” and guust what? All listings in all CPT’s posted again to my Facebook page.

    Looks like either I cornered a little bug in the system, or perhaps something got corrupted in my install.

    #45627

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Hi Jimmy,

    The only thing i can think that would do this is if a load of listing were imported while social importer was active, then it’s trying to post all these to FB, it tries to do this and then deletes the list of posts that should be posted, i am guessing the server is hanging and never getting to the point where it deletes the list, can you check for the wp_option ‘gdfi_post_to_facebook’ and delete it and then check again please?

    If you still have problems please post FTP,DB and wp-admin details.

    Thanks,

    Stiofan

    #45696

    jimmymoto
    Full Member
    Post count: 91

    Deleting gdfi_post_to_facebook solved the problem.
    Thanks Stiofan!

Viewing 7 posts - 1 through 7 (of 7 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket