HighDots Forums  

Re: Molasses

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Re: Molasses in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Jamie T webforumsuser@macromedia.com
 
Posts: n/a

Default Re: Molasses - 12-25-2003 , 12:01 PM






Yes, I noticed all of that repetition, which you've removed. Now I should copy your code into the code view to replace the demented code that is in there, right?

If that is the case, I think I'll be able to fix all of the other pages (yes, they've all got the same trash) without major damage. I'll look at the code and remove what you removed, right? I hope I don't have to recreate the whole thing.

Don't worry about being held responsible for anything - I appreciate your help. This is going to take ages to fix, and I don't want to do it again, so I'm curious what I did wrong.

1. On this site I had to make a great many changes to accomodate the owners, including some javascript with show/hide layers and swapImgRestore which was subsequently removed, although it was never supposed to be in there hundreds of times. Once I had the page format they liked I did "save as" to create all of the other pages. Not a template per se. Unfortunately it seems as if somewhere along the way I got something sick in the code, and duplicated it on all of the pages. Does that make sense?

2. Also - I got a perl script for form handling from the web host the site owners insisted on, and wondered if that could be where this insanity came from.

3. Could it be a virus? I'd point out that at this point my other websites are not affected. I am on a mac which is less susceptible I know, but anything is possible, I guess.

Any further thoughts?



Reply With Quote
  #2  
Old   
Alan Ames _TMM_
 
Posts: n/a

Default Re: Molasses - 12-25-2003 , 12:42 PM






doubt it's a virus- and nothing about the Perl script would munge these
files in this manner as far as i know.

I'm guessing something happened when removing the show/hide layers stuff
perhaps, like deleting only part of a script function by hand, or similar.
Or the opening <script and commenting out <-- block got messed up, and dw
added a new set of js functions every time something in the page was edited-
because dw didn't recognize the functions were already there maybe.

there were 113 instances of some functions, and over 200 of some others.

the brute force method i used was to copy a function to clipboard-- then do
a find and replace on it- replacing with nothing. That striped all of that
function out. Then i pasted from clipboard to source- that put one copy of
the function back in. Then i stripped the extra linefeeds, and sorted out
the <script and <-- comment sections.

happy holidays-

Quote:
2. Also - I got a perl script for form handling from the web host the site
owners insisted on, and wondered if that could be where this insanity came
from.

3. Could it be a virus? I'd point out that at this point my other websites are
not affected. I am on a mac which is less susceptible I know, but anything is
possible, I guess.

Any further thoughts?
--
Team Macromedia Volunteer for Dreamweaver
Certified Dreamweaver MX Developer

yes, it's a real email address- but it's filtered to trash



Reply With Quote
  #3  
Old   
Jamie T webforumsuser@macromedia.com
 
Posts: n/a

Default Re: Molasses - 12-25-2003 , 02:43 PM



Thanks, Alan.

That's a good technique in case insanity recurrs. You've made my Christmas!

Jamie T.



Reply With Quote
Reply




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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.