• Help Please.

    I’ve read through some of the threads but not seen a resolution of my issue so here we go –

    I manually installed WP3.1 on ClearOS (a derivative of Cent OS) it’s all running but I cant auto install themes I get this message:-

    Unable to locate WordPress Content directory (wp-content).

    the ftp account works I can get to the correct directories using :-

    Hostname xxxxxxx.org:2121
    FTP Username myname
    FTP Password mypassword
    Connection Type FTP

    but I cant run the auto update.

    If I give the WP administrator a ftp account on the server would that work? I really need to get his going so your help much appreciated.

    update –

    I’ve given my WP administrator a FTP account on the server checked that the ftp account works (filezila) it does but if I use that account to try and auto install I get the same error message as above.

    #Checked an install that is auto installing themes and fount a tmp directory with permissions 777 I created that director in the one that is giving problems and still it’s not working 🙁 🙁

    Bit desperate now……… Ora

    thanks for looking

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter ora8i

    (@ora8i)

    Is this cause I’m not on port 21? That port is still (despite my editing proftp config) chrooted.

    ATB Ora

    Thread Starter ora8i

    (@ora8i)

    Thanks esmi

    ora

    Thread Starter ora8i

    (@ora8i)

    Well that didn’t work 🙁

    and the following doesn’t work but have I got the paths correct?
    I’ve added it to the start of wp-config just after <?php file start

    define(‘FS_METHOD’, ‘ftpsockets’);
    define(‘FTP_BASE’, ‘/var/www/html/’);
    define(‘FTP_CONTENT_DIR’, ‘/var/www/html/xxxxxxxxx.org/wp-content/’);
    define(‘FTP_PLUGIN_DIR ‘, ‘/var/www/html/xxxxxxxxx.org/wp-content/plugins/’);
    define(‘FTP_THEMES_DIR ‘, ‘/var/www/html/xxxxxxxx.org/wp-content/themes/’);
    define(‘FTP_USER’, ‘myname’);
    define(‘FTP_PASS’, ‘mypassword’);
    define(‘FTP_HOST’, ‘xxxxxxxxxxx.org’);

    I still need to get this going so any help much much appreciated.

    aamcle

    It looks OK to me based on these examples.

    Thread Starter ora8i

    (@ora8i)

    Thanks again, there is something to try there, that page shows the options to move wp-content. In the morning I’ll try adding the definitions to point to the content folder in it’s current location and see if that works.

    ATB Ora

    [5 months …later]

    Today, i migrate my WP from ubuntu box into ClearOS. Everything work fine but with some error regarding old URL. It will take ages to fix it manually. I stumble upon a plugins that can “search and replace” text from database. So, I tried to auto install the plugin and received same error as ora8i.

    From your discussion, I do make it work but with changes.. as follow.

    define('WP_SITEURL', 'http://www.yourdomain.com');
    define('WP_HOME', 'http://www.yourdomain.com');
    
    define('FS_METHOD', 'direct');
    define('FTP_BASE', '/www.yourdomain.com/');
    define('FTP_CONTENT_DIR', '/www.youdomain.com/wp-content/');
    define('FTP_PLUGIN_DIR ', '/www.youdomain.com/wp-content/plugins/');
    define('FTP_THEMES_DIR ', '/www.youdomain.com/wp-content/themes/');
    define('FTP_USER', 'username');
    define('FTP_PASS', 'password');
    define('FTP_HOST', 'your-ftp-ip-number:2121');
    define('FTP_SSL', false);

    Note: change http://www.yourdomain.com with your url

    as per your example code, define('FTP_BASE', '/var/www/html/');
    that is refer to your webpage not ftp base directory. This is because ClearOS set '/var/www/html/virtual' as base ftp directory for web server contents.

    ‘www.yourdomain.com’ in my config actually is a directory, because ClearOS created directory base on your virtual host address.

    TQ.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘cant auto install themes’ is closed to new replies.