Import Ical from other booking sites via url

More
5 years 2 months ago #12723 by solidres
Replied by solidres on topic Import Ical from other booking sites via url
Hi,

The cron job file for importing iCal can be found here:

plugins/solidres/ical/cli/ical.php

You need to use it to setup cron job with your hosting, the exact instructions depends on your hosting provider, please contact them for more details.

Regards,

Please Log in or Create an account to join the conversation.

More
5 years 1 month ago - 5 years 1 month ago #13063 by abeliere
Replied by abeliere on topic Import Ical from other booking sites via url
Hi,
Hello,
When I run the specified script in cron to synchronize the calendars, the server returns the error here.
Can you help me. Thank you.
  • /plugins/solidres/ical/cli/ical.php" a terminé avec une erreur en 0 secondes, résultat :

    Warning: require_once(/var/www/vhosts/xxx.com/httpdocs/plugins/solidres/ical/includes/defines.php): failed to open stream: No such file or directory in /var/www/vhosts/xxx.com/httpdocs/plugins/solidres/ical/cli/ical.php on line 25

    Fatal error: require_once(): Failed opening required '/var/www/vhosts/xxx.com/httpdocs/plugins/solidres/ical/includes/defines.php' (include_path='.:/opt/plesk/php/7.2/share/pear') in /var/www/vhosts/xxx.com/httpdocs/plugins/solidres/ical/cli/ical.php on line 25


    PHP Warning: require_once(/var/www/vhosts/xxx.com/httpdocs/plugins/solidres/ical/includes/defines.php): failed to open stream: No such file or directory in /var/www/vhosts/xxx.com/httpdocs/plugins/solidres/ical/cli/ical.php on line 25
    PHP Fatal error: require_once(): Failed opening required '/var/www/vhosts/xxx.com/httpdocs/plugins/solidres/ical/includes/defines.php' (include_path='.:/opt/plesk/php/7.2/share/pear') in /var/www/vhosts/xxx.com/httpdocs/plugins/solidres/ical/cli/ical.php on line 25
Last edit: 5 years 1 month ago by abeliere.
The following user(s) said Thank You: ropeadventures

Please Log in or Create an account to join the conversation.

More
5 years 1 month ago #13083 by solidres
Replied by solidres on topic Import Ical from other booking sites via url
Hi,

We are sorry for not being clear enough, you need to copy the ical.php file to Joomla /cli folder and run it from there:

JOOMLA_ROOT/cli/ical.php

Regards,
The following user(s) said Thank You: abeliere

Please Log in or Create an account to join the conversation.

More
4 years 8 months ago #14920 by easylife
Replied by easylife on topic Import Ical from other booking sites via url
Hi,
I'm trying to import iCal from airbnb. I copy the url under ical section and I create this crontab:

crontab -e
# m h dom mon dow command
*/30 * * * * php /var/www/html/webroot/cli/ical.php

but it doesn't work. the calendar is not updated.

I tried the command from cli and I got this error:

# php /var/www/html/weboroot/cli/ical.php
Error: Call to undefined method Joomla\CMS\Application\WebApplication::getTemplate(): Call to a member function format() on bool

What I'm doing wrong?
Can you please help me?

Thanks.
Pietro

Please Log in or Create an account to join the conversation.

More
4 years 8 months ago #14926 by solidres
Replied by solidres on topic Import Ical from other booking sites via url
Hi,

Please upgrade your iCal plugin to latest version and try again.

Regards,

Please Log in or Create an account to join the conversation.

More
4 years 8 months ago #14968 by easylife
Replied by easylife on topic Import Ical from other booking sites via url
Ciao,
I already have the latest ical version (Version 0.8.1 is enabled), but it is not working.
I've copied again the ical.php file and now the error (call to undefinetd ....) is not showed anymore, but the calendar is not synchronized yet.
do you have any suggestion?
Thanks
Pietro

Please Log in or Create an account to join the conversation.

Moderators: solidres
Powered by Kunena Forum

All the things you need to make your work easier. Did you like Solidres?