Jump to content
  • 0
Astroid

Flux CP Permission Denied

Question

I received this error after installing the flux cp. Im on CentOS 7.

 

Warning: fopen(data/tmp/ConfigServers.cache.php): failed to open stream: Permission denied in /var/www/html/flux/lib/Flux.php on line 275
Warning: fwrite() expects parameter 1 to be resource, boolean given in /var/www/html/flux/lib/Flux.php on line 276
Warning: fwrite() expects parameter 1 to be resource, boolean given in /var/www/html/flux/lib/Flux.php on line 277
Warning: fclose() expects parameter 1 to be resource, boolean given in /var/www/html/flux/lib/Flux.php on line 278
Warning: fopen(data/tmp/LangEnUs.cache.php): failed to open stream: Permission denied in /var/www/html/flux/lib/Flux.php on line 275

 

I've already tried several methods suggested in the forum including :

  1. Set the rights for data/tmp to 777
  2. Set the owner of data/tmp to apache
  3. Delete all the files inside data/tmp

I have been working on this for the whole day but still cannot get it to work.

Edited by Astroid
Link to comment
Share on other sites

7 answers to this question

Recommended Posts

  • 0

yeah i facing this error to,.

-please consider by Delete all cp in you sql and in html/data/logs everything inside except index.html

and run commands bellow will help

chmod -R 777 /var/www/html/
chmod -R 48:48 /var/www/html/data/logs
chmod -R 48:48 /var/www/html/data/itemshop
chmod -R 48:48 /var/www/html/data/tmp

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.