@tom-elliott @george1421
First please accept my apologies for the inconvenience I may have caused.
I discovered that I was writing the file in the wrong directory.
In fact I have 2 fog folders
/var/www/fog/lib/fog
/var/www/html/fog/lib/fog
The correct one is the second in the above list. I was writing to the first unfortunately and nothing was working for me.
Now after I dug properly things are working for me and I confirm the patch is perfect.
@george1421 I still do not mind to try the dev version, could you please send me the instructions ?