Laravel 5 and php display_errors

Laravel 5 do not display php errors. Fatal, Warning and even Notice are hidden, and will result in a blank page. Avoid the « blank page » syndrom You have to update your environment to « testing ». So please edit your « .env » file at the root of your project and add : APP_ENV=testing You may find some tips on varius internet forums...

août 10th, 2017 by Benoit Bonneville 

/var/lib/ureadahead/debugfs/tracing is not accessible

  Nagios check_disk You are monitoring an Unix Ubuntu Server using nagios and the NRPE command « check_disk », and you are blocked on the following error : DISK CRITICAL – /var/lib/ureadahead/debugfs/tracing is not accessible: No such file or directory Simply run the command mountall It may display some errors, like « Device or resource busy »...

juin 22nd, 2017 by Benoit Bonneville 

Mysql 5.7 upgrade too strict

Mysql 5.7 come with a new default settings: the strict mode. This feature replace MySql previous warning by a Fatal error and it will crash your application in many cases : Forgetting to defined default values for your field Trying to set a empty string into a integer field Dividing by 0 … Errors Sample Incorrect integer value: '' for column 'id' at row 1 How to fix In order to disable...

septembre 23rd, 2016 by Benoit Bonneville