[wp-trac] [WordPress Trac] #14401: Unable to locate WordPress Content directory (wp-content).
WordPress Trac
wp-trac at lists.automattic.com
Sun Jul 25 21:07:23 UTC 2010
#14401: Unable to locate WordPress Content directory (wp-content).
-----------------------------+----------------------------------------------
Reporter: pavelevap | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Upgrade/Install | Version: 3.0
Severity: normal | Keywords:
-----------------------------+----------------------------------------------
Comment(by pavelevap):
I tried Filezilla and Total Commander, but I could not find current server
path, everywhere is only ftp://user.domain.eu@ftp.domain.eu.
Adding your code to wp-config.php changed error, now there is:
"Unable to locate WordPress Plugin directory."
So, I tried adding to wp-config.php:
{{{
define('FTP_PLUGIN_DIR', '/');
}}}
It helps a little and following text appears (for installing plugin WP
Memory Usage):
Downloading install package from http://downloads.wordpress.org/plugin/wp-
memory-usage.zip…
Unpacking the package…
Installing the plugin…
Warning: rename() [function.rename]: SAFE MODE Restriction in effect. The
script whose uid is 8855 is not allowed to access
/home/www/domain.eu/subdomains/www/wp-content/visitor-maps-backup owned by
uid 33 in /home/www/domain.eu/subdomains/www/wp-content/plugins/visitor-
maps/visitor-maps.php on line 1338
Warning: array_keys() [function.array-keys]: The first argument should be
an array in /home/www/domain.eu/subdomains/www/wp-admin/includes/class-wp-
upgrader.php on line 189
Incompatible Archive.
Plugin install failed.
Tmp folder works well, also in directory upgrade there is subdirectory wp-
memory-usage.tmp created with all files from this plugin.
First error is probably somehow related to "Visitor Maps and Who's Online"
plugin. In wp-content there is folder visitor-maps-backup (chmod 755)
which is for this plugin, but how can this influence installation of new
plugin? After deactivating this plugin there is only the second error
messagge about array_keys(). But this error can be also related to the
original problem with unrecognized backslash in FTP_CONTENT_DIR?
--
Ticket URL: <http://core.trac.wordpress.org/ticket/14401#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list