Opened 14 years ago
Closed 14 years ago
#11152 closed defect (bug) (fixed)
FTPS: Unable to locate WordPress Root directory
Reported by: | scribu | Owned by: | dd32 |
---|---|---|---|
Milestone: | 2.9 | Priority: | normal |
Severity: | normal | Version: | 2.9 |
Component: | Filesystem API | Keywords: | has-patch tested commit |
Focuses: | Cc: |
Description
Using a nightly from a few days ago, I get the above error when trying to do a core upgrade.
Also, it only lets me use FTPS.
It was working last week.
Attachments (1)
Change History (9)
#1
@
14 years ago
- Component changed from Upgrade/Install to Filesystem
- Milestone changed from Unassigned to 2.9
- Owner set to dd32
#2
@
14 years ago
- Cc scribu@… added
FTP is there but grayed out.
I assume I do have FTPS, since it worked before.
I don't have FTP_SSL or FTP_SSH defined in wp-config.php
When I try to upgrade a plugin, I just get the notice:
Notice: Use of undefined constant FTP_TIMEOUT - assumed 'FTP_TIMEOUT' in /public_html/wp/wp-admin/includes/class-wp-filesystem-ftpext.php on line 85
#3
@
14 years ago
I added define('FTP_SSH', true);
and the FTP option is no longer disabled.
Upgrades now work, with either FTP or FTPS selected.
#5
@
14 years ago
- Keywords has-patch added
- Logic inversion..
- Added some extra checks for constants being defined as false
- s/FTP_TIMEOUT/FS_TIMEOUT/
Note: See
TracTickets for help on using
tickets.
Do you have the FTP extension available?
When you say it only allows you to use FTPS, On the credentials page, it only has 'FTPS' or is 'FTP' there, but grayed out?
Do you have a FTPS Enabled server? (Do you know?)
Do you have FTP_SSL or FTP_SSH defined in wp-config.php (at all?)
I just noticed that the FTP_* constants are only checked via defined('FTP_*'), no checking of the value.. I'll get a patch for that, Not sure if its your problem however.