• Resolved tomf2468

    (@tomf2468)


    I just updated my Mac from Sierra to High Sierra (not Mojave, I’m a bit behind!). After updating I’ve had nothing but problems with my local copies of Elementor sites. I generally try edits on the localhost server, before changing live sites.

    I could only get to edit with Elementor on a Homepage, any other pages gaves the warning:

    “The preview could not be loaded
    We’re sorry, but something went wrong.”

    Also, if I visited the site on localhost and used the nav to try to go to any page but the homepage I got “The requested URL /water_WP/contact/ was not found on this server.

    I tried disabling all the plugins, tried a stock WP theme (I’m using Ocean plus Ocean Child on the real sites), tried safe more. No help at all.

    What I found was that I HAD to set my permalinks to “plain”, then it would work!

    Local sites do have a writeable .htaccess file.

    I “assume” something changed in my php.ini file during the OS upgrade, but my extended memory limits are still there from before the upgrade.

    Any thoughts??

    Thanks,
    Tom

    == Server Environment ==
    Operating System: Darwin
    Software: Apache/2.4.33 (Unix) PHP/7.1.1
    MySQL version: MySQL Community Server (GPL) v5.7.17
    PHP Version: 7.1.1
    PHP Max Input Vars: 1000
    PHP Max Post Size: 768M
    GD Installed: Yes
    ZIP Installed: Yes
    Write Permissions: All right
    Elementor Library: Connected

    == WordPress Environment ==
    Version: 5.0.3
    Site URL: https://localhost/wate_WP
    Home URL: https://localhost/water_WP
    WP Multisite: No
    Max Upload Size: 768 MB
    Memory limit: 256M
    Permalink Structure: /%year%/%monthnum%/%day%/%postname%/
    Language: en-US
    Timezone: America/Los_Angeles
    Debug Mode: Inactive

Viewing 1 replies (of 1 total)
  • Thread Starter tomf2468

    (@tomf2468)

    I figured it out ??

    I was too fixated on the php.ini file, the “bug” was in the apache.config file. It did get replaced during the upgrade!

    On a Mac local server you need to alter the stock apache.config allow “AllowOverride” and load “mod_rewrite.so” or .htaccess files will not work. If .htaccess files don’t work, then WordPress can’t use simple names for the pages.

    I’ve done this before! Why it took me two days to remember it……

Viewing 1 replies (of 1 total)
  • The topic ‘Localhost troubles after updating to OSX High Sierra’ is closed to new replies.