Jump to content
  • 0

Flux_Error Failed to write data


wabbu

Question


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  6
  • Reputation:   0
  • Joined:  01/20/19
  • Last Seen:  

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

  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  308
  • Reputation:   24
  • Joined:  11/26/12
  • Last Seen:  

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

  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  6
  • Reputation:   0
  • Joined:  01/20/19
  • Last Seen:  

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

  • 0

  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  308
  • Reputation:   24
  • Joined:  11/26/12
  • Last Seen:  

2 hours ago, wabbu said:

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

oho! finaly good luck and ROK no!

Link to comment
Share on other sites

×
×
  • Create New...