wordpress not loading on localhost

admin2025-06-05  5

Closed. This question is off-topic. It is not currently accepting answers.

Questions that are too localized (such as syntax errors, code with restricted access, hacked sites, hosting or support issues) are not in scope. See how do I ask a good question?

Closed 6 years ago.

Improve this question

I have a localhost website bm.ourdomain.local on our Mac machine (running AMPPS).

It has an entry in /etc/hosts:

<local IP> bm.ourdomain.local

It has an entry in /Applications/AMPPS/Apache/conf/extra/vhosts.conf:

<VirtualHost *:80>
    ServerAdmin [email protected]
    DocumentRoot "/Applications/AMPPS/www/bm.ourdomain.local"
    ServerName bm.ourdomain.local
    ServerAlias bm.ourdomain.local
    ErrorLog "/Applications/AMPPS/www/bm.ourdomain.local/error_log"
    CustomLog "/Applications/AMPPS/www/bm.ourdomain.local/access_log" common
</VirtualHost>

When I load bm.ourdomain.local in Chrome, nothing happens, the loading icon just spins.

If I turn on debug, debug.log doesn't get created.

If I rename plugins to plugins.temp, nothing changes, same with themes to themes.temp.

There is Wordfence installed, and I have confirmed .htaccess and .user.ini contain the correct path to wordfence-waf.php.

There is no error_log.

If I clear the browser cache of files and cookies, nothing changes.

Other websites on the local server run fine, on vhosts.

Help appreciated.

Closed. This question is off-topic. It is not currently accepting answers.

Questions that are too localized (such as syntax errors, code with restricted access, hacked sites, hosting or support issues) are not in scope. See how do I ask a good question?

Closed 6 years ago.

Improve this question

I have a localhost website bm.ourdomain.local on our Mac machine (running AMPPS).

It has an entry in /etc/hosts:

<local IP> bm.ourdomain.local

It has an entry in /Applications/AMPPS/Apache/conf/extra/vhosts.conf:

<VirtualHost *:80>
    ServerAdmin [email protected]
    DocumentRoot "/Applications/AMPPS/www/bm.ourdomain.local"
    ServerName bm.ourdomain.local
    ServerAlias bm.ourdomain.local
    ErrorLog "/Applications/AMPPS/www/bm.ourdomain.local/error_log"
    CustomLog "/Applications/AMPPS/www/bm.ourdomain.local/access_log" common
</VirtualHost>

When I load bm.ourdomain.local in Chrome, nothing happens, the loading icon just spins.

If I turn on debug, debug.log doesn't get created.

If I rename plugins to plugins.temp, nothing changes, same with themes to themes.temp.

There is Wordfence installed, and I have confirmed .htaccess and .user.ini contain the correct path to wordfence-waf.php.

There is no error_log.

If I clear the browser cache of files and cookies, nothing changes.

Other websites on the local server run fine, on vhosts.

Help appreciated.

Share Improve this question asked Dec 10, 2018 at 2:27 InsightInsight 1171 silver badge14 bronze badges 3
  • If your working on WordPress local host try this one, DesktopServer. serverpress – Abishekh Kc Commented Dec 10, 2018 at 4:17
  • Are the file permissions set correctly, so that the webserver can read these files? What do you mean by "loading icon spins"? – kero Commented Dec 12, 2018 at 11:11
  • Permissions are fine thanks @kero. When Chrome loads a page there is a loading icon. – Insight Commented Dec 14, 2018 at 2:21
Add a comment  | 

1 Answer 1

Reset to default 1

Restarting the AMPPS server resolved this issue.

Every day since the problem the website has loaded fine since, so it looks like the problem was isolated to one occurrence.

转载请注明原文地址:http://conceptsofalgorithm.com/Algorithm/1749100630a316365.html

最新回复(0)