iEntry 10th Anniversary Forum Rules Search
WebProWorld
Register FAQ Calendar Mark Forums Read
Graphics & Design Discussion Forum Post your graphics design questions/comments/ideas in here. Ask questions, post tutorials, discuss trends and best practices. Sub-forum for website accessibility and usability.

Share Thread: & Tags

Share Thread:

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-09-2005, 08:19 PM
WebProWorld New Member
 
Join Date: Jul 2005
Location: Sitka, Alaska
Posts: 6
mimsymc RepRank 0
Default Dreamweaver: Error accessing file...bad file path

In Dreamweaver: the following code is at the top of my template page:
<html>
<head>


I recently moved the website to a new host that does not use the file name: htdocs. But that is still on the template page even though that file no longer exists in the web on my computer, or on the server.

When I save changes in the template and try to update my site, this is the error message I get. (What is Error code 3? I can't find that in the help menu.)

"Error accessing file "C:\Mim's the name\My Documents\My Webs\Hank's Cabs\htdocs\Templates\Hank's Cabs 2.dwt": bad file path (error code 3)

How do I fix this problem?

Thanks for your help.
Reply With Quote
  #2 (permalink)  
Old 07-10-2005, 02:38 PM
WebProWorld Pro
 
Join Date: May 2004
Location: anchorage, alaska
Posts: 241
jomariet RepRank 0
Default

Quote:
even though that file no longer exists in the web on my computer,
Dreamweaver can't pull information from a file that doesn't exist. You need to have the file with the correct path on your local computer to use the template. You don't need it on your remote site. The changes are done locally, saved and then "put" to the remote host.

JM

http://www.probizhosting.net
http://www.crucibledesigns.com
Reply With Quote
  #3 (permalink)  
Old 07-10-2005, 07:12 PM
WebProWorld New Member
 
Join Date: Jul 2005
Location: Sitka, Alaska
Posts: 6
mimsymc RepRank 0
Default Dreamweaver: Error accessing file...bad file path

"Dreamweaver can't pull information from a file that doesn't exist. You need to have the file with the correct path on your local computer to use the template. You don't need it on your remote site. The changes are done locally, saved and then "put" to the remote host."

The template is existing within the web on my computer. It is also on the server within the web. Is that the correct location for a template?

The web file on the computer no longer contains an 'htdoc' file. I have done 'save as' into the web folder to make sure there is no reference to 'htdoc' in the file path.

When I try to update the entire site, it gives me that error code. It's like DW has only remembered the old location of the template on my computer and won't let me tell it to remember its new location.

I've noticed that all my web pages show broken links to the template with this being the broken link for all of them: /htdocs/Templates/Hank's Cabs 2.dwt

The link should read: /Templates/Hank's Cabs 2.dwt

I don't know how to fix these broken links. I'm stumped on this one.

MM
Reply With Quote
  #4 (permalink)  
Old 07-10-2005, 08:02 PM
WebProWorld Pro
 
Join Date: May 2004
Location: anchorage, alaska
Posts: 241
jomariet RepRank 0
Default

The easy solution is to add the folder that's missing (htdocs):
Quote:
/htdocs/Templates/Hank's Cabs 2.dwt
and then copy your Templates folder into it. Then see if you can make updates that are read. Don't upload anything to the server yet.

If THAT part works, drag (not save as) and drop your Templates folder back to the proper place within the site structure. Dreamweaver should ask you if you want to update links - say yes.

Again, test it. This should work and if it does, you can Put the corrected pages up on the web.

If it doesn't work, you still have the original problem on your server so Get the files and we'll come up with a new solution :-)

JM

http://www.probizhosting.net
http://www.crucibledesigns.com
Reply With Quote
  #5 (permalink)  
Old 07-10-2005, 09:30 PM
WebProWorld New Member
 
Join Date: Jul 2005
Location: Sitka, Alaska
Posts: 6
mimsymc RepRank 0
Default Dreamweaver: Error accessing file...bad file path

Well, I think progress is being made. I followed your instructions. Now the only file messed up is the index page. It still has

"<html>
<head>
"

greyed out at the top of the page and shows a broken link: /htdocs/Templates/Hank's Cabs 2.dwt

You've done great so far - any ideas on that one??

MM
Reply With Quote
  #6 (permalink)  
Old 07-10-2005, 09:38 PM
WebProWorld New Member
 
Join Date: Jul 2005
Location: Sitka, Alaska
Posts: 6
mimsymc RepRank 0
Default Dreamweaver: Error accessing file...bad file path

On the index page, when I double click the broken link in the links checker, from Instance Begins to Instance Ends gets selected. I checked out, but didn't do, dragging the template in order to drop it onto the index page while this section was still selected. I was interested to note that it looks like it could be done. But is this something I would want to do? I'm assuming not, right?

How do I get that index page to use the right language at the top?

BTW, the index page shows the changes I made in the template. Go figure.

MM
Reply With Quote
  #7 (permalink)  
Old 07-10-2005, 09:43 PM
WebProWorld Pro
 
Join Date: May 2004
Location: anchorage, alaska
Posts: 241
jomariet RepRank 0
Default

As long as you're working locally (so you've got a safe backup on the server), I'd go ahead and try the drag. The worst that can happen is that you'd have to Get the original file from the server. If it does work, you've saved a lot of troubleshooting!

Was your index page open when you were doing the other changes?

And I guess, if the updates are working, is there really a problem leaving it the way it is?

JM

http://www.probizhosting.net
http://www.crucibledesigns.com
Reply With Quote
Reply

  WebProWorld > Site Design > Graphics & Design Discussion Forum

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 03:01 AM.



Search Engine Optimization by vBSEO 3.3.0