• Hi everyone!

    I see this has been quite an issue with Yosemite. I am using the free version of MAMP to work on a website locally on my mac. I just updated my operating system, and this stopped working. I have been researching and trying many things.

    First, the problem: wordpress is unable to connect to my localhost. MySQL is working, Apache even says it is on, but when I am in phpAdmin, it says there is a 404 error when I try to clock on the localhost.

    Things I have tried:
    * Changing the ports
    * Made sure I was running the most up to date version of MAMP
    * Trying to change the enqueue_ to _enqueue
    * i started following this tutorial, but got stuck on step 6 https://forum.mamp.info/viewtopic.php?f=2&t=82253


    When I do the DEBUG in the config, this is what I get:

    Notice: wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. Please see Debugging in WordPress for more information. (This message was added in version 3.3.) in /Applications/MAMP/htdocs/acewordpress/wp-includes/functions.php on line 3560

    Notice: wp_register_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. Please see Debugging in WordPress for more information. (This message was added in version 3.3.) in /Applications/MAMP/htdocs/acewordpress/wp-includes/functions.php on line 3560

    Notice: wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. Please see Debugging in WordPress for more information. (This message was added in version 3.3.) in /Applications/MAMP/htdocs/acewordpress/wp-includes/functions.php on line 3560

    Notice: wp_register_style was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. Please see Debugging in WordPress for more information. (This message was added in version 3.3.) in /Applications/MAMP/htdocs/acewordpress/wp-includes/functions.php on line 3560

    Notice: wp_enqueue_style was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. Please see Debugging in WordPress for more information. (This message was added in version 3.3.) in /Applications/MAMP/htdocs/acewordpress/wp-includes/functions.php on line 3560

    Parse error: syntax error, unexpected ‘<‘ in /Applications/MAMP/htdocs/acewordpress/wp-content/themes/acegallerytheme/functions.php on line 61

    Anyone have ideas?

    Thank you for your time!

Viewing 9 replies - 1 through 9 (of 9 total)
  • Hello saturngirl3773,

    Everything fires up just fine for me — are you still having trouble reaching the WebStart page?

    Yosemite 10.10.4, MAMP 3.2.1
    https://localhost:8888/MAMP/?language=English

    Thread Starter saturngirl3773

    (@saturngirl3773)

    Hi Schulte,

    No, nothing has changed ?? everything was working fine, and then about a day ago I decided to update my operating system and MAMP suddenly decided to stop working. This appears to be an issue with this operating system and MAMP. there are quite a few forums about it, but nothing has worked yet. That is why I listed everything that I have tried so far, hoping someone will have a new lead.

    If I don’t get this to work, i’m not sure what to do. I don’t know any alternative, and I really need this at my job. It is making me super nervous.

    Let’s work through this…

    What version of Yosemite?
    What version of MAMP?
    In the MAMP preferences, do you have the default ports set?

    https://localhost:8888/MAMP/?language=English — can you connect and get to the MAMP WebStart page successfully?

    Thread Starter saturngirl3773

    (@saturngirl3773)

    Hi,

    Yosemetie 10.10.2 MAMP 3.2.1

    and yes, I can connect to that page, my problem is that MAMP is not able to connect to the localhost. I have tried both settings of the ports. I tried to list all of this out above. I hope this detail helps.

    This may be semantics, but you can connect to the localhost if you can see the MAMP WebStart page.

    Change the name of your active theme in the Finder or Terminal from /Applications/MAMP/htdocs/acewordpress/wp-content/themes/acegallerytheme/ to /Applications/MAMP/htdocs/acewordpress/wp-content/themes/acegallerytheme.dead/.

    Now go to https://localhost:8888/MAMP/acewordpress — what do you see?

    Thread Starter saturngirl3773

    (@saturngirl3773)

    ok, give me a few minutes. I had to switch computers for various reasons in the office. I have to reset this up.

    saturngirl3773,

    Have you tried what I suggested? I’d like to see if defaulting back to Twenty Fifteen will help.

    Thread Starter saturngirl3773

    (@saturngirl3773)

    HI!

    I did figure out the problem, you were right there was something wrong with the theme. I had to replace the functions.php that was the issue! Thank you so much! IT wasn’t even MAMP, and thanks for checking back ??

    Glad to hear it!

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘MAMP Yosemite Can't Connect to localhost’ is closed to new replies.