Jump to content
  • 0
wabbu

Flux_Error Failed to write data

Question

Once Fluxcp files are uploaded to the server, I get the following errors.

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

File: /lib/Flux.php:236

Quote

 

Line    Function/Method

277    Flux::raise()

335    Flux::parseConfigFile()

121    Flux::parseServersConfigFile()

67    Flux::initialize()

 

 

Exception Trace as String:

Quote

 

#0 ~/lib/Flux.php(277): Flux::raise('Failed to write...')

#1 ~/lib/Flux.php(335): Flux::parseConfigFile('config/servers....')

#2 ~/lib/Flux.php(121): Flux::parseServersConfigFile('config/servers....')

#3 ~/index.php(67): Flux::initialize(Array)

#4 {main}

 

 

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 1

Centos 7:

sudo chown  apache:apache /var/www/html/data/
sudo chmod -R 777 /var/www/html/data/

or if you already did in your HTML folder try to log in WinSCP as ROOT then change the property settings of the folder DATA and the TMP, change from ROOT[0] to APACHE then set to 0777 ^_^

Edited by chatterboy
Link to comment
Share on other sites

  • 0
On 5/5/2020 at 4:55 AM, chatterboy said:

Centos 7:

sudo chown  apache:apache /var/www/html/data/
sudo chmod -R 777 /var/www/html/data/

or if you already did in your HTML folder try to log in WinSCP as ROOT then change the property settings of the folder DATA and the TMP, change from ROOT[0] to APACHE then set to 0777 ^_^

Thank you for the help. I proceeded in writing changing the permissions of the files to 777 and it worked.

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.