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

Dreamweaver CS5 - "Dynamically-related files cannot be discovered because a testing server..."

New Here ,
Oct 29, 2010 Oct 29, 2010

Copy link to clipboard

Copied

I recently switched from Dreamweaver CS4 to CS5, but now on all my PHP pages a bar appears with the message "Dynamically-related files cannot be discovered because a testing server is not defined" It flashes too, and even if I try to close it, it reappears whenever I save or upload the file. And I don't know why it's saying this, because my PHP includes still show up in the related files bar as always. So how do I disable this? I've never needed a testing server before and I don't want one.

TOPICS
Server side applications

Views

28.7K
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
community guidelines
New Here ,
Oct 30, 2010 Oct 30, 2010

Copy link to clipboard

Copied

Here's what I'm talking about. Notice how I have a PHP include which shows up in the related files bar. Yet that annoying "Dynamically-related files cannot be discovered" bar keeps popping up and flashing EVERY TIME I OPEN, SAVE, OR UPLOAD a file!!!! Can anyone please tell me how to get rid of this???

http://www.mediafire.com/imgbnc.php/186d6247d76fc8dd99f843c8b1ab7e9d671aa4bdf4a2a0c291c0a489f2b25ea96g.jpg

Votes

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
community guidelines
Community Beginner ,
Nov 09, 2010 Nov 09, 2010

Copy link to clipboard

Copied

I had a similar problem with Joomla and it drove me crazy. You can go to preferences and there is a switch under ''General' > 'find dynamic files' . You can disable it there.

HOWEVER - I also discovered that if you set up your site where your site folder is inside your webserver ( ie htdocs ) AND you create a testing server with the same folder, then DW % is very,very helpful in finding all your dynamic files. The fact that it is complaining ( I had the same) tells me that it does not like how you have set up your folders.

Votes

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
community guidelines
Community Beginner ,
Nov 28, 2010 Nov 28, 2010

Copy link to clipboard

Copied

Hi there,

I've just set up my PHP local testing server, although its not working properly! If you could help that would be so wonderful!

Here is my current settings:

Local Site Folder: C:\XAMPP\htdocs\valsoo\

Web URL: http://localhost/valsoo/

Server Folder: C:\XAMPP\htdocs\valsoo\

Local/Network

Server Model: PHP MySQL

I'm testing the 'local testing server' with a file called site_check.php which works in the Local Site Folder root (C:\XAMPP\htdocs\valsoo\site_check.php) but fails to work when the file is within folders (C:\XAMPP\htdocs\valsoo\lesson01). Not all files work in the root either. ANY SUGGESTIONS?

Thanks so much!

Votes

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
community guidelines
Community Beginner ,
Nov 28, 2010 Nov 28, 2010

Copy link to clipboard

Copied

Brentis

Make certain that you have your server folder set as the testing server not the remote server. DW defaults to remote.

For the rest yu have both local and testing server the same ie inside htdocs - good.

if your file doe not work then if it were me I would eliminate the file it self as the source of the problem. do something super simple like echo "hello world" ;

if ti still does not work then I am at a loss as it shoudl work. If it does work, then clearlit it is your script.

sorry I can't be more helpful than that - I am still having troubles with DW5 and dynamic files myself !   It feels to me that adobe rushed out this feature with  out really, really making it rock solid.

vincej

Votes

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
community guidelines
Community Beginner ,
Nov 28, 2010 Nov 28, 2010

Copy link to clipboard

Copied

Hi Vince,
I really appreciate you contacting me, I've been needing some help for  quite some time! I have the testing server ticked, and remote not ticked. I created a file called hello_world.php and put it in the my root folder.
<php?
echo "hello world" ;
?>
However, when I click live view it says:

Object not found! Error 404

The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again.

The file site_check.php in my root folder works however! It says 'Congratulations. The time is now 4:44 pm'.

Votes

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
community guidelines
Community Beginner ,
Nov 28, 2010 Nov 28, 2010

Copy link to clipboard

Copied

Whoops, I meant.

<?php

echo "hello world";

?>

Votes

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
community guidelines
Community Beginner ,
Nov 29, 2010 Nov 29, 2010

Copy link to clipboard

Copied

How about when you try clicking it from inside the DW file manager ? It feels to me that you are not selecting the correct url.

vj

Votes

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
community guidelines
Community Beginner ,
Nov 29, 2010 Nov 29, 2010

Copy link to clipboard

Copied

Hi Vince,

No it still fails to work. I think your right, Adobe have left a few problems for us to deal with.

Well my files are located at C:\XAMPP\htdocs\valsoo and my URL is http://localhost/valsoo/

It doesn't work in the DW files manager either. This is so strange since test.php and site_check.php both work in the root folder, but no other files work.

Also, just checking, is there meant to be a folder C:\XAMPP\htdocs\xampp ?

Thanks again!

Brentis

Votes

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
community guidelines
Community Beginner ,
Nov 29, 2010 Nov 29, 2010

Copy link to clipboard

Copied

Yes the xamp file inside htdocs is meant to be there.

I don't think your problem has anything to do with finding dynamic files ( my problem)

I think there is some fundamental issue with how you have created your site or maybe how you have installed xamp and DW.

all I can suggest at this stage is go to lynda.com and take advantage of the 1 month free access. Study the DW essentials video and the PHP with dreamweaver Cs5 video - they go through in fine detaill how to set things up.

sorry I don't have an easy answer for you - such is programming.

good luck vj

Votes

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
community guidelines
Community Beginner ,
Nov 29, 2010 Nov 29, 2010

Copy link to clipboard

Copied

Hi Vince,

I think you may be right in guessing that there could be a problem with how I've installed xampp, that may be where the problem lies.

Thanks very much for your help. I'll definitely use the 1 month trial on lynda.com

Thanks Vince!

Brentis

Votes

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
community guidelines
Guest
Dec 10, 2010 Dec 10, 2010

Copy link to clipboard

Copied

Sorry - nvm. It's no longer on Youtube.  lyndawordpress has been terminated because we received multiple third-party claims of copyright infringement regarding material the user posted.

Votes

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
community guidelines
Community Beginner ,
Dec 01, 2010 Dec 01, 2010

Copy link to clipboard

Copied

Hi Vince,

Turns out I installed xampp in a folder called xampp, so the local site folder is C:\XAMPP\xampp\htdocs\valsoo\

It works now! God what a lot of craziness to get that to work.

Thanks for your help!

Brentis

Votes

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
community guidelines
New Here ,
Dec 07, 2010 Dec 07, 2010

Copy link to clipboard

Copied

I've got mad with the same problem, the message "localserver not found".

I've have had no problems in other machine, when running the Lynda tutorial, with a similar OS and configuration. Reinstalling and running in a newer PC, same OS : XP Pro SP3-1636,32 bit, same security, Avira Antivir Desktop ver. 10.x and Comodo Firewall 5.0.x with Firewall - Defense Plus- Sandbox Modules all ON.

As in the old machine, I've configured WAMP 2.0i with root security, cookie login and MyISAM configured through MySQL my.ini.(Allowing a common incremental backup of the complete folder)

I've used the configuration of unique local folder at %/wamp/www/ [site_name] / [blog]  (where blog is wordpress directory renamed)

Had no problems with wordpress setup, but when configured the site in DRWCS5 the fatal message displayed first time.

I've tried all kind of solutions suggested (in the meantime I've learnt a lot about security and different ways to configure localservers).NO WAY

Then I've followed http://www.adobe.com/devnet/dreamweaver/articles/setup_php.html  tutorial, so I've decided also to give XAMPP a try.

I followed all carefully and got again the damm message.

I've checked then as suggested the firewall config, apparently no problems with the connection menu, no blocked apps. at all except those I've tailored.

As a last recurse, I've checked the windows security and surprise!  windows firewall was active. As I never care about, because of virtually all installation firewall switch OFF the windows one, I've never realized it was still active.

Just in case, I've put an exception allowing drwcs5 connection to 127.0.0.1:80 (localhost) tcp/udp and dann I've switch the win firewall OFF.

This later because it's not the first time a windows uptdate change drivers or settings without advice.

Voilá !! I've got the ensamble XAMPP + DRWCS5 running without glitches.

So I suggest that you may check carefully the firewall settings. Sometimes, you have a stack with more than one rule referred to the same application.

Simplify, delete all instances in the stack, and then re-write a new rule , allowing access to the local loop through port 80.

Note: I've noticed, that WAMP conflict in some way with my OS configuration ,the ACPI or NVIDIA drivers (really do not know) and the system becomes unstable. XAMPP seems not to behave the same way. So I will stay with it, instead of WAMP.

Votes

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
community guidelines
New Here ,
Jun 18, 2013 Jun 18, 2013

Copy link to clipboard

Copied

I have fixed the problem. Set server settings thusly:

connect using: Local/Network

Server Folder: C:\wamp\www\path_to_your_site\

Web URL : http://127.0.0.1/path_to_your_site/

Votes

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
community guidelines
New Here ,
Jan 23, 2014 Jan 23, 2014

Copy link to clipboard

Copied

LATEST

Worked great - I used 'localhost' instead of the IP address for web url. Thanks!

Votes

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
community guidelines