Link Checker problem
DW CS3 (Mac): Previous versions of DW allowed you to check
all links site-wide, and (if a link was broken) to change it in the
Link Checker window. (Normally this would crash in DW MX..) With
CS3 double clicking on the incorrect link appears to open the file
instead of correctly all instances of the incorrect link.
Is there a fix for this bug?
With CS3 double clicking on the incorrect link
> appears to open the file instead of correctly all
instances of the incorrect
> link.
That's the way it's always behaved.
In the results window, there are three ways to fix the broken
link.
double clicking on the filename opens that file to that
link's spot in code
and design view.
clicking in the link box line and hand typing the link, then
clicking on
some other result in the list will fix all instances of that
error (if you
click okay to the popup)
clicking the folder icon on the far right of that results
line and picking a
file using the browse to file dialog box, then clicking on
some other result
in the list will fix all instances of that error (if you
click okay to the
popup)
Alan
Adobe Community Expert, dreamweaver
http://www.adobe.com/communities/experts/
Similar Messages
-
Link checker does not seem to see some broken links-why?
Hi,
I have a problem with the link checker, it does not seem to report some broken links. Here is the context in which it happens.
My site root folder contains (subset) :
index.php
Templates/child_userarea.dwt
user-area/downloads.html
(The file downloads.html is based on child_userarea.dwt.)
In the template, I have <a href="../../index.php" title="Home page">Home</a>.
In downloads.html, this link appears as <a href="file:///M|/Website/index.php" title="Home page">Home</a>.
According to this post http://forums.adobe.com/message/934203#934203 by Murray, this is because Dreamweaver (CS4 in my case) thinks that index.php is outside the site root folder. I understand it thinks so because indeed ../../index.php points to the folder parent of the root folder. What I don't get is why doesn't the link checker report that ../../index.php does not exist? (And I'm sure it doesn't, there is no file called index.php outside the root folder.)
EmilieThat's the thing, it is correct! I have checked many times. Here is what is says:
and M:\Website\CERC15\ does exist.
For the time being, I have corrected the paths in the template, so for that particular file, it is now ok. However, I have no idea whether other paths are wrong since I am not sure any longer whether they are spotted by the link checker. I searched for other instances of file:///M|/Website and there is none left.
I suspect this is just one more problem due to another problem non-identified so far (see e.g.http://forums.adobe.com/thread/506149?tstart=30). Since I renamed a big batch of files, I have had problems after problems: the templates disappearing (see that other post); I also lost all the files in 4 other folders (files for download linked to the pages through <a> tags); and Dreamweaver has become particularly slow (but this seems to have been fixed with erasing the cache and the personal preferences).
I'd like to start from scratch again (and why not reinstall Dreamweaver), but I don't know how to recreate the site from zero without loosing anything (e.g. links to templates). -
I am using DreamWeaver 8 and I am having problems with file
paths and names. If I use the link checker it shows a lot of broken
links. When I look at the results everything seems to be missing
the first letter of the filepath.
For example:
/forms/forms_building_construction.html
will show in link checker results as
/orms/forms_building_construction.html
I have also seen this in other areas of DreamWeaver.
Does anyone know why this happens. It is causing me
frustration.
Thanks,
Steve>
/forms/forms_building_construction.html
>
> will show in link checker results as
>
>
/orms/forms_building_construction.html
>
> I have also seen this in other areas of DreamWeaver.
Where exactly is the Local Site Folder?
What kind of drive/network is it? anything at all odd about
it??
please open a new document in dw.
Don't Save it.
insert an image that's inside of this local site folder.
copy the full path from the code view and paste in reply. -
Dreamweaver 8 - Problematic Broken Link Check
On a regular basis I use Dreamweaver 8's broken link checker
to convert
relative links to absolute throughout single HTML files.
Once upon a time, I could use the results pane to quickly
replace all
of the broken links. Ever since installing Dreamweaver 8
(upgraded from
MX) I've had the following problem with the link checker:
1. It seems to find all of the broken links correctly,
however, when I
try to change them into absolute, it doesn't actually make
the changes.
2. Sometimes it even makes incorrect changes to the path of
the link,
such as changing the image link to a .html link randomly (I
have no
idea how this happens!)
3. When it asks if I'd like to replace the other references
to the same
file, and I respond yes, it does nothing.
After researching this topic somewhat, I have found temporary
solution,
but it's driving me crazy and I'm looking for a long-term
resolution
for this issue.
If I delete my WinFileCache-xxxxxx.dat file (under User >
Application
Data > Macromedia > Dreamweaver 8 > Configuration)
before opening
Dreamweaver, the problem is resolved until the end of that
specific
session. As soon as I close Dreamweaver and reopen it, the
problem
returns.
I understand that by deleting the WinFileCache file I am
basically
starting with a clean slate, which is why this method is
temporarily
effective. However, this is a daily problem for me and I'm
sick of
having to do it every single time I use the program....
SO...if any of you have any thoughts, suggestions, or similar
complaints, please share - I'm desperate to find a long-term
solution!
Thanks!> On a regular basis I use Dreamweaver 8's broken link
checker to convert
> relative links to absolute throughout single HTML files.
Why?
> 1. It seems to find all of the broken links correctly,
however, when I
> try to change them into absolute, it doesn't actually
make the changes.
Give me an example of what it finds and what you want to
change it to,
please.
> 2. Sometimes it even makes incorrect changes to the path
of the link,
> such as changing the image link to a .html link randomly
(I have no
> idea how this happens!)
I would have to see this happen to believe it.
> SO...if any of you have any thoughts, suggestions, or
similar
> complaints, please share - I'm desperate to find a
long-term solution!
The real question is - why are you regularly getting broken
links? The only
reason I can think of is that your local site is actually on
a remote,
shared network drive, and there is intermittant connectivity
to it due to
some recurring network anomaly. Can you tell me how your site
is defined?
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"pooley2" <[email protected]> wrote in
message
news:[email protected]...
> On a regular basis I use Dreamweaver 8's broken link
checker to convert
> relative links to absolute throughout single HTML files.
>
> Once upon a time, I could use the results pane to
quickly replace all
> of the broken links. Ever since installing Dreamweaver 8
(upgraded from
> MX) I've had the following problem with the link
checker:
>
> 1. It seems to find all of the broken links correctly,
however, when I
> try to change them into absolute, it doesn't actually
make the changes.
>
> 2. Sometimes it even makes incorrect changes to the path
of the link,
> such as changing the image link to a .html link randomly
(I have no
> idea how this happens!)
>
> 3. When it asks if I'd like to replace the other
references to the same
> file, and I respond yes, it does nothing.
>
> After researching this topic somewhat, I have found
temporary solution,
> but it's driving me crazy and I'm looking for a
long-term resolution
> for this issue.
>
> If I delete my WinFileCache-xxxxxx.dat file (under User
> Application
> Data > Macromedia > Dreamweaver 8 >
Configuration) before opening
> Dreamweaver, the problem is resolved until the end of
that specific
> session. As soon as I close Dreamweaver and reopen it,
the problem
> returns.
>
> I understand that by deleting the WinFileCache file I am
basically
> starting with a clean slate, which is why this method is
temporarily
> effective. However, this is a daily problem for me and
I'm sick of
> having to do it every single time I use the program....
>
> SO...if any of you have any thoughts, suggestions, or
similar
> complaints, please share - I'm desperate to find a
long-term solution!
>
> Thanks!
> -
Templates show up as having broken links in site link check
CS6
I have about 20 templates for my site, and a couple of them show up as having broken links when I do a check links site wide search?
When I make changes to these particular templates now, the new links and associated pages will show up as having broken links also?
Then when I map the new pages to the correct page, I get the template is locked message?
I suspect the problem starts with why are the templates being included in the link check to begin with.
Any thoughts will be appreciated.
BradWholesale site and each supplier requires a different menu and lay out.
-
Hello all,
I am attempting to write a basic link checker to parse an html page and determine if any links are dead. I found a couple tutorials online, and am using one of them to test a webpage. However, i am running into multiple problems. The basic link checker verifies links by using the http HEAD request, it then checks the response code and determines from there if the link is dead.
However, I have two major problems with this:
1) How can I verify links when they are not using http, for instance a ftp link on a webpage?
2) Sometimes when I parse link, i am losing the protocol from the link....
ie. href="http://www.ibm.com/systems/x/=>href="//www.ibm.com/systems/x/"
Reader rd = getReader(rootURI);
// Parse the HTML.
kit.read(rd, doc, 0);
// Iterate through the elements
// of the HTML document.
ElementIterator it = new ElementIterator(doc);
javax.swing.text.Element elem;
System.out.println("Starting Validation from: " + rootURI);
while ((elem = it.next()) != null) {
SimpleAttributeSet s = (SimpleAttributeSet)elem.getAttributes().getAttribute(HTML.Tag.A);
if (s != null) {
System.out.println("attributeSet: " + s);
String link = (String)s.getAttribute(HTML.Attribute.HREF);
System.out.println("Validating: " + link);
validateHref(link);
}else{
//System.out.println("Attribute set is empty");
//flag this to user
}This is the block of code i am using to extract the link from the html source. My console output looks like this:
[stdout]
attributeSet: href=//www.ibm.com/systems/x/ class=left-nav-overview
Validating: //www.ibm.com/systems/x/
[stdout]
However, looking at the html source, the link should be http protocol....ie. http://www.ibm.com/systems/x , since i later check to make sure that http protocal urls start with "http:", these links that do not have http: at the beginning are being ignored...
Can someone please help and explain to me how I can fix this? Also, i am eventually planning to turn this into more of a web spider, and traverse levels of pages checking and validating the links.
Thank you,
Nickheres the full source. Let me know if theres anything else to make my questions more clear. Thanks!
import java.io.*;
import java.net.*;
import javax.swing.text.*;
import javax.swing.text.html.*;
public class enhanceLinkCheck {
static int failCnt = 0;
public static void main(String[] args) {
HttpURLConnection.setFollowRedirects(false);
EditorKit kit = new HTMLEditorKit();
Document doc = kit.createDefaultDocument();
// The Document class does not yet
// handle charset's properly.
doc.putProperty("IgnoreCharsetDirective",
Boolean.TRUE);
try{
//String rootURI = "http://www-304.ibm.com/jct01004c/systems/support/supportsite.wss/docdisplay?lndocid=MIGR-65651&brandind=5000008#osa";
String rootURI = "http://www-304.ibm.com/jct01004c/systems/support/supportsite.wss/docdisplay?lndocid=MIGR-65665&brandind=5000008";
// Create a reader on the HTML content.
Reader rd = getReader(rootURI);
// Parse the HTML.
kit.read(rd, doc, 0);
// Iterate through the elements
// of the HTML document.
ElementIterator it = new ElementIterator(doc);
javax.swing.text.Element elem;
System.out.println("Starting Validation from: " + rootURI);
while ((elem = it.next()) != null) {
SimpleAttributeSet s = (SimpleAttributeSet)elem.getAttributes().getAttribute(HTML.Tag.A);
if (s != null) {
System.out.println("attributeSet: " + s);
String link = (String)s.getAttribute(HTML.Attribute.HREF);
System.out.println("Validating: " + link);
validateHref(link);
}else{
//System.out.println("Attribute set is empty");
}catch (Exception e){
e.printStackTrace();
System.out.println("Failed links: " + failCnt);
System.exit(1);
// Returns a reader on the HTML data. If 'uri' begins
// with "http:", it's treated as a URL; otherwise,
// it's assumed to be a local filename.
static Reader getReader(String uri)
throws IOException {
if (uri.startsWith("http:")) {
// Retrieve from Internet.
URLConnection conn = new URL(uri).openConnection();
return new InputStreamReader(conn.getInputStream());
}else {
// Retrieve from file.
return new FileReader(uri);
private static void validateHref(String urlString){
if((urlString != null) && (urlString.startsWith("http://"))){
try{
URL url = new URL(urlString);
URLConnection connection = url.openConnection();
if(connection instanceof HttpURLConnection){
HttpURLConnection httpConnection = (HttpURLConnection)connection;
httpConnection.setRequestMethod("HEAD");
httpConnection.connect();
int response = httpConnection.getResponseCode();
if(response >=400){
System.out.print("[FAILED]");
failCnt++;
System.out.println("Response: " + response);
String location = httpConnection.getHeaderField("Location");
if(location != null){
System.out.println("Location: " + location);
System.out.println();
}else {
System.out.println("Connection not HTTP: " + connection);
}catch (IOException e){
e.printStackTrace();
} -
I have been having problems with the link checking on my site
background: I had in the past used a lot of relative links
for my php includes, I have had to switch them to be root based.
This is due to problems I have had with people who use contribute
(3.1 no upgrade for them in site). For some reason the relative
links where being rewritten which caused issues when people editted
the pages in contribute.
So some links look like /homepages/blah/blah/file.php
or they are variables $top_title
or a combination
$path_info/file.php.
Well these all come up in dreamweaver as broken links so it
is near impossible to link check for incorrect links since there
are just tons of "bad links" that come up.
Anyone have any suggestions?No funky codecs and the fonts are all okay. I still have AE CS4
installed and it runs just fine. I would switch back if I hadn't
already built an entire program in CS5. CS5 also crashes quite a
bit. One other note: When the spinning ball ends (after about 2
minutes), the mouse is always crazy for a several seconds. It
highlights everything no matter what panel I'm in. I have to hit esc
several times and cycle through different tools to get it back to
normal. -
Link Checker not finding all errors
Hi. I am running the link checker, but its not
finding all my errors - does anyone know why? -- for example -
links like "/products/index.html should be "../products/index.html
-- but link checker is not flagging this as wrong.
Also the opposite - if I have this "../../products/index.html
- and it should be : "../products/index.html - it doesnt know its
wrong.
Help - I really wanted to implement my new site tomorrow -
but I cant trust the results I am seeing right now.
Shriley>
Hi. I am running the link checker, but its not
finding all my
> errors -
> does anyone know why? -- for example - links like
"/products/index.html
> should
> be "../products/index.html -- but link checker is not
flagging this as
> wrong.
Either link will work fine. Both point to EXACTLY THE SAME
PLACE, assuming
your file doing the linking is one folder level below the
root. The former
link is called a root relative link since it describes the
path to the
linked file from the root of the site no matter where the
linking page is.
The latter is called a document relative link because it
describes the path
to the linked file from the location of the current page.
Neither will be
flagged by the link checker, since both could be right.
> Also the opposite - if I have this
"../../products/index.html - and it
> should be : "../products/index.html - it doesnt know its
wrong.
Is this a real or a made up example? If you have the former,
and it should
be the latter, then your site is not properly defined.
> Help - I really wanted to implement my new site tomorrow
- but I cant
> trust
> the results I am seeing right now.
It's a cockpit error, I believe. To read more about
root/document relative
links, go here -
http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_13129&sliceId=2
http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_15546&sliceId=2
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"sdunham" <[email protected]> wrote in
message
news:[email protected]...
>
Hi. I am running the link checker, but its not
finding all my
> errors -
> does anyone know why? -- for example - links like
"/products/index.html
> should
> be "../products/index.html -- but link checker is not
flagging this as
> wrong.
>
> Also the opposite - if I have this
"../../products/index.html - and it
> should be : "../products/index.html - it doesnt know its
wrong.
>
> Help - I really wanted to implement my new site tomorrow
- but I cant
> trust
> the results I am seeing right now.
>
> Shriley
> -
Relinking files through link checker does not work properly.
Good Morning:
I am using Dreamweaver CS6, and updating an old site (built in CS4). I have over 100 broken links to graphics which I am trying to relink through the "link checker" - will sporadic success.
I have to update this site yearly, with new product graphics.
When I try to update using the "check links sitewide" feature, I can update maybe two graphics, and then it will hiccup on the third attempt and REFUSE to relink to the new graphic I direct it to.
My computer specs are as follows:
Mac Pro
Processor 2.8 GHz Quad-Core Intel Xeon
Memory 2 GB 800 MHz DDR2 FB-DIMM
Graphics ATI Radeon HD 2600 XT 256 MB
Software OS X 10.8.2 (12C60)
Any help would be appreciated.My guess is that you defined the language used to check on one or a few number of words.
Select all the define the language to use.
I'm quite sure that, after that, it will do the trick correctly.
Yvan KOENIG (VALLAURIS, France) lundi 15 mars 2010 21:38:13 -
Capacity check problem in Project system
hi,
i have some questions for the Capacity check problems in Project System.
1. if one Person is assigned to diffierent Work Centers, for example, person A is assigned to Work Center 01 under Plant 01, and Work Center 02 under Plant 02, how can i do the Capacity check?
if i want to use A of Work Center 01 in the Project, the System will only check the Capacity of 01, or both of 01 and 02?
2. What is the Pooled Capacity?
Rgds,
Lianghi,
1.Capacity check takes place at plant level itself..
2.Pooled capacity:- This is created separately in [u wil find in PP] and this capacity can be used by different work centers.
regards
pushpa -
Using Link Checker crashes WinXP every time I try to fix a link
Using Link Checker crashes WinXP every time I try to fix a
link by clicking
the link in the broken link column. The folder icon appers, I
click on the
icon and I get a system warning beep as the folder window
opens, I select
the correct link and click OK, the new link appears
momentarily in the
column, then I get the XP program close-down alert.
I have rebooted, refreshed site-cache, re-created the
user-config, it just
keeps happening.It sure has never crashed for me....
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"swortis" <[email protected]> wrote in
message
news:eqvqad$6no$[email protected]..
> Same thing happens with Mac version (Dreamweaver 8).
It's never worked for
> me and I assumed it's one of several features simply
broken out of the
> box. -
Hi there!
I have an ActionScript Project and have many AS Classes on my
source directory, but have only one Application (Main.as).
The question is that I can write anything on the AS Classes
and the Flex doesn't point any errors. Flex only parse the classes
that are used by my Main Application. This is not a good thing,
because not all the classes are laoded by the Main Application
directly, but I still need a instant syntax checking...
So, could some one say me if this is a Syntax Check Problem?
Thank you,
CaioToOn!Hi,
Indeed, it can be frustrating that your class gets compiled
only when it gets used. I'm guessing the compiler behaves that way
for performance reasons.
But I don't understand the bit about classes not being loaded
by the main application directly? You mean those classes are
compiled into modules / rsls?
As long as the classes are referenced in some class which is
being used by the application, it *should* get compiled. It would
be interesting to know the dependency of your actionscript
classes. -
hi,
i have some questions for the Capacity check problems in Project System.
1. if one Person is assigned to diffierent Work Centers, for example, person A is assigned to Work Center 01 under Plant 01, and Work Center 02 under Plant 02, how can i do the Capacity check for this person?
if i want to use A of Work Center 01 in the Project, the System will only check the Capacity of 01, or both 01 and 02?
2. How to config Capacity check in PS?
Rgds,
Lianghi,
1.Capacity check takes place at plant level itself..
2.Pooled capacity:- This is created separately in [u wil find in PP] and this capacity can be used by different work centers.
regards
pushpa -
Link Checks for Payment (OCHO) to A/P Invoice (OPCH)
can someone help me link Checks for Payment to the A/P Invoice tables?
FROM OPCH T0
INNER JOIN PCH1 T1
ON T0.DocEntry = T1.DocEntry
INNER JOIN OACT T2
ON T1.AcctCode = T2.AcctCode
WHERE T0.DocDate >= '08/1/11' AND T0.DocDate <= '08/31/11'Hi,
Try this if the same helps your issue :
select T3.Docnum as 'AP Invoice Number', T1.Docnum as 'Payment Number',
t0.checknum as 'Check Number',t1.Canceled as 'Payment Canceled Y/N'
from OCHO t0
inner join OVPM t1 on t0.PmntNum = t1.Docnum
inner join VPM2 t2 on t2.docnum = t1.docnum
inner join OPCH t3 on t3.transid = t2.doctransid
inner join PCH1 t4 on t3.docentry = t4.docentry
inner join OACT t5 on t4.Acctcode = t5.Acctcode
where t1.cardcode = t0.vendorcode
and T3.DocDate >= '01/1/11' AND T3.DocDate <= '08/31/11'
I have tried to incorporate the part of your query as well.
Kind Regards,
Jitin
SAP Business One Forum Team -
Does iphone 4's dailymotion link have problem?
does iphone 4's dailymotion link have problem?
gdgmacguy wrote:
you will not be able to use it as that phone is forever locked to Sprint.
Not true. In fact Sprint will unlock the sim slot for customers in good standing.
Maybe you are looking for
-
Hi everyone. I hope to make this quick to read, and to respond. I'm brand new to OS X Server (but not client) and am trying to get a handful of services going for my company. It's not too complex, but with things like Open Directory being completely
-
Adobe Acrobat 5.0 compatibility with Windows 7
Adobe 5.0 compatibility with Windows 7
-
NotSerializableException using PreparedStatement in 2.3.1
Hi, I tried the new 2.3.1 and got a java.io.NotSerializableException using query.executeWithMap(...) on a precompiled query. The same query without precompilation succeeds. We use an Oracle 8.1.7. This is the query: String filter = "fromStateNode ==
-
Process chain is activated, but not getting execute. Also no jobs are being scheduled for the same. Please help ASAP. Regards, Iira
-
Database 'Servername' is low on log volume space. 'DBname' is low on log volume space.
Hello Everyone, I have Exchange 2013 up and running with some users on working with no issues. However, I keep receiving these alerts from SCOM 2012. I also see the below Event in the Monitoring logs. I have attempted to run the following cmdlets b