Forums

WPMU only works without the port number in the URL. (10 posts)

  1. Hanhart
    Member
    Posted 2 months ago #

    Hello,

    I looked for a solution on the forums, but I could not find anything that really helps me any further.

    I have my own server using MAMP. I am using Mac Os 10.5.8.

    I want to start using BuddyPress, but I need to install WordPress MU first.

    When Installing it, I do the following :

    DATABASE

    DB Name : wordpress
    Username : my username
    Password : my password
    DB Host : localhost

    SERVER ADDRESS

    Server Address : localhost:8888

    When I click submit, i get this error : WPMU only works without the port number in the URL.

    If i understand correctly, I need to change the Server Address, but I have no clue what I need to change it to.
    I am sort of new to all this, so it would be great if somebody could help me.

    Thanks! (And sorry for the bad English)

  2. SteveAtty
    Member
    Posted 2 months ago #

    WPMU expects to be sitting on the default Apache port (80) and so none of the url handling has been written to support it containing a hard coded port in the URL.

    If you've installed MAMP then it should be listening on port 80 so just try running your install with no hard coded port in the URL.

  3. tdjcbe
    Member
    Posted 2 months ago #

    Running out the door. Someone point out the usage of localhost as well please.

  4. SteveAtty
    Member
    Posted 2 months ago #

    I didn't even see that, I was too busy thinking about lunch.

  5. petitlaf
    Member
    Posted 1 month ago #

    Running out the door. Someone point out the usage of localhost as well please.

    Hi! I'm having the same problem, are you implying that it is impossible to install wordpress mu using MAMP on localhost? If not, could you eleborate on the modifications I need to implement to install wordpress mu properly?

    Thank you for your help.

  6. tim.moore
    Member
    Posted 1 month ago #

    Wordpress expects a full url, like example.com as the server address. If you try to set the server address as just localhost you'll be creating a whole slew of problems for yourself.

    You need to at least set the server address as localhost.localdomain.

  7. petitlaf
    Member
    Posted 1 month ago #

    I appreciate your answer, but how do I change the localhost name?

    I searched online and all I could find were forum threads recommending using Netinfo or changing the hostname in the etc/hostconfig file, both solutions not feasible (my computer doesn't have Netinfo in its utilities and hostconfig doesn't have an 'hostname' line).

    I tried using VirtualHostX, but then I would get 'Database not accessible' errors, is there a simple way to change the localhost name?

    Thank you for your help.

  8. SteveAtty
    Member
    Posted 1 month ago #

    /etc/hosts should contain something like 127.0.0.1 localhost

    That's the line you need to change by adding localhost.localdomain on the end of it.

    Also unless you edit the hosts file for each new blog you can't really install in subdomain mode.

  9. seb_m
    Member
    Posted 1 month ago #

    Running a locally hosted installation of WPMU on MAMP is not too difficult. You have to configure MAMP to use the default ports - there is a button in the preferences area that will do this for you automatically. Next, you have to find out your computer's network name, which (I think) can be found in System Preferences -> Sharing. My computer is called "artist3" for some reason, so I access my local WPMU at artist3.local/wpmu.

    Hope that helps!

  10. petitlaf
    Member
    Posted 3 weeks ago #

    Thank you both for your answers. I didn't know I could simply use my computer's network name. Everything is finally working.

Reply

You must log in to post.

About this Topic