Skip to main content
Inspiring
March 17, 2024
Question

Corrupt file names

  • March 17, 2024
  • 1 reply
  • 1395 views

For a while I have had a php file that will not render in Live view. I have discovered that if I simply resave that file to a new file name it works perfectly. It is a very simple file which I will attach. However if I then save the new working version to the old file name it still won't work with that old file name.  Just will not render it live view. Still works in Preview in a browser just fine so XAMPP and localhost are setup correctly. It's like Dreamweaver has saved that file name somewhere and it is corrupt. I have cleared the WinFileCache in the configuration folder but the problem persists.

 

Windows 11

Dreamweaver CC 2021

 

Anybody seen ths problem?

This topic has been closed for replies.

1 reply

Nancy OShea
Braniac
March 17, 2024

Is your Testing Server launched and are all PHP processes running on the server as expected?

Is your PHP file saved to your local testing server's default web directory -- on Xampp, that's the htdocs folder.

Are you being prompted by DW to Discover dynamically related files?  See screenshot.

 

 

Results of test.php opened from local testing server in Live view.

 

 

Nancy O'Shea— Product User, Community Expert & Moderator
xxxVoodooAuthor
Inspiring
March 17, 2024

Yes testing server launced and all processes running as expected. Yes saved in the site folder locaed in the htdocs folder. Yes prompted to discover dynamically related files  by both the new file that works and the file saved with the old file name that does not work.

So I had a file named test111.php that would not show in Live View. I saved it to test111A.php and it worked perfectly in live view. I erased test111.php in the file panel. Then I saved the new and working test111A.php as test111.php (the old original file name) and that new file saved with the old name would not render in Live mode. No other settings were changed.

xxxVoodooAuthor
Inspiring
March 17, 2024

Actually I just noticed that the file that does not work is NOT prompting to discover dynamically related files! Why?