Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

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

New Here ,
Jan 06, 2011 Jan 06, 2011

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!

TOPICS
Server side applications
714
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Jan 07, 2011 Jan 07, 2011

Can you send us a copy of the page?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 08, 2011 Jan 08, 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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 09, 2011 Jan 09, 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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Jan 09, 2011 Jan 09, 2011
LATEST

That's great news!

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