Skip to main content
Inspiring
November 20, 2017
Answered

An unknown error occurred while discovering dynamically related files.

  • November 20, 2017
  • 1 reply
  • 2898 views

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?

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

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


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.


1 reply

Nancy OShea
Community Expert
Community Expert
November 20, 2017

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— Product User & Community Expert
Inspiring
November 20, 2017

This is all on my testing server.

Inspiring
November 22, 2017

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


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