To post a new support question, click the Post New Topic button below.
Current Version: 4.9.2 | Sytist Manual | Common Issues | Feature Requests
Please log in or Create an account to post or reply to topics.
You will still receive notifications of replies to topics you are part of even if you do not subscribe to new topic emails.
Cron Error - My Host Says Errors Coming From Configuration File?
M
Melissa Shelby
4 posts
Wed Apr 04, 18 5:10 PM CST
Hi,
I tried to set up the cron job about a year ago and couldn't figure it out. I had a friend who is a webmaster in there to try and fix it for me but he didn't get very far.
Last month, I decided to make Sytist the main page for my website and have moved a ton of files around. I thought I would give the cron job another go.
I worked with my web hosting company today - WebsiteSource. They feel that they have the command set correctly for the way my files are configured but he says it looks like the script is throwing a lot of errors. I'm wondering if the file was altered when my friend tried to help me?
Do you have the original file that I can download to fix things if that's the case?
and this is the error message
"Task "httpdocs/sy-admin/sy-cron.php" completed with error in 0 seconds, output:
PHP Warning: include(../sy-config.php): failed to open stream: No such file or directory in /var/www/vhosts/melissashelby.com/httpdocs/sy-admin/sy-cron.php on line 2
PHP Warning: include(../sy-config.php): failed to open stream: No such file or directory in /var/www/vhosts/melissashelby.com/httpdocs/sy-admin/sy-cron.php on line 2
PHP Warning: include(): Failed opening '../sy-config.php' for inclusion (include_path='.:/opt/plesk/php/5.6/share/pear') in /var/www/vhosts/melissashelby.com/httpdocs/sy-admin/sy-cron.php on line 2
PHP Notice: Undefined variable: setup in /var/www/vhosts/melissashelby.com/httpdocs/sy-admin/sy-cron.php on line 3
PHP Notice: Undefined variable: setup in /var/www/vhosts/melissashelby.com/httpdocs/sy-admin/sy-cron.php on line 3
PHP Warning: require(//functions.php): failed to open stream: No such file or directory in /var/www/vhosts/melissashelby.com/httpdocs/sy-admin/sy-cron.php on line 3
PHP Warning: require(//functions.php): failed to open stream: No such file or directory in /var/www/vhosts/melissashelby.com/httpdocs/sy-admin/sy-cron.php on line 3
PHP Fatal error: require(): Failed opening required '//functions.php' (include_path='.:/opt/plesk/php/5.6/share/pear') in /var/www/vhosts/melissashelby.com/httpdocs/sy-admin/sy-cron.php on line 3"
I tried to set up the cron job about a year ago and couldn't figure it out. I had a friend who is a webmaster in there to try and fix it for me but he didn't get very far.
Last month, I decided to make Sytist the main page for my website and have moved a ton of files around. I thought I would give the cron job another go.
I worked with my web hosting company today - WebsiteSource. They feel that they have the command set correctly for the way my files are configured but he says it looks like the script is throwing a lot of errors. I'm wondering if the file was altered when my friend tried to help me?
Do you have the original file that I can download to fix things if that's the case?
and this is the error message
"Task "httpdocs/sy-admin/sy-cron.php" completed with error in 0 seconds, output:
PHP Warning: include(../sy-config.php): failed to open stream: No such file or directory in /var/www/vhosts/melissashelby.com/httpdocs/sy-admin/sy-cron.php on line 2
PHP Warning: include(../sy-config.php): failed to open stream: No such file or directory in /var/www/vhosts/melissashelby.com/httpdocs/sy-admin/sy-cron.php on line 2
PHP Warning: include(): Failed opening '../sy-config.php' for inclusion (include_path='.:/opt/plesk/php/5.6/share/pear') in /var/www/vhosts/melissashelby.com/httpdocs/sy-admin/sy-cron.php on line 2
PHP Notice: Undefined variable: setup in /var/www/vhosts/melissashelby.com/httpdocs/sy-admin/sy-cron.php on line 3
PHP Notice: Undefined variable: setup in /var/www/vhosts/melissashelby.com/httpdocs/sy-admin/sy-cron.php on line 3
PHP Warning: require(//functions.php): failed to open stream: No such file or directory in /var/www/vhosts/melissashelby.com/httpdocs/sy-admin/sy-cron.php on line 3
PHP Warning: require(//functions.php): failed to open stream: No such file or directory in /var/www/vhosts/melissashelby.com/httpdocs/sy-admin/sy-cron.php on line 3
PHP Fatal error: require(): Failed opening required '//functions.php' (include_path='.:/opt/plesk/php/5.6/share/pear') in /var/www/vhosts/melissashelby.com/httpdocs/sy-admin/sy-cron.php on line 3"
Edited Wed Apr 04, 18 5:13 PM by Melissa Shelby
Tim - PicturesPro.com
16,236 posts
(admin)
Thu Apr 05, 18 6:30 AM CST
The way the cron job is being called it isn't getting the file path correctly from the config file.
There are other options to try at the bottom of this page:
https://www.picturespro.com/sytist-manual/settings/automated-emails/
Try this option:
wget -q --spider http://www.yourwebsite.com/sy-admin/sy-cron.php
Replace yourwebsite.com/sy-admin with the URL to YOUR Sytist admin.
There are other options to try at the bottom of this page:
https://www.picturespro.com/sytist-manual/settings/automated-emails/
Try this option:
wget -q --spider http://www.yourwebsite.com/sy-admin/sy-cron.php
Replace yourwebsite.com/sy-admin with the URL to YOUR Sytist admin.
Tim Grissett, DIA - PicturesPro.com
My Email Address: info@picturespro.com
My Email Address: info@picturespro.com
Please log in or Create an account to post or reply to topics.
Loading more pages