I had a new website application installed but am having a cron job error out. I need the PHP code fixed or the configuration in the website control panel set correctly.
The error is:
/var/www/vhosts/[login to view URL]: line 1: ?#//v.3.2.1: No such file or directory
/var/www/vhosts/[login to view URL]: line 2: //: is a directory
/var/www/vhosts/[login to view URL]: line 3: //: is a directory
/var/www/vhosts/[login to view URL]: line 4: //: is a directory
/var/www/vhosts/[login to view URL]: line 5: //: is a directory
/var/www/vhosts/[login to view URL]: line 6: syntax error near unexpected token `$_SERVER['SCRIPT_NAME']'
/var/www/vhosts/[login to view URL]: line 6: `if(!isset($_SERVER['SCRIPT_NAME'])) $_SERVER['SCRIPT_NAME'] = '[login to view URL]';'
We can set the cron functionality for the file for you. We have done the settings of cron in many of our projects. Looking forward for your reply.
Best Regards
Webworkzone