Copy link to clipboard
Copied
All,
I know there are many posts about dynamically-related files failing to be discovered. Most of these posts involve some CRM, and configuring for those. I'm not using a CRM; all I'm trying to do is add a basic login page to limit access to a couple of pages on my site.
I'm using a remote server for development and testing. Most of the other posts also seem to be using MAMP/WAMP. The site works flawlessly until I use Dreamweaver to add login and authentication from the Server Behaviors menu. The pages start displaying some version of "An unknown error occurred while discovering dynamically-related files." I've tried moving the pages to their own directory, rename them, move them to the root directory, etc... Nothing seems to overcome this. The problem is directly related to the php server behavior since I can remove the php and load the page in any of the mentioned places. This is enormously frustrating!
The site is defined using:
/var/www/html/ folder on the server (this is the only site on the server)
I connect via sftp.
Any suggestions are greatly appreciated!
Copy link to clipboard
Copied
Can you send us a copy of the page?
Copy link to clipboard
Copied
Here's a link to a zip file of the folder I'm working with. I tried rebuilding the pages again this morning, and I have one more thing to add. When I initially add the login, the page throws an error that the log in behavior is duplicated and the site doesn't know which one to use. I don't know what's going on there. I only add the function once.
thanks for your help.
Copy link to clipboard
Copied
OK, I figured out the problem. The links I was providing were to the site root, and the php code wants page relative links. That was my fault. Everything works fine now.
Copy link to clipboard
Copied
That's great news!
Find more inspiration, events, and resources on the new Adobe Community
Explore Now