- Posts: 2952
- Home
- Forum
- Community Forum
- General discussions
- [Solved] Fatal error Solidres is not working
- Forum
- Community Forum
- Feature requests / Suggestions
- Implemented
- Import Ical from other booking sites via url
Import Ical from other booking sites via url
- solidres
-
- Offline
Less
More
6 years 2 months ago #12723
by solidres
FAQ: www.solidres.com/support/frequently-asked-questions
Support Policy: www.solidres.com/support-policy
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,
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,
FAQ: www.solidres.com/support/frequently-asked-questions
Support Policy: www.solidres.com/support-policy
Please Log in or Create an account to join the conversation.
- abeliere
- Offline
Less
More
- Posts: 2
6 years 1 month ago - 6 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.
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: 6 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.
- solidres
-
- Offline
Less
More
- Posts: 2952
6 years 1 month ago #13083
by solidres
FAQ: www.solidres.com/support/frequently-asked-questions
Support Policy: www.solidres.com/support-policy
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,
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,
FAQ: www.solidres.com/support/frequently-asked-questions
Support Policy: www.solidres.com/support-policy
The following user(s) said Thank You: abeliere
Please Log in or Create an account to join the conversation.
- easylife
- Offline
Less
More
- Posts: 9
5 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
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.
- solidres
-
- Offline
Less
More
- Posts: 2952
5 years 8 months ago #14926
by solidres
FAQ: www.solidres.com/support/frequently-asked-questions
Support Policy: www.solidres.com/support-policy
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 upgrade your iCal plugin to latest version and try again.
Regards,
FAQ: www.solidres.com/support/frequently-asked-questions
Support Policy: www.solidres.com/support-policy
Please Log in or Create an account to join the conversation.
- easylife
- Offline
Less
More
- Posts: 9
5 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
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