Highlighted

An unknown error occurred while discovering dynamically related files.

Community Beginner ,
Nov 20, 2017

Copy link to clipboard

Copied

I do not understand this issue. It was working fine yesterday.

I am not using wordpress. This is a custom PHP file which takes information from an ftp server and updates my SQL database. It is running on my computer. I am using Apache Server 2.0 with macOS Server. In addition, the console reads this:

Proxy Error

The proxy server received an invalid response from an upstream server.

The proxy server could not handle the request GET /ftpaddress.php.

Reason: Error reading from remote server

I try to rerun the program and I see "An unknown error occurred while discovering dynamically related files. Retry" Could this be an internet connection issue? Or could I have damaged my code?

Adobe Community Professional
Correct answer by Nancy OShea | Adobe Community Professional

To turn on error reporting, open your testing server's php.ini file and set to error_reporting(E_ALL);

You might want to add error logging too so you get more details from the Apache and PHP logs.


TOPICS
Dreamweaver FTP, Dreamweaver | Mac OS issues, Learn Dreamweaver

Views

1.2K

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

An unknown error occurred while discovering dynamically related files.

Community Beginner ,
Nov 20, 2017

Copy link to clipboard

Copied

I do not understand this issue. It was working fine yesterday.

I am not using wordpress. This is a custom PHP file which takes information from an ftp server and updates my SQL database. It is running on my computer. I am using Apache Server 2.0 with macOS Server. In addition, the console reads this:

Proxy Error

The proxy server received an invalid response from an upstream server.

The proxy server could not handle the request GET /ftpaddress.php.

Reason: Error reading from remote server

I try to rerun the program and I see "An unknown error occurred while discovering dynamically related files. Retry" Could this be an internet connection issue? Or could I have damaged my code?

Adobe Community Professional
Correct answer by Nancy OShea | Adobe Community Professional

To turn on error reporting, open your testing server's php.ini file and set to error_reporting(E_ALL);

You might want to add error logging too so you get more details from the Apache and PHP logs.


TOPICS
Dreamweaver FTP, Dreamweaver | Mac OS issues, Learn Dreamweaver

Views

1.2K

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
Nov 20, 2017 0
Adobe Community Professional ,
Nov 20, 2017

Copy link to clipboard

Copied

Just to clarify, are you attempting to connect to your local testing server's database or the one on your remote server?

My workflow  is to develope locally first and when that all tests out perfectly, I move my PHP files and SQL data to the remote server.

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...
Nov 20, 2017 0
Community Beginner ,
Nov 20, 2017

Copy link to clipboard

Copied

This is all on my testing server.

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...
Nov 20, 2017 0
Adobe Community Professional ,
Nov 20, 2017

Copy link to clipboard

Copied

Did you confirm your testing server and all Apache processes are running?

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...
Nov 20, 2017 1
Community Beginner ,
Nov 20, 2017

Copy link to clipboard

Copied

Yes the server is running because I can access the site. Also, the proxy error has since gone away (without me making any changes to the website at all). My code now runs partially, stops without any error or warning, and says "An unknown error occurred while discovering dynamically-related files". For some context, my code continuously loops for every product listed in a spreadsheet on the ftp. It only completed one iteration of the loop before stopping; another time, it completed about 50 iterations. It used to complete all 21,000 iterations, but now I am having inconsistent "unknown" errors.

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...
Nov 20, 2017 0
Adobe Community Professional ,
Nov 20, 2017

Copy link to clipboard

Copied

Do you have error checking enabled on your local testing server?

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...
Nov 20, 2017 1
Community Beginner ,
Nov 22, 2017

Copy link to clipboard

Copied

Can you clarify? Is that something I would do through Dreamweaver or through Apache? I have never heard of that.

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...
Nov 22, 2017 0
Adobe Community Professional ,
Nov 22, 2017

Copy link to clipboard

Copied

To turn on error reporting, open your testing server's php.ini file and set to error_reporting(E_ALL);

You might want to add error logging too so you get more details from the Apache and PHP logs.


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...
Nov 22, 2017 0