{"id":3425,"date":"2019-12-23T03:33:28","date_gmt":"2019-12-23T02:33:28","guid":{"rendered":"https:\/\/www.knowboard.de\/?p=3425"},"modified":"2020-01-03T22:59:36","modified_gmt":"2020-01-03T21:59:36","slug":"how-to-fix-the-laravel-file_put_contents-error-in-workice-crm","status":"publish","type":"post","link":"https:\/\/www.knowboard.de\/how-to-fix-the-laravel-file_put_contents-error-in-workice-crm\/","title":{"rendered":"How to fix the Laravel file_put_contents() error in Workice CRM"},"content":{"rendered":"\n

I am still working to get Workice working properly and today I learned another important lesson. After figuring out that the artisan method is the only way I can install Workice properly on my server I pretty soon found out that I could not upload any files or save stuff from the admin section. It seems this is a well known rights problem that can be fixed rather easily. Still, I wonder why the artisan method<\/a>, that runs on the server itself does not set the rights properly while the web installer – when it still worked the first time I used it – did set those correctly. The web is a wonderland.<\/p>\n\n\n\n

\"\"<\/figure>\n\n\n\n

<\/p>\n\n\n\n

Here is the fix for the files and folder rights permission problem<\/h2>\n\n\n\n

Simply find out the systemuser in your hosting package. Either by logging into plesk and seeing the systemuser<\/strong> set there or by typing ls -l somewhere in there bash\/ terminal within a directory with files in your hosting package.<\/p>\n\n\n\n