Jump to content
  • 0

Flux CP Permission Denied


Astroid

Question


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  7
  • Reputation:   0
  • Joined:  08/04/12
  • Last Seen:  

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

  • Group:  Forum Manager
  • Topic Count:  282
  • Topics Per Day:  0.06
  • Content Count:  3122
  • Reputation:   1614
  • Joined:  03/26/12
  • Last Seen:  

12 hours ago, chryxt said:

up

Why necro a post and provide no information?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  42
  • Reputation:   0
  • Joined:  02/21/13
  • Last Seen:  

U need to give permission for directory  "/var/www/html/flux/"

Instead of give permission for data/tmp

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.01
  • Content Count:  71
  • Reputation:   0
  • Joined:  07/13/15
  • Last Seen:  

i have same problem

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  1
  • Reputation:   1
  • Joined:  01/07/19
  • Last Seen:  

disable selinux

  • Like 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  31
  • Topics Per Day:  0.01
  • Content Count:  491
  • Reputation:   19
  • Joined:  11/19/11
  • Last Seen:  

On 1/7/2019 at 8:02 PM, Jsept said:

disable selinux

thx work like a charm ?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  4
  • Reputation:   0
  • Joined:  05/18/16
  • Last Seen:  

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

  • -3

  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  36
  • Reputation:   0
  • Joined:  05/06/15
  • Last Seen:  

up

Link to comment
Share on other sites

×
×
  • Create New...