Skip to main content
Participating Frequently
Jul 5, 2017 8:40 AM UTC
Answered

Dependent files don't get updated

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 is closed to new replies. Start a new post to keep the conversation going.
Nancy OShea
Nancy OSheaCorrect answer
Community Expert
Jul 5, 2017 6:30 PM UTC

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

5 replies

Nancy OShea
Community Expert
Nancy OSheaCommunity ExpertCorrect answer
Community Expert
Jul 5, 2017 6:30 PM UTC

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

Translate
Nancy O'Shea— Product User & Community Expert
Participating Frequently
Jul 6, 2017 6:40 AM UTC

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?

Translate
BenPleysier
Community Expert
Community Expert
Jul 6, 2017 11:57 AM UTC

Have a look at this answer Re: Time zone - local and remote server are different

Translate
Wappler is the DMXzone-made Dreamweaver replacement and includes the best of their powerful extensions, as well as much more!