error number 1 was on making batch file, bad data passed in
error number 2
Notice: Undefined index: LBL_TRIMSUGARFEEDS in G:\htdocs\modules\Schedulers\Scheduler.php on line 1057
self::$job_strings[‘function::’ . $v] = $mod_strings[‘LBL_’ . strtoupper($v)];
error number 3
Notice: Undefined index: show_all in G:\htdocs\modules\Schedulers\views\view.list.php on line 51
if (!($this->options[‘show_all’] === false)) {
If anyone know how to solve this it will help me a lot.
Thank you, waiting for reply.
@pgr was also referring to your outdated version of PHP which is not supported, for your own security and SuiteCRMs stability it’s a really good idea to upgrade to one of the more modern versions, 7.1+ preferably.
In order to run the SuiteCRM schedulers, create a batch file to run using Windows Scheduled Tasks. The batch file should include the following commands: cd /D C:\xampp\htdocs\suitecrm
php.exe -f cron.php
ensures that the command works even if the directory is in a different drive.
Then, that command expects that the XAMPP PHP executable is in the current PATH that Windows searches. If it isn’t, then add it, or else add the full path in the batch file:
cd /D C:\xampp\htdocs\suitecrm
C:\xampp\php\php.exe -f cron.php
That should work, no matter where it is placed.
None of this necessarily has anything to do with the FATAL error you’re seeing.
You might want to run this
C:\xampp\php\php.exe -i
And from the output, check the date.timezone that is effective in CLI, and also exactly which php.ini it’s using (you probably have more than one in your system).
That would mean that cron.php was started correctly, and started to execute SuiteCRM Scheduled jobs.
But then one of those jobs can be failing, you can track that from the logs and from Admin / Schedulers, in each job there is a field Last ran successfully