Question about updating site(s)

Status
Not open for further replies.

WebMaster Russo

New Member
Messages
6
Reaction score
0
Points
1
How long is it supposed to take before the site updates after files are uploaded to the cpanel? I believe now there may be another issue in my case since now it has been almost a week and my site hasn't updated to the files I uploaded. Is there a button I missed to click to update somewhere? Can anyone help? much appreciated.
 

bdistler

Well-Known Member
Prime Account
Messages
3,534
Reaction score
196
Points
63
...been almost a week and my site hasn't updated to the files I uploaded
-
how and into which folder did you upload the files ??
###
-
can you 'see' the files with cPanel's file manager or your FTP client ??
###
 

WebMaster Russo

New Member
Messages
6
Reaction score
0
Points
1
I uploaded them to the public_html folder, was that not a good place for the files? I'm still learning all this as well.
 

WebMaster Russo

New Member
Messages
6
Reaction score
0
Points
1
Yes, they are of April of this year, which is accurate when I updated them. The original, which is what's displaying now, was from 1-2 years ago.
 

bdistler

Well-Known Member
Prime Account
Messages
3,534
Reaction score
196
Points
63
make a file (cut and paste) with this code and name it [ test.php ] then upload it to the [ public_html ] folder

PHP:
<?php
$last_modified = filemtime("index.html");
print"Page Last Edited (server time) ";
print date("D M j,Y H:i:s T", $last_modified);
?>

try [ http://russodragonthetechie.x10host.com/test.php ]

that should tell you if you can 'see' the file after upload

our free-hosting accounts are on the same server xo3 - I did a test and had no issues with the code
###
 

WebMaster Russo

New Member
Messages
6
Reaction score
0
Points
1
Weird?
I see this: Page Last Edited (server time) Thu Apr 13,2017 08:51:04 EDT.
Which is accurate, but the changes I made are not there.
 

portappz

New Member
Messages
14
Reaction score
0
Points
1
In cPanel under the Software section click on Cachewall. For immediate changes to take effect just click on Purge Cache for your domain. Click on Enable Development Mode to disable file caching for 6 hours. Afterwhich it will automatically enable itself again. Click on the toggle switch under Manage File Caching to disable this feature entirely.

Hope this helped.
 

bdistler

Well-Known Member
Prime Account
Messages
3,534
Reaction score
196
Points
63
In cPanel under the Software section click on Cachewall
-
Cachewall is used to control [ Varnish cache ] that has a TTL of less then a hour - OP has had this issue for more than a week
###
-
the current issue is PHP code inside the [ index.html ] file - which the server will not run in that type of file - it needs to be [ index.php ]
###
-
there are HTML errors in the [ index.html ] file
###
 
Status
Not open for further replies.
Top