|
|
||||||
|
||||||
| Index Link To US Private Messages Archive FAQ RSS | ||||||
| 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
|
||||
|
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
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. |
|
|||
|
Quote:
JM http://www.probizhosting.net http://www.crucibledesigns.com |
|
|||
|
"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 |
|
|||
|
The easy solution is to add the folder that's missing (htdocs):
Quote:
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 |
|
|||
|
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 |
|
|||
|
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 |
|
|||
|
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 |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
|
WebProWorld |
Advertise |
Contact Us |
About |
Forum Rules |
MVP's |
Archive |
Newsletter Archive |
Top |
WebProNews
WebProWorld is an iEntry, Inc. ® site - © 2009 All Rights Reserved Privacy Policy and Legal iEntry, Inc. 2549 Richmond Rd. Lexington KY, 40509 |