• I’ve installed MAMP and WordPress on my Mac and am happily creating a website offline. Everything is working fine for a couple of hours, but suddenly I lose connection and the pages are blank. My internet is fine, but the internal wordpress files no longer seem accessible. This has happened twice now.

    I’m using the latest versions of Wp, Safari and MacOS. Any ideas why this is happening, and how I get my files back? Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Can you check the logs in MAMP to see what exactly caused this ? I suspect something makes MAMP crash and the site goes offline. You can use the syslog viewer for this

    https://blog-en.mamp.info/2009/09/how-to-show-your-mamp-logs-within.html

    As for the files they should be safe in the folder where MAMP points to for this site.

    More info here
    https://www.mamp.info/en/documentation/

    Thread Starter wyedesign

    (@wyedesign)

    Thanks. I can see 3 logs – apache, mySQL and php.

    Not sure what I am looking for though. I can see things like:

    PHO: missing arguments, break ‘not in the loop’
    Apache: file does not exist
    MySQL: cannot open table

    Have I installed it wrongly? If so, how come it works for a while before crashing?

    Thanks again for any help you can give.

    Thread Starter wyedesign

    (@wyedesign)

    In trying to work out why this was happening, I experimented with several things and one was in MAMP settings – PHP – to switch from 7.0.10 to 5.6.25. I’ve no idea what this actually does, but I saved this and my site came back ‘online’. Whether this simply refreshed it or not I don’t know but I will find out soon!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Loses connection to offline site I’m building using MAMP on Mac’ is closed to new replies.