Hi.
How would I go about solving the error "Dynamically-related files could not be resolved..."
This is a wordpress site. http://www.apricote.se
I can se it if I browse to http://www.apricote.se in live view. But if I copy everything to local disc and try to view index.php I get the "Dynamically-related files could not be resolved..." error.
Strange thing is that some of the other files load the related files. wp-blog-header.php for example. Or if I go to the admin directory and index.php. All is ok.
Could it may be so that I need a local database aswell?
(I have some other wordpress, joomla and concrete5 sites that are working)
Well, any clues are welcome.
Regards
Olle
I can see it if I browse to http://www.apricote.se in live view. But if I copy everything to local disc and try to view index.php I get the "Dynamically-related files could not be resolved..." error.
Strange thing is that some of the other files load the related files. wp-blog-header.php for example. Or if I go to the admin directory and index.php. All is ok.
DW needs to connect to your wordpress server to resolve the dynamic related files, so your it sounds like your Testing Server is not setup correctly. You can use the actual wordpress server on the web, or you can install a local wordpress server on your machine.
Starting in DW CS4, support for *static* related files was added, so that's probably why you're seeing some of the files.
HTH,
Randy
Hi. No you are wrong. I know I have a connection to the database. If I disconnect it I get
If I open another file all the related files to that are loaded.
So, there is something fishy about the index file.
I have a .htacessfile in there that I dont know what it do. Maybe thats the problem? Does this have any effect from within DW? Or do I have to put that in the local server somehow?
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
Regards
olle
Well, I dumped the database and set the wp-config file to the local one.
I also had to change two places in the _options table (the location of the site)
And it sort of works now. But the flash inside is not working. And the "follow links" does not work either.
Gahhh, I'll give up!
It's a nice new feature in DW CS5 ![]()
If I have to change something in this site I apparently have to do it the old fashion way
regards
olle
I personally installed wordpress severals times locally as i could only make the dynamic discover feature work maybe once or twice each time i installed, then I would get this error. After trying several different server setups i almost gave up. Today I was working with wordpress outside of dreamweaver and was looking for a way to change permalinks to have a php extension. After looking for a while I noticed people kept talking about making differnet servers like xamp able to handle permalinks. Then the light came on for me and I realized each time I installed wordpress I would eventually change the default permalink to day and name. So I turned it back to default in wordpress and bingo I could now discover the files. Tried this several times to make sure this was the issue. Yippe!!
Michael
This error needs to be corrected! I spend the last day figuring out that my wordpress error was due to the permalinks begin set to date and time rather than default! This limits the way I can create sites! using the numbered system is ok for a blog but keeps you from using wordpress as a CMS where links for pages can be set by text.
Thanks for the help! I was about to give up!
b
Yeah, I'm feeling the same way as budeades. For CMS functionality it's important that we can set customised permalinks but this breaks DW CS5's discover feature.
Any ideas for a fix or workaround? Or Adobe, are you working on this? What i'm doing just now is switching the permalinks to default, running discover, then switching them back every time I need to work on it which is a bit ridiculous.
Hi everyone,
I'm not seeing problems on our test servers. I'm testing with Wordpress 2.9.2 and it seems to work fine with permalinks. "Date and name", "Month and name" and "Numeric" all seem to work. What version of Wordpress are you all using so I can try to replicate it internally?
It's possible that something has changed in WP core that is breaking our integration and we'll need to report an issue to the Wordpress community.
I apologize for the frustration. Hopefully we can get to the bottom of this issue soon and thanks for doing the investigating and finding the source of the problem.
Regards,
Jeff Booher
Dreamweaver Engineering
Adobe Systems
I tried it with Wordpress 2.9
and then with 3.0 beta and the second release of the beta. Also I removed and reinstalled several times. I also reinstalled different localhost servers such as wamp and xampp.Several configurations...
I originally posted this in an other tread as well. http://forums.adobe.com/message/2782272#2782272
Lots of people with same issue. Lots of views as well.
Thanks for looking into this Jeff
Cheers
Michael
I have got that problem, is there any fix?
Concise problem statement:
Using CS5 connect with Wordpress 3.0.1 and 2.7
Error found when attempted to "Discover dynamically-related files" when "Permalinks setting" is not in default "Ugly" mode.
Steps to reproduce bug:
1. Turn on Permalink setting ("Pretty Permalink") in wordpress dashboard
2. Work with DW CS5, with the localhost properly defined and appropriate "Site" defined in DW
3. Open index.php file in the "site root"
4. Click "Discover dynamically-related files..."
Results:Dynamically-related files could not be resolved because the site definition is not correct for this server
Expected results:
When I turn off "Pernalink setting" back to "Default" setting, DW has no problem and all Dynamically-related files can be found.
Remark: Pretty Permanlink function properly in wordpress links.
Is there any fix?
thanks
Bruce
All -
I ran into the same problem concerning dynamically-related files.
First Setup
Result: FAIL
Second Setup
1. Removed .htaccess
2. Turned off permalinks
Result: FAIL
Third Setup
1. Copied all source files to c:/htdocsDW (no longer sharing the same source files for my local files and my server)
Result: SUCCESS YEAH!
Fourth Setup
1. Added back my .htaccess
2. Turned permalinks back on
RESULT: SUCCESS
One thing that confused me - following the links. Ctrl + Click Link didn't work for me but using the right mouse click menu/Follow Link did.
Carol
I have the same problem, can only discover files when permalinks is set to default.
All I need do is change it back to default in wordpress and hit retry and all resolves fine.
issue is with several sites.
latest versions of Dreamweaver, Wordpress and MAMP on OSX as of march 2 2011
can I run premalinks as day name or not?
Carol,
I'm not clear as to what you did to sove this issue. You say:
Third Setup
1. Copied all source files to c:/htdocsDW (no longer sharing the same source files for my local files and my server)
Exatly which files did you place where? Are you saying that you placed the wordpress files in the htdocs folder, and you created a subfolder for the Dreamweaver site files? Or, is htdocsDW, as you specify, I seperate folder with the MAMP folder? And how did you specify site/server settings within DW? I've spent hours going round and round on this, so any help solving it would be greatly appreciated.
Craig
North America
Europe, Middle East and Africa
Asia Pacific