Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: File does not exist: /var/www/html/wp-cron.php |
|
Author |
|
GTMAN
Joined: 25 Jul 2016 Posts: 1 Location: Toronto
|
Posted: Mon 25 Jul '16 21:16 Post subject: File does not exist: /var/www/html/wp-cron.php |
|
|
I have multiple WordPress sites on a cloud server running on WHM/Cpanel. WordPress runs wp-cron.php every time the site gets hit.
The apache error log gets filled with:
[Mon Jul 25 16:09:39.963799 2016] [:error] [pid 6761:tid 140622814537472] [client 2600:3c03::f03c:91ff:fe79:6c48:54484] File does not exist: /var/www/html/wp-cron.php
I previously had the same sites on another cloud server with the same versions of centos 7, whm, php, maria db, etc without any issues.
I've read that it's a hosts file issue but that doesn't make sense to me that it worked fine on another instance with no need to edit the hosts file.
Can anyone help?
Cheers, Glenn |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Mon 01 Aug '16 15:45 Post subject: |
|
|
Did you set the correct path for document root in your wordpress config? |
|
Back to top |
|
|
|
|
|
|