issue with custom Scheduler(Warning)

Hi All,

Sugarcrm version : 13.0.0

I have created custom Scheduler and its running properly but in custom Scheduler (module=Schedulers) -> Job Log it throws some warnings which I am not getting what might be the root cause for the same:

"

Success Warning [2]: stat(): stat failed for upload/638/3b013638-aaf9-11e6-b80d-060c6f621ec1 in /13.1.0/ent/include/upload_file.php on line 102

"

Can anyone suggest?

Kindest Regards,

Shreya

Parents Reply Children
  • Is it possible that all these errors are thrown because the migration from the old upload structue where all files were located in the root upload directory did non complete successfully so that some files were not moved from the root upload to the upload/<3char> directories ?

    e.g. in this case file upload/638/3b013638-aaf9-11e6-b80d-060c6f621ec1 may be still in upload/3b013638-aaf9-11e6-b80d-060c6f621ec1 

    Is there a specail repair action (planned?) which checks whether there are still files in upload and moves them to upload/<3chars>? 

  •  

    TheSugarCronJobs.php is not suppressing WARNINGS on line 198 of include/SugarQueue/SugarCronJobs.php

    set_error_handler([$this, "errorHandler"], E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED);

    This line should also suppress ~E_WARNING

    For example in a Scheduler you attempt to access an unknown array element the Scheduler will place the WARNING in the message for the SchedulerJob