WordPress.org

Ready to get started?Download WordPress

Forums

All-in-One Event Calendar
[resolved] Import and ICS feed don't work (46 posts)

  1. ldopierala
    Member
    Posted 2 years ago #

    Hello,

    I try to use All-in-One Event Calendar to import automaticly some Event from ICS File, or Google Apps, but it don't works..
    I can't found any information about this. I can add my ics feed from Google Calendar but no import.
    Anyone have an idea to import autmaticly Event to All-in-One Event Calendar ?

    Thanks for help and Happy New Year

    Ludo

    http://wordpress.org/extend/plugins/all-in-one-event-calendar/

  2. Yani Iliev
    Member
    Plugin Contributor

    Posted 2 years ago #

    @ldopierala
    Happy new year!

    1. Login to WP Dashboard(wp-admin).
    2. Go to Events -> Settings
    3. Put the location of your ics feed in iCalendar/.ics Feed URL
    4. Click +Add new subscription
    5. In a few seconds, the ics feed will show below the form.
    6. Click update button and wait for the spinning circle to hide.
    7. You will see the number of imported events.

    Let me know if you are having issues.

  3. ldopierala
    Member
    Posted 2 years ago #

    Hello and thank you for your prompt reply...
    All is OK until line 5/6
    I can add my ics feed, I can clic to update but nothing append, 0 event import :-(

    regards

    Ludo

  4. Yani Iliev
    Member
    Plugin Contributor

    Posted 2 years ago #

    Oh :)
    Can you provide your ics feed so I can run a test?

  5. ldopierala
    Member
    Posted 2 years ago #

    Yes I can provide this :-) (I can even provide my WP site access in private)
    http://www.google.com/calendar/ical/contact%40navette-aeroport-lastminute.com/public/basic.ics

    I copy too the ICS file to this URL :
    http://www.navette-aeroport-lastminute.com/test.ics

    And I have question, if the import work, Can I add in the event the category, tags, price and all information like I will do manualy ?

    Regards

    Ludo

  6. Yani Iliev
    Member
    Plugin Contributor

    Posted 2 years ago #

    @ldopierala
    I see what's wrong - the feed is listing only your free/busy time, not actual events.
    Do you have any control over the feed or if it was imported from somewhere, could you provide that url instead?

    If the import works, you can add categories, tags, and price as well as anything else that you have access to on add new event page.

  7. czytacz
    Member
    Posted 2 years ago #

    Hi,

    I'm having similar problem, except that on step 7 I see "No events found" when there are 2 set for today and tomorrow. Calendar is set as public with ability to view details of events.

    Here is the link:
    http://www.google.com/calendar/ical/1100110000000%40zhp.net.pl/public/basic.ics

    ...and HTML view of the same calendar:
    http://www.google.com/calendar/hosted/zhp.net.pl/embed?src=1100110000000%40zhp.net.pl&ctz=Europe/Warsaw

    Could You please help me?

  8. Yani Iliev
    Member
    Plugin Contributor

    Posted 2 years ago #

    @czytacz
    Just tried the same feed on my localhost and it successfully imported 7 events.
    Can you paste the output of phpinfo to wordpress.pastebin.com and let me see it?

  9. czytacz
    Member
    Posted 2 years ago #

    Unfortunately phpinfo() is disabled by my provider. Is there any other way I can give You input You need?

  10. Yani Iliev
    Member
    Plugin Contributor

    Posted 2 years ago #

    @czytacz
    Can you upload a php file and execute it on the server?
    eg: upload test.php to domain.com and then run domain.com/test.php in your browser?

  11. czytacz
    Member
    Posted 2 years ago #

    @yani.iliev
    sure.

  12. czytacz
    Member
    Posted 2 years ago #

    while waiting for info on what to put into the php file (simple phpinfo() doesn't give any output), I've tried to use any other plugin that would import my .ics file.

    It looks like it works, although on first run it had to create temporary cachce folder - php version on my server is < 5.3

    Is that the case?

    Wersja Apache 2.2.21
    Wersja PHP 5.2.17
    MySQL version 5.1.56-log

  13. czytacz
    Member
    Posted 2 years ago #

    Hmm... the problem seems to be non-existent anymore. Nevertheless, it's strange, cause i didn't do anything special.

    The only thing I noticed is that when I installed other plugin (amr events calendar or lists with ical files) to use ics, it created a cache folder. PHP lower than 5.3 doesnt support cache function, so plugin needed that folder.

    On the other hand I don't see that AIOEC would use it, how would it know that the folder exists?

    Nevertheless, until I drop on the problem again, case can be considered as closed. Thanks for Your time.

  14. Yani Iliev
    Member
    Plugin Contributor

    Posted 2 years ago #

    @czytacz
    Thank you for getting back!
    I am glad you solved your issue.
    Good luck!

  15. bradycreative
    Member
    Posted 2 years ago #

    I am trying to import the ics from google calendars but it doesn't seem to update. the ics code is https://www.google.com/calendar/ical/161hkrdo0qrhfc6sj4s613gib4%40group.calendar.google.com/public/basic.ics and the website is http://emerycountychamber.org/events-calendar/. There is only one thing on Jan 11, but it is not showing up. I am not sure what else to try :/

  16. Yani Iliev
    Member
    Plugin Contributor

    Posted 2 years ago #

    @bradycreative
    When importing your feed on my localhost install it worked and I can see 1 event("ECBC Meeting") being imported.

    Try using this url: http://www.google.com/calendar/ical/161hkrdo0qrhfc6sj4s613gib4%40group.calendar.google.com/public/basic.ics

    Note that https is changed to http. Maybe your server php doesn't support https?

  17. bradycreative
    Member
    Posted 2 years ago #

    I tried eliminating just the s in the https but it seems to still not show up on the front end. would another plugin be messing it up?

  18. Yani Iliev
    Member
    Plugin Contributor

    Posted 2 years ago #

    @bradycreative
    When you add the ics file and hit the Update button, do you see a "Flush 1 event" button showing up after the request is complete?
    Also, does the event show up in all events list?

  19. bradycreative
    Member
    Posted 2 years ago #

    I deactivated all plugins and still nothing. the prompt I receive is "No events were found" when I click to update the ics feed.

  20. Yani Iliev
    Member
    Plugin Contributor

    Posted 2 years ago #

    Can you upload a test.php file with the following code and paste the output:

    <?php
    print_r(stream_get_wrappers());
    ?>
  21. bradycreative
    Member
    Posted 2 years ago #

    Array ( [0] => https [1] => ftps [2] => compress.zlib [3] => compress.bzip2 [4] => php [5] => file [6] => data [7] => http [8] => ftp [9] => zip )

  22. Yani Iliev
    Member
    Plugin Contributor

    Posted 2 years ago #

    Okay, that means your server is able to get the ics feed. Now, the problem must be somewhere else.
    Can you make me a temporary user with super user rights?
    My email address is: yani at the-seed dot ca

  23. bradycreative
    Member
    Posted 2 years ago #

    Thank you for your help!

  24. Yani Iliev
    Member
    Plugin Contributor

    Posted 2 years ago #

    No problem.
    Can you upload a test.php file with the following content and paste the output:

    <?php
    error_reporting(E_ALL); ini_set('display_errors','On');
    echo file_get_contents( 'http://www.google.com/calendar/ical/161hkrdo0qrhfc6sj4s613gib4%40group.calendar.google.com/public/basic.ics' );
  25. bradycreative
    Member
    Posted 2 years ago #

    Warning: file_get_contents() [function.file-get-contents]: URL file-access is disabled in the server configuration in /homepages/2/d175715330/htdocs/ECBC/test.php on line 3

    Warning: file_get_contents(http://www.google.com/calendar/ical/161hkrdo0qrhfc6sj4s613gib4%40group.calendar.google.com/public/basic.ics) [function.file-get-contents]: failed to open stream: no suitable wrapper could be found in /homepages/2/d175715330/htdocs/ECBC/test.php on line 3

  26. Yani Iliev
    Member
    Plugin Contributor

    Posted 2 years ago #

    @bradycreative
    You will have to get in touch with your hosting provider and tell them that you need to use php file_get_contents function.
    If the need an example, you can use the code below:

    <?php
    error_reporting(E_ALL); ini_set('display_errors','On');
    echo file_get_contents( 'http://www.google.com/calendar/ical/161hkrdo0qrhfc6sj4s613gib4%40group.calendar.google.com/public/basic.ics' );

    One that has been taken care of, try importing the feed again and let me know if you are still having troubles :)

  27. bradycreative
    Member
    Posted 2 years ago #

    They said the php file_get_contents function is working but to enable it I need to make a php.ini file, put in this syntax: allow_url_fopen = On

    but it still doesn't seem to work :/

  28. Yani Iliev
    Member
    Plugin Contributor

    Posted 2 years ago #

    @bradycreative

    Make sure that the php.ini file is placed here: /homepages/2/d175715330/htdocs/
    If you have access, put another copy of php.ini here: /homepages/2/d175715330/

    Also, try adding the following line to your .htaccess file (/homepages/2/d175715330/htdocs/.htaccess):
    php_flag allow_url_fopen On

    When you are done with the changes, the first thing to try is to access a test.php file with the following content:

    <?php
    error_reporting(E_ALL); ini_set('display_errors','On');
    echo file_get_contents( 'http://www.google.com/calendar/ical/161hkrdo0qrhfc6sj4s613gib4%40group.calendar.google.com/public/basic.ics' );

    If you see the following output:

    Warning: file_get_contents() [function.file-get-contents]: URL file-access is disabled in the server configuration in /homepages/2/d175715330/htdocs/ECBC/test.php on line 3

    then you should try contacting again your hosting provider and ask them to do the change for you.
    Otherwise, if everything is correct, try importing the ics feed again.

  29. bradycreative
    Member
    Posted 2 years ago #

    It seems to be working now. Thanks.

  30. Lilie
    Member
    Posted 2 years ago #

    Thanks for this support thread, fixed any issue I had. This plugin is wonderful.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic