Skip to main content
Participating Frequently
July 5, 2017
Answered

Dependent files don't get updated

  • July 5, 2017
  • 1 reply
  • 596 views

I selected that dependent files should get updated/downloaded from the server to my local computer. But this does not seem to work properly, or maybe I am missing something. Because always when I edit for example a dependent JavaScript and upload it, DW tells me that the script is not up-to-date and would overwrite the latest version on the server!

This topic has been closed for replies.
Correct answer Nancy OShea

Your server's clock might be out of sync with your local computer's clock.

If your server supports PHP code, create a new PHP document -- File > New > PHP > Create.

Insert the following code.  Save as test.php & upload to server.

Open test.php  in your browser & compare the server's date & time with your local computer's.

<!doctype html>

<html>

<head>

<meta charset="utf-8">

<title>Untitled Document</title>

</head>

<body>

<?php echo date("D M d, Y h:i:sa");?>

</body>

</html>

Nancy

1 reply

Nancy OShea
Community Expert
Nancy OSheaCommunity ExpertCorrect answer
Community Expert
July 5, 2017

Your server's clock might be out of sync with your local computer's clock.

If your server supports PHP code, create a new PHP document -- File > New > PHP > Create.

Insert the following code.  Save as test.php & upload to server.

Open test.php  in your browser & compare the server's date & time with your local computer's.

<!doctype html>

<html>

<head>

<meta charset="utf-8">

<title>Untitled Document</title>

</head>

<body>

<?php echo date("D M d, Y h:i:sa");?>

</body>

</html>

Nancy

Nancy O'Shea— Product User & Community Expert
Participating Frequently
July 6, 2017

Ah, I think you hit the spot there - the server time is actually 2 hours apart from my time. So, how can I resolve this the easiest? Can I input this time difference in the DW settings or have another way of synchronisation?

BenPleysier
Community Expert
Community Expert
July 6, 2017
Wappler is the DMXzone-made Dreamweaver replacement and includes the best of their powerful extensions, as well as much more!