Home › Forums › Calendar Products › Event Aggregator › fb automatic import workin or not?
- This topic has 20 replies, 2 voices, and was last updated 11 years, 6 months ago by
Brian.
-
AuthorPosts
-
October 13, 2014 at 10:32 am #807912
socialist
Participanthi,
it seems that facebook auto import is not working. wp-cron.php is triggered every 15 minutes. automatic import is set to hourly and nothing happens. maybe you have another idea what can be a reason that nothing is imported automatically. i check forum, user primer and so on…
thanks in advance for some help.
October 14, 2014 at 8:12 am #810341Brian
MemberHi
Sorry for the issue with Facebook Events not auto importing. I can help troubleshoot this with you.
Have you tried importing a single event and see if that works?
Do you know if any of the events are Age Restricted? The Facebook API does not enable us to import age restricted events.
Can you provide the link to the Facebook Page you are trying to import events from and I can test it out?
Let me know and we can go from there.
Thanks
October 14, 2014 at 8:35 am #810388socialist
Participantsingle manual importin is workin like expected.
there is no age restriction in those events. there is not only one page from where i try to import. maybe you can explain in more detail how the cron is workin. i have no log issues on my root server and there is also no error given in wordpress. the events are recognized in the list automatically but they are not published (or drafted and so on).
October 14, 2014 at 8:37 am #810405Brian
MemberI understand you have more then one page could please provide at least one even in a private reply so I can see if I can duplicate the process.
Thanks
October 14, 2014 at 8:43 am #810427socialist
ParticipantThis reply is private.
October 14, 2014 at 8:46 am #810443socialist
ParticipantThis reply is private.
October 14, 2014 at 8:48 am #810450socialist
ParticipantThis reply is private.
October 14, 2014 at 8:59 am #810483Brian
MemberOk thanks, I will test this out and see what it does and also get back to you about what the cron triggers for this to work.
October 14, 2014 at 9:01 am #810489socialist
Participantok thanks
October 15, 2014 at 8:35 am #812346Brian
MemberThanks for the information.
When you go to Events->Import Facebook, do all the events from the Pages you are trying import show there? Do any have any checks in the boxes saying they were imported?
In the Events->Settings->Facebook tab are the events set to publish?
We did have an issue where the hourly setting did not import events, but the other ones did, but you said none worked for you, correct.
Still looking into this issue and testing on my end too. I hope to have something for you soon too.
October 15, 2014 at 9:12 am #812425socialist
Participanti tried the following (because since i have the fb importer this automatic never worked for me):
some events were imported (checked) and some not. first i tried with on day interval and than with two times daily and so on… the wp-cron is triggered every 15 minutes (i check that via access log on server). the import settings are also set tu “publish”. manually everything works ok but i don’t want to login and click “import” every time.
i’m also wondering that it seem working for everybody else. but also my server logs have no error inside and all execution limits in php were adjusted.
thanks for information.
October 15, 2014 at 9:16 am #812436socialist
Participantat the moment still events are unchecked whilst automatic is switched on.
October 15, 2014 at 12:22 pm #812744Brian
MemberThe Auto Importer is run through this file:
\the-events-calendar-facebook-importer\the-events-calendar-facebook-importer.php
About line 1140 is where we call this WordPress Function to schedule with the Cron wp_schedule_event
Cron Disabled
It sounds like you have cron disabled in your wp-config.php file, is that correct?Can you do a test and re-enable the cron and then see if Events Auto Import?
There could be some issue with manually triggering the cron, why that would be I do not know yet.
Let me know what you find out from that and we can go from there.
October 15, 2014 at 2:08 pm #812960socialist
Participantand yes i disabled cron via wp config and will enable it.
October 15, 2014 at 5:22 pm #813194Brian
MemberI apologize that coding and my instructions were hard to follow. I am going to remove that coding and related posts as I do not want it followed by other people as it could create more problems then it solves.
I came up with a new code that echos the cron into the console.
Can you please add that to your functions.php and then I can see the array myself. Then I can let you know when to remove it.
Does that work for you?
Also let me know if any Events have imported with the Cron back on from WordPress.
Thanks
-
AuthorPosts
- The topic ‘fb automatic import workin or not?’ is closed to new replies.
