Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

FTP Username and Password for Wordpress?

  • 12-04-2014 5:00pm
    #1
    Closed Accounts Posts: 147 ✭✭


    Here's what I did.

    Installed VMWare
    Installed Ubuntu 12.04
    Installed LAMP
    Installed Wordpress
    Created a Wordpress site

    Now, I would like to change my theme but it asks me for Hostname, FTP Username and Password. I don't know what to type there.

    Could anyone help please?


Comments

  • Registered Users, Registered Users 2 Posts: 7,157 ✭✭✭srsly78


    Put in the ip address of your server, and valid credentials with access to wherever you installed wordpress.


  • Closed Accounts Posts: 147 ✭✭Stanlex


    srsly78 wrote: »
    Put in the ip address of your server, and valid credentials with access to wherever you installed wordpress.

    It's installed on a virtual machine on my laptop. So where can I find the IP Address of the server?


  • Registered Users, Registered Users 2 Posts: 7,157 ✭✭✭srsly78


    ifconfig from console on your vm

    OR

    ipconfig from cmd prompt on windows host

    OR

    something else if you aren't hosting on windows

    OR

    open up properties of your vm and inspect it (depends on what vm software you are using)


  • Closed Accounts Posts: 147 ✭✭Stanlex


    srsly78 wrote: »
    ifconfig

    Yes but am I looking for my IP or a server IP?


  • Registered Users, Registered Users 2 Posts: 7,157 ✭✭✭srsly78


    The vm will only report it's own ip.

    If you run ipconfig on your host you will see ips for all network adapters, one of these will be the virtual one.

    You haven't even specified what OS is running. I assume it's a linux VM... If so read this -> http://www.cyberciti.biz/faq/bash-shell-command-to-find-get-ip-address/


  • Advertisement
  • Closed Accounts Posts: 147 ✭✭Stanlex


    srsly78 wrote: »
    The vm will only report it's own ip.

    If you run ipconfig on your host you will see ips for all network adapters, one of these will be the virtual one.

    You haven't even specified what OS is running. I assume it's a linux VM... If so read this -> http://www.cyberciti.biz/faq/bash-shell-command-to-find-get-ip-address/

    is it any of these?

    oiubly.png

    Also what do I enter for FTP Username and Password?


  • Closed Accounts Posts: 147 ✭✭Stanlex


    srsly78 wrote: »
    The vm will only report it's own ip.

    If you run ipconfig on your host you will see ips for all network adapters, one of these will be the virtual one.

    You haven't even specified what OS is running. I assume it's a linux VM... If so read this -> http://www.cyberciti.biz/faq/bash-shell-command-to-find-get-ip-address/

    Let me start again.

    I have Windows 8 on my laptop
    I installed VMWare on my laptop
    Then I installed Ubuntu 12.04 using VMware
    Then I installed LAMP followed by Wordpress
    Now, I'd like to change a theme in wordpress but it asks me for a hostname, ftp username and password.

    I know how to check what IP a computer has but I dont know which one to use for the host, ftp etc.

    The virtual machine is NAT so it doesnt have the same IP address as my laptop does.

    Thank you.


  • Registered Users, Registered Users 2 Posts: 7,157 ✭✭✭srsly78


    You have multiple virtual adapters, so the screenshot is ambiguous.

    Just log into the vm and follow the instructions above. You will have to learn how to do basic stuff on linux.


  • Closed Accounts Posts: 147 ✭✭Stanlex


    srsly78 wrote: »
    You have multiple virtual adapters, so the screenshot is ambiguous.

    Just log into the vm and follow the instructions above. You will have to learn how to do basic stuff on linux.

    Problem is solved. I bypassed the FTP by editing a .php file.

    I know how to use basic Linux.


  • Registered Users, Registered Users 2 Posts: 241 ✭✭fcrossen


    Wordpress asks for login details when it thinks it doesn't have write permissions to the wp-content folder.

    If you are on a VM on a test machine (and are not sure of the user that Apache is running as - 'www-data'?) then you can make all files in wp-content world writable. ("chown -R o+w wp-content").

    DO NOT DO THIS ON A SHARED HOST.


  • Advertisement
  • Registered Users, Registered Users 2 Posts: 6,571 ✭✭✭daymobrew


    Stanlex wrote: »
    Problem is solved. I bypassed the FTP by editing a .php file.
    What file did you change?


  • Registered Users, Registered Users 2 Posts: 241 ✭✭fcrossen


    Stanlex wrote: »
    Problem is solved. I bypassed the FTP by editing a .php file.

    I know how to use basic Linux.

    "If you edit a Wordpress core file you're goanna have a baaadddd tiiiiime. 'nkay?"


  • Closed Accounts Posts: 147 ✭✭Stanlex


    fcrossen wrote: »
    Wordpress asks for login details when it thinks it doesn't have write permissions to the wp-content folder.

    If you are on a VM on a test machine (and are not sure of the user that Apache is running as - 'www-data'?) then you can make all files in wp-content world writable. ("chown -R o+w wp-content").

    DO NOT DO THIS ON A SHARED HOST.

    Exactly how I solved my problem. Thank you!


  • Closed Accounts Posts: 147 ✭✭Stanlex


    daymobrew wrote: »
    What file did you change?

    Post #11


  • Registered Users, Registered Users 2 Posts: 6,571 ✭✭✭daymobrew


    Stanlex wrote: »
    Post #11
    That was a recursive chown - no editing of a php file. :confused:


  • Closed Accounts Posts: 147 ✭✭Stanlex


    daymobrew wrote: »
    That was a recursive chown - no editing of a php file. :confused:

    I changed the permissions of the folders in wp-content. After I done that, i wasn't asked for a Hostname, FTP Username and password.


  • Registered Users, Registered Users 2 Posts: 7,893 ✭✭✭The_B_Man


    I'm pretty sure I did this before by putting in "localhost" instead of the IP and it worked grand.


Advertisement