WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #20652


Ignore:
Timestamp:
05/10/12 12:29:08 (3 years ago)
Author:
dd32
Comment:

Hi Pavel,

Could you attach the output from phpinfo() as an attachment here (or, if you're worried there might be sensitive information there, you can email it to me directly at dion at wordpress dot org) so I can check to see what the paths PHP is seeing?

(to get the phpinfo() output, simply create a file called 'phpinfo.php' which contains the following: <?php phpinfo(); and put that into your WordPress folder that you're having the problem with, and load http://sub.something.com/phpinfo.php in your browser. After you've saved the page, or copied it to an email, you can delete the file )

Next, When you connect via FTP to the server, what directory do you see? I assume you see the www directory, and nothing higher than that?

Finally, You should be able to work around this temporarily (by that, I mean, until the bug is fixed) by adding this define to your wp-config.php file:

define( 'FTP_BASE', '/www/something.com/sub.something.com/' );

There is also FTP_CONTENT_DIR and FTP_PLUGIN_DIR available, but hopefully the single BASE constant should work.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #20652

    • Property Component changed from Plugins to Upgrade/Install
  • Ticket #20652 – Description

    initial v1  
    88dirs are 
    99 
    10 /www/something.com/something.com 
     10/www/something.com/something.com[[BR]] 
    1111/www/something.com/sub.something.com - here is WP installation, subdomain is virtual from rewrite in httpd.conf 
    1212 
    13 After install - WP say everything OK - but one thing is bad. 
    14 Upload is in bad directory - plugin I can found in 
    15 /www/something.com/something.com/plugins 
    16 no in /www/something.com/sub.something.com/plugins 
     13After install - WP say everything OK - but one thing is bad.[[BR]] 
     14Upload is in bad directory - plugin I can found in[[BR]] 
     15/www/something.com/something.com/plugins[[BR]] 
     16no in /www/something.com/sub.something.com/plugins[[BR]] 
    1717 
    1818Is here some way to fix it automatticaly or I can must edit config and basedir of ftp? Why is here this bug?