Highlighted

Changes to php scripts causes script to RUN on server!

New Here ,
Aug 03, 2020

Copy link to clipboard

Copied

When I make a change to a php script, the script RUNS on the server as if I typed the url in a browser and hit enter!  How is this possible.  I have Dreamweaver 20.2

 

I have verifed this is happening by looking in our log files after I make a change to a file.  I notice that the script that "runs" has random letters added to the files name.  [quote_sckcalc_2uj16ehs4z.php]  The 2uj16ehs4z is NOT part of the files name.

 

Any ideas why/how this could happen!

 

Thanks!

Views

49

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Changes to php scripts causes script to RUN on server!

New Here ,
Aug 03, 2020

Copy link to clipboard

Copied

When I make a change to a php script, the script RUNS on the server as if I typed the url in a browser and hit enter!  How is this possible.  I have Dreamweaver 20.2

 

I have verifed this is happening by looking in our log files after I make a change to a file.  I notice that the script that "runs" has random letters added to the files name.  [quote_sckcalc_2uj16ehs4z.php]  The 2uj16ehs4z is NOT part of the files name.

 

Any ideas why/how this could happen!

 

Thanks!

Views

50

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Aug 03, 2020 0
Adobe Community Professional ,
Aug 03, 2020

Copy link to clipboard

Copied

Without more information, I can only guess that your script is hooked up to other scripts residing on the remote server.  Or maybe there are cron jobs at work which you're unaware of. 

https://code.tutsplus.com/tutorials/managing-cron-jobs-with-php--net-19428

 

 

Nancy O'Shea, ACP
Alt-Web Design & Publishing

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Aug 03, 2020 0
New Here ,
Aug 03, 2020

Copy link to clipboard

Copied

Thanks Nancy!  I'm sure it's not cron related.  One of the files is brand spanking new and every time I edit it, even a comment, it generates a server log file entry using the Dreamweaver cached temp file. 

FYI - I have "Preview using temp file" Disabled. Capture.PNG

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Aug 03, 2020 0
Adobe Community Professional ,
Aug 03, 2020

Copy link to clipboard

Copied

Does your work environment reside on a local testing server like Wamp, Xampp or Mamp Pro? 

 

 

 

Nancy O'Shea, ACP
Alt-Web Design & Publishing

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Aug 03, 2020 0
New Here ,
Aug 04, 2020

Copy link to clipboard

Copied

No Nancy.  I work locally on my C: drive and then sync to our Web Server.  BTW... this seems to be happening to only a select few scripts.  Others don't behave like this.  I appreciate your help but I am going to close this Post.  I don't think this can be solved is a forum environment.

 

Again.  Thanks for you help.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Aug 04, 2020 0