Jump to content
  • 0

Flux CP Permission Denied


Question

Posted (edited)

Hi Guys,

Need some help, i just installed LAMP on my centos7,

tried to run fluxcp but its giving me error

already

chmod -R 777 /var/www/html/

Also chown -R apache /var/www/html/

Also restarted systemctl restart httpd.service

Also changed suexec

https://palatana.wordpress.com/2014/09/25/disable-suexec-in-apache/

Warning: fopen(data/tmp/ConfigServers.cache.php): failed to open stream: Permission denied in /var/www/html/lib/Flux.php on line 275

Critical Error

An error was encountered during the lifetime of the application.

This could be due to a variety of problems, such as a bug in the application.

However, normally it is caused by misconfiguration.

Exception Details

Error: Flux_Error

Message: Failed to write data/tmp/ConfigServers.cache.php permission error or data/tmp not exist in Flux::parseConfigFile()

File: /var/www/html/lib/Flux.php:236

File Line Function/Method
/var/www/html/lib/Flux.php 277 Flux::raise()
/var/www/html/lib/Flux.php 335 Flux::parseConfigFile()
/var/www/html/lib/Flux.php 121 Flux::parseServersConfigFile()
/var/www/html/index.php 69 Flux::initialize()

Exception Trace As String

#0 /var/www/html/lib/Flux.php(277): Flux::raise('Failed to write...')
#1 /var/www/html/lib/Flux.php(335): Flux::parseConfigFile('config/servers....')
#2 /var/www/html/lib/Flux.php(121): Flux::parseServersConfigFile('config/servers....')
#3 /var/www/html/index.php(69): Flux::initialize(Array)
#4 {main}
Edited by rmon

10 answers to this question

Recommended Posts

  • 0
Posted (edited)
On 11/11/2017 at 4:24 PM, Cyro said:

also check permissions to folders inside html, in this case   data/tmp  seems not having permissions

Hi Cyro, 

All of them are already 777 , including data/tmp

chmod -R 777 /var/www/html/

Also chown -R apache /var/www/html/

Also restarted systemctl restart httpd.service

 

I have fixed the issue :) 

Thanks Guys 

Edited by rmon
  • 0
Posted
On 11/11/2017 at 7:41 PM, rmon said:

I have fixed the issue :) 

Thanks Guys 

It's generally helpful to update the original post with how you resolved your issue, incase any users have a similar problem in the future.

  • 0
Posted
On 11/11/2017 at 4:33 PM, rmon said:

Hi Cyro, 

All of them are already 777 , including data/tmp

chmod -R 777 /var/www/html/

Also chown -R apache /var/www/html/

Also restarted systemctl restart httpd.service

 

I have fixed the issue :) 

Thanks Guys 

How do you fix this issue?

  • 0
Posted

Guys, 

Kindly share first where do you host your fluxcp, 

I only know how to fix it on CentOS

 

  • 0
Posted
On 7/25/2020 at 8:16 PM, rmon said:

Guys, 

Kindly share first where do you host your fluxcp, 

I only know how to fix it on CentOS

 

we both host in centos kindly share the fix. all folders have 777 access

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...