The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Problem using MAMP Pro (4 posts)

  1. kinkersnick
    Posted 4 years ago #


    I'm using MAMP Pro to develop a few different websites offline.
    The first one was a fresh WP install, and I followed a tutorial and managed to get it working perfectly, I can go to 'dev.mynewwebsite.com:8888' and it goes to the website, and also go to 'dev.mynewwebsite.com:8888/wp-admin' and it successfully takes me to the WP login etc.
    All good.

    However, I have an already-live WP website I want to improve in an offline environment. I downloaded the entire folder structure via FTP through Cyberduck and added it to a new folder in MAMPs htdocs. I then downloaded the database, and imported it and changed all the necessary URL refs (as detailed here, though in reverse http://wp.smashingmagazine.com/2011/09/28/developing-wordpress-locally-with-mamp/ ) and altered the 'wp-config' file with appropriate mysql user and password.
    When I go to 'dev.myotherwebsite.com:8888' the page opens, but appears to not be reading the CSS file at all, so looks insanely ugly. And if I try to go to 'dev.myotherwebsite.com:8888/wp-admin' (exactly the same as with my other one) I get a 'server error' and no way of accessing the WP admin pages etc.

    I have a feeling that some references must not be set properly, and files aren't being included properly, but I don't know how to track down the problem.
    Any suggestions from you fine people?
    Thank you for your time!


  2. s_ha_dum
    Posted 4 years ago #

    When I go to 'dev.myotherwebsite.com:8888' the page opens, but appears to not be reading the CSS file at all...

    View the page source in your browser and find out the URL of the stylesheet. That might help locate the problem.

    I am not very familiar with MAMP but it sounds like you are using virtual hosts and that they are not set up correctly.

  3. kinkersnick
    Posted 4 years ago #

    Hmmm... nope. The address it gives points to the right place, and if I open that file in the browser, the stylesheet is most definitely there.

    The live version of the website works fine, obviously.

    Can't figure this out at all... Thanks for your help though!

  4. s_ha_dum
    Posted 4 years ago #

    ...the stylesheet is most definitely there.

    That is pretty weird then. Usually if a stylesheet doesn't load it just doesn't have the right URL.

    Clear your cache and try a different browser.

    It is hard debugging somebody else's local server but if I think of anything I'll let you know.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.