I get the 502 error page everytime

Home Forums Calendar Products Community Events I get the 502 error page everytime

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1041960
    giselle
    Participant

    Hi:

    Almost every time I try to get in the FACEBOOK IMPORT SECTION, it takes too long and then I get the 502 error page (502
    The page request was canceled because it took too long to complete).

    Sometimes I do get in that part of the plugin, but then I get the 502 error page when I try to import an event.

    Can you help me please?

    Thanks.

    • This topic was modified 10 years, 4 months ago by giselle.
    • This topic was modified 10 years, 4 months ago by Brook.
    • This topic was modified 9 years, 5 months ago by Geoff.
    #1042520
    Brook
    Participant

    Howdy Giselle,

    I would love to help you with this.

    Thanks for thoroughly detailing the problem. When the Import: Facebook page loads it attempts to see if there are any new events to import from the Facebook groups you have selected. This can take a while to do, mostly if there are a lot of Facebook groups you have selected. Further your server can be set to limit the amount of time it is allowed to look for events, and if that limit is low then you can not have very many groups.

    There are two ways to fix this:

    1. Change your server’s PHP configuration. Specifically alter the ‘max_execution_time’ to give the page more time to load. If you do not know how to do this, the only way to get step by step instructions is to ask your webhost “how do I change PHP’s max_execution_time?”
    2. Remove any Facebook groups you don’t want or need to check every time the page loads. Go to WP-Admin > Events >Import, and edit out any Organizations/pages you can to cut down on load times.

    We are trying to find some ways to optimize this as well so that in the future even slow servers can load a few more organizers than currently. But those optimizations will likely not be available for a few months.

    Does that all make sense? Will that work for you? Please let me know.

    • Brook
    #1076262
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

    #1184575
    Geoff
    Member

    Hey Giselle,

    Great news! After a lot of work and effort, we were able to make release what we believe is a great solution for the issue of events not importing from Facebook due to timeout limitations.

    Since this thread was opened, not only has Facebook updated it API, but we have developed a new product called Event Aggregator that is fully compatible with it and overcomes the importing issues that Facebook Events encountered. In particular, Event Aggregator is not a plugin, but a service that is already available in The Events Calendar 4.3 and, when purchasing a license to activate it, it uses the power of our servers here at Modern Tribe to handle much larger imports than Facebook Events ever could running on a typical shared server.

    Event Aggregator is now available and you should even have a complimentary license for it if you already have an active Facebook Events license to help you make the switch.

    In addition, we’ve put together a handy guide that outlines best practices for importing events using Event Aggregator to help get the most out of your imports:

    https://theeventscalendar.com/knowledgebase/plugin/event-aggregator/

    Thanks so much for your patience while we worked on this. We know it has been a long-running item everyone’s wishlist and we couldn’t be more excited to finally get it into your hands.

    Cheers,
    Geoff

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘I get the 502 error page everytime’ is closed to new replies.