Home › Forums › Calendar Products › Event Aggregator › an error occurred while processing this directive – when importing from Facebook
- This topic has 20 replies, 5 voices, and was last updated 10 years, 10 months ago by
Support Droid.
-
AuthorPosts
-
December 13, 2014 at 1:17 pm #917395
cjoles
ParticipantJust installed the import Facebook plugin and while I absolutely love it, I am getting the error any time I try to import events. I have tried selecting a few at a time and that seems to work. Selecting 10 errors out, Selecting 4 works fine. I am guessing this is a timeout issue perhaps on my hosts side. I’m with bluehost, so what should I ask them to adjust? I’m wondering if these settings are what is causing this issue?
max_execution_time 30 30
max_file_uploads 20 20
More info on this, I bumped the max execution time and max input time to 300 seconds and that did not help. Timing this out, the error shows right around 40 seconds in the the import.
Checked the error logo on the server and found this:
exec used but not allowed in /home/mainemus/public_html/500.shtml, referer: http://www.mainemusicnews.com/wp-admin/edit.php?post_type=tribe_events&page=import-fb-eventsAfter just going through and importing over 250+ events into my site (www.mainemusicnews.com), I am also noticing that the photos that were imported are not showing up under the correct event. I checked in the media library and there appears to be multiple copies of the same image that was added to the library. How do I correct this?
December 15, 2014 at 7:54 am #918612Josh
ParticipantHello cjoles,
In regards to the first part of the post, I believe the previous response to your other thread still be the starting point in the conversation with Bluehost.
With the photos, are they showing up under the wrong event or are they not showing up on events at all?
Thanks!
December 15, 2014 at 8:40 am #918708cjoles
ParticipantJosh, photos are showing up, however, the wrong photos are being assigned to the wrong events. In my media library, you would see the same photo being imported for multiple events. Yet, when you open the event, you see the correct photo showing as the featured image. Does this help isolate this further?
Regarding what I should be telling my hosting provider, what should I be asking them to adjust?
December 15, 2014 at 9:32 am #918829cjoles
ParticipantI’m in a chat session with my host and they are telling me that besides the timeouts that I adjusted, there is nothing on their end that should be causing this. Now, with that said, I dont necessarily believe what he is telling me. Did you see this part of my post above as this error gets generated in the error log everytime I try an import : Checked the error logo on the server and found this: exec used but not allowed in /home/mainemus/public_html/500.shtml, referer: http://www.mainemusicnews.com/wp-admin/edit.php?post_type=tribe_events&page=import-fb-events
December 15, 2014 at 10:05 am #918863cjoles
ParticipantI think it has something to do with the refresh of events from the pages I have listed after the import is done. I tested with only 2 sites to import and that imported a total of 9 events without error. If I add all the sites I need, it times out. However, all the photos are still messed up. Even when it imports correctly, so I think that we have 2 separate issues.
December 15, 2014 at 10:18 am #918874cjoles
ParticipantThey said, I had the L3 check here, and he is seeing the same thing there that the import settings are set as they should be. Nothing in the server settings that should be stopping this from importing the info. I then asked So nothing else can be done on your end? They said at least nothing that makes immediate sence. If the developer can come up with something, we can likely change that to get it to work, but we can’t really find anything here change.
Please advise
December 16, 2014 at 7:54 am #919876Josh
ParticipantHello cjoles,
Thanks for following up with us!
Would you mind sending me a screenshot of your settings page for the Facebook tab in our plugin? Could you also send me the list of pages that you’re importing from that have been added to this field here https://cloudup.com/c-NziivHKt2?
Thanks!
December 16, 2014 at 3:15 pm #920370cjoles
ParticipantI just responded to the email that I received with a screen shot. I dont see where I can post a screen shot here.
December 16, 2014 at 3:19 pm #920373cjoles
ParticipantThis reply is private.
December 18, 2014 at 5:42 am #922418cjoles
ParticipantJust checking in to see if you have an update on this. I have done more troubleshooting on my end to no avail. I have turned off the Varnish cache on my server, turned off all W3 Total Cache options, tried a different theme all to no change in both issues, incorrect photos being imported and the an error occurred while processing this directive when trying to import the events. I worked with my hosting provider and am being told there is nothing wrong on their end as well.
This plugin will allow me to a a feature to my site that I have always wanted. Please advise.
December 18, 2014 at 6:55 am #922470Josh
ParticipantHey Cjoles,
I apologize for the delay in being able to respond. I’m setting up a page to test with the same pages that you’re pulling in to see if I can replicate the issue locally. As a final question, are you setting these to automatically import events? If so, at what interval?
I’ll also review this issue with the rest of our support team today to see if others have any insight into what may be happening with both of these issues.
I apologize for the inconveniences but hopefully we can help to get to the root of the issue.
Thanks!
December 18, 2014 at 7:04 am #922488cjoles
ParticipantAt this time, I do not have it setup to automatically import as that was not working.
December 22, 2014 at 6:33 am #923716cjoles
ParticipantJust checking in as it has been a few days. I also wanted you to know that I am in the process of moving my site from BlueHost to Siteground. I have my site working on Siteground (it is just not live yet) and I can confirm that the plugin is having the same problem with Siteground. This proves to me that there is an issue with the plugin, not the hosting. Please advise.
December 23, 2014 at 9:53 am #924298Josh
ParticipantHey cjoles,
Thanks for following up with us! When testing on Siteground, are you using all of the same plugins and theme or did you try with just a default theme and just the plugins associated with The Events Calendar?
I attempted to import events and was able to successfully import over 100 events from every page that you’ve linked to without any errors. However, I did notice some strange issues with event images. I didn’t notice sporadic instances of completely incorrect images for events, however I did notice that the image for the last event imported from a specific page gets applied to all the events from that venue (https://cloudup.com/cNJ7P99Lfsz).
Was this similar to what you’ve been noticing?
I’ve assigned this thread to a bug ticket and a developer will be looking into the issue. I apologize for the inconvenience this issue has caused. As someone works to find the solution, you’ll be notified via this thread on the progress and when a patch will be released for the issue.
Thanks!
-
This reply was modified 11 years, 4 months ago by
Josh.
December 23, 2014 at 10:04 am #924302cjoles
ParticipantHey Josh,
I have tested this with the default themes and still ran into the same error.
Regarding the images, yes, I can confirm that what you are finding regarding the last image imported from a venue gets applied to all events from that venue. That does appear to be what I am seeing as well.Regarding the timeout errors I did open a ticket with the new hosting company and was told the following
I could not receive a Gateway Timeout error but I received a “Something went wrong with the site caching!” error. However, both indicate the same thing – our server is waiting for too long for your site to return a response and it just takes a too much time to complete the imports. Our server reaches its timeout limits and gives up waiting for your site.
You should import fewer events at one time because the import process calls a lot of functions during the importing of each event – try with smaller number – like 5.
Ask the developers of this import plugin if they could improve the import process so that it will not reach the timeouts on the server. If you need to import events often, then you should consider upgrading to one of our Cloud Hosting plans. There we can adjust the timeouts on the server to accommodate the needs of your site.
-
This reply was modified 11 years, 4 months ago by
-
AuthorPosts
- The topic ‘an error occurred while processing this directive – when importing from Facebook’ is closed to new replies.
