Skip to main content
Participant
January 6, 2011
Question

Adding PHP Server Behaviors Causes Dynamically-Related Files to not be discovered

  • January 6, 2011
  • 1 reply
  • 712 views

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)

http://129.2.12.16/

I connect via sftp.

Any suggestions are greatly appreciated!

This topic has been closed for replies.

1 reply

Jeff Booher
Adobe Employee
Adobe Employee
January 8, 2011

Can you send us a copy of the page?

Participant
January 8, 2011

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.

http://db.tt/0LXu3eN

Participant
January 9, 2011

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.