$conf, $runtime; function_exists('chdir') AND chdir(APP_PATH); $r = 'mysql' == $conf['cache']['type'] ? website_set('runtime', $runtime) : cache_set('runtime', $runtime); } function runtime_truncate() { global $conf; 'mysql' == $conf['cache']['type'] ? website_set('runtime', '') : cache_delete('runtime'); } register_shutdown_function('runtime_save'); ?>FTP connection information + warning lines appearing on the homepage of my campsite?|Programmer puzzle solving
最新消息:Welcome to the puzzle paradise for programmers! Here, a well-designed puzzle awaits you. From code logic puzzles to algorithmic challenges, each level is closely centered on the programmer's expertise and skills. Whether you're a novice programmer or an experienced tech guru, you'll find your own challenges on this site. In the process of solving puzzles, you can not only exercise your thinking skills, but also deepen your understanding and application of programming knowledge. Come to start this puzzle journey full of wisdom and challenges, with many programmers to compete with each other and show your programming wisdom! Translated with DeepL.com (free version)

FTP connection information + warning lines appearing on the homepage of my campsite?

matteradmin9PV0评论

I've read lots of posts about this issue usually appearing in the backend of wordpress, but mine appears on the live website (a camp site, not to mention we are on a big period for online bookings !!!). I had no solution on the french forum, so I come here full of hope !

Issue :

For 3 days, my brother tells me that intermittently it appears at the top of the pages a window to fill in FTP credentials with the phrase: "to perform the requested action, wordpress needs to access your web server. Please enter your FTP credentials to proceed ... ".

Below, full of warning lines that worry customers.

I saw on internet that a solution was to go to wp-config and insert:

define ('FS_METHOD', 'direct');
define ('FS_CHMOD_DIR', 0770);
define ('FS_CHMOD_FILE', 0660);

In my case, this made the page even more buggy. Even if I put the first line only, that I replace "direct" by "ftpext" or "ftpsockets" ... That I change manually CHMOD just for the files of wp-content etc ...

Note that I have not touched the site for 1 month, so nothing new on this side. The file quota on LWS is full but not the web space (regarding the warning message, if you wonder).

Thank you to those who can help me because it is very annoying for my brother's camping!

I've read lots of posts about this issue usually appearing in the backend of wordpress, but mine appears on the live website (a camp site, not to mention we are on a big period for online bookings !!!). I had no solution on the french forum, so I come here full of hope !

Issue :

For 3 days, my brother tells me that intermittently it appears at the top of the pages a window to fill in FTP credentials with the phrase: "to perform the requested action, wordpress needs to access your web server. Please enter your FTP credentials to proceed ... ".

Below, full of warning lines that worry customers.

I saw on internet that a solution was to go to wp-config and insert:

define ('FS_METHOD', 'direct');
define ('FS_CHMOD_DIR', 0770);
define ('FS_CHMOD_FILE', 0660);

In my case, this made the page even more buggy. Even if I put the first line only, that I replace "direct" by "ftpext" or "ftpsockets" ... That I change manually CHMOD just for the files of wp-content etc ...

Note that I have not touched the site for 1 month, so nothing new on this side. The file quota on LWS is full but not the web space (regarding the warning message, if you wonder).

Thank you to those who can help me because it is very annoying for my brother's camping!

Share Improve this question asked May 11, 2018 at 11:18 MarieMarie 11 bronze badge 2
  • 1 Just switching it to direct won't work, so you can remove those lines. And the problem is right there in the error message "disk quota exceeded". It cannot write files, so it's falling down when trying to do so. Fix the underlying problem and free up some disk space or something. – Otto Commented May 11, 2018 at 11:55
  • Thanks for your answer Otto. Indeed, I was focusing on the ftp side of the issue, but after a backup, I've deleted some old files and I haven't seen these lines since. I hope it has solved the issue as you mentionned it. I will change my hosting service because I only use 6% of the space allocated, but I saw I'm very near to the max file quota, and wordpress is known to generate a lot of files ! I'll see in the coming hours and days if nothing happen, because last days it has shown intermittently. – Marie Commented May 11, 2018 at 14:21
Add a comment  | 

1 Answer 1

Reset to default 0

This is most likely a permissions issue. If you're running the website under apache on linux, make sure the group owner is www-data

Post a comment

comment list (0)

  1. No comments so far