Jump to content

Edit History

dtwfung

dtwfung

On 4/16/2020 at 7:23 PM, _SMIPro_ said:

Doh! I didn't translate that. The log is a report, if the "Errores" array is empty means there is no errors during the process

You can look at the line 67-68 Only writes the log to report if there is an error. You can comment those lines or change them with this code.


if( count($this->errors) > 0 ){
	log_write('Errores');
	log_write($this->errors);
}

It'll prevent from writing the log when there are not errors.

I hope this solves your question.

I see.  but the php does not regenerate.

I tried delete a image file in img/p/.../26-small_default.jpg and regenerate, This deleted file did not regenerate.

I tried to delete all *.jpg under img/p/2/6 EXCEPT 26.jpg, those files did not regenerate either.

When I regenerate with BO -> image setting -> REGENERATE THUMBNAILS, all deleted files were regenerated.

Anyway, Many thanks for your assistant !

dtwfung

dtwfung

On 4/16/2020 at 7:23 PM, _SMIPro_ said:

Doh! I didn't translate that. The log is a report, if the "Errores" array is empty means there is no errors during the process

You can look at the line 67-68 Only writes the log to report if there is an error. You can comment those lines or change them with this code.


if( count($this->errors) > 0 ){
	log_write('Errores');
	log_write($this->errors);
}

It'll prevent from writing the log when there are not errors.

I hope this solves your question.

I see. Many thanks

×
×
  • Create New...