I received this error after installing the flux cp. Im on CentOS 7.
Warning[color=rgb(0,0,0);font-family:'Times New Roman';font-size:medium;]: fopen(data/tmp/ConfigServers.cache.php): failed to open stream: Permission denied in [/color]/var/www/html/flux/lib/Flux.php[color=rgb(0,0,0);font-family:'Times New Roman';font-size:medium;] on line [/color]275
Warning[color=rgb(0,0,0);font-family:'Times New Roman';font-size:medium;]: fwrite() expects parameter 1 to be resource, boolean given in [/color]/var/www/html/flux/lib/Flux.php[color=rgb(0,0,0);font-family:'Times New Roman';font-size:medium;] on line [/color]276
Warning[color=rgb(0,0,0);font-family:'Times New Roman';font-size:medium;]: fwrite() expects parameter 1 to be resource, boolean given in [/color]/var/www/html/flux/lib/Flux.php[color=rgb(0,0,0);font-family:'Times New Roman';font-size:medium;] on line [/color]277
Warning[color=rgb(0,0,0);font-family:'Times New Roman';font-size:medium;]: fclose() expects parameter 1 to be resource, boolean given in [/color]/var/www/html/flux/lib/Flux.php[color=rgb(0,0,0);font-family:'Times New Roman';font-size:medium;] on line [/color]278
Warning[color=rgb(0,0,0);font-family:'Times New Roman';font-size:medium;]: fopen(data/tmp/LangEnUs.cache.php): failed to open stream: Permission denied in [/color]/var/www/html/flux/lib/Flux.php[color=rgb(0,0,0);font-family:'Times New Roman';font-size:medium;] on line [/color]275
I've already tried several methods suggested in the forum including :
- Set the rights for data/tmp to 777
- Set the owner of data/tmp to apache
- Delete all the files inside data/tmp
I have been working on this for the whole day but still cannot get it to work.