PDA

View Full Version : Can't edit page?



Garret Mott
11-Aug-2007, 09:45 AM
Hi -

Please see the attached.

This is a multi-item page & I'm trying to edit one of the item pages.

Mea culpa - I did copy the source, paste it into SOThink's HTML editor &
paste it back to Electos. I'm guessing that's what blew it up.

Any thoughts as to how I can edit again?

TIA

Garret Mott

Auto-Mate Software www.automatesoftware.com
Northeast DataFlex Consortium www.nedataflex.com

Edwin van der Velden
13-Aug-2007, 02:46 AM
You are experiencing this problem in Internet Explorer? From what I can see
on the screenshot it is some character/string that's causing the javascript
to screw up, I have been ale to reproduce something similiar in FireFox
where apparantly adding <script></script> tags in the source breaks it but I
have not been able to get a situation like that in Internet Explorer, so you
may check if you try another browser if you can edit it and remove the
faulty parts.

Other solutions would be to delete/recreate the item or to edit the text in
the database directly. Of course this behavior should not occur and I will
add it to our bug list, if at all possible could you reproduce the code you
saved that's giving the problems and mail it to me so I can try to determine
what is causing the error in your case?

Regards,

Edwin van der Velden
Data Access Europe


"Garret Mott" <Garret_at_AutoMateSoftware_dot_com> wrote in message
news:uQ6RIZC3HHA.6116@dacmail.dataaccess.com...
> Hi -
>
> Please see the attached.
>
> This is a multi-item page & I'm trying to edit one of the item pages.
>
> Mea culpa - I did copy the source, paste it into SOThink's HTML editor &
> paste it back to Electos. I'm guessing that's what blew it up.
>
> Any thoughts as to how I can edit again?
>
> TIA
>
> Garret Mott
>
> Auto-Mate Software www.automatesoftware.com
> Northeast DataFlex Consortium www.nedataflex.com
>
>
>

Garret Mott
13-Aug-2007, 06:54 AM
Hi Edwin -

Yes, this is IE6. There is a script at the end of the page, but it was
there before the edit & problem.

I've sent you the file directly

Thanks!

Garret Mott

Auto-Mate Software www.automatesoftware.com
Northeast DataFlex Consortium www.nedataflex.com

"Edwin van der Velden" <edwin.van.der.velden@dataaccess.nl> wrote in message
news:PwOHL4X3HHA.1728@dacmail.dataaccess.com...
> You are experiencing this problem in Internet Explorer? From what I can
> see on the screenshot it is some character/string that's causing the
> javascript to screw up, I have been ale to reproduce something similiar in
> FireFox where apparantly adding <script></script> tags in the source
> breaks it but I have not been able to get a situation like that in
> Internet Explorer, so you may check if you try another browser if you can
> edit it and remove the faulty parts.
>
> Other solutions would be to delete/recreate the item or to edit the text
> in the database directly. Of course this behavior should not occur and I
> will add it to our bug list, if at all possible could you reproduce the
> code you saved that's giving the problems and mail it to me so I can try
> to determine what is causing the error in your case?
>
> Regards,
>
> Edwin van der Velden
> Data Access Europe
>
>
> "Garret Mott" <Garret_at_AutoMateSoftware_dot_com> wrote in message
> news:uQ6RIZC3HHA.6116@dacmail.dataaccess.com...
>> Hi -
>>
>> Please see the attached.
>>
>> This is a multi-item page & I'm trying to edit one of the item pages.
>>
>> Mea culpa - I did copy the source, paste it into SOThink's HTML editor &
>> paste it back to Electos. I'm guessing that's what blew it up.
>>
>> Any thoughts as to how I can edit again?
>>
>> TIA
>>
>> Garret Mott
>>
>> Auto-Mate Software www.automatesoftware.com
>> Northeast DataFlex Consortium www.nedataflex.com
>>
>>
>>
>
>

Edwin van der Velden
13-Aug-2007, 08:21 AM
Ok, I have tested it a bit and it seems it is caused by the <script> tags,
I've tested it in IE7 and altough it seemed to keep working fine on my first
attempt it did break later on so it probably converts something to make it
break even though the script tags were already in it before the save.

The FCKEditor's method of reading the text content seems to be incapable of
handling <script> tags properly, I've checked but I think even the latest
version of the FCKEditor still has this problem.

I could make fix, or rather workaround for it, but this would require
changes to the Electos source files so this won't be available untill the
next release.

To get it to work for you would require using some kind of workaround. I'm
not sure what the script part does, so depending on which pages you need it
you could decide to hardcode it in the .asp pages instead of putting it in
the content. Another way would be to store it differently and replace the
tags when you obtain the content information on the ASP page (for example,
you could store it as "%3Cscript" and replace "%3Cscript" with "<script"
when you display it on the ASP page, of course it will display as plain text
in the electos editor.

Regards,

Edwin


"Garret Mott" <Garret_at_AutoMateSoftware_dot_com> wrote in message
news:wb8vsGa3HHA.5660@dacmail.dataaccess.com...
> Hi Edwin -
>
> Yes, this is IE6. There is a script at the end of the page, but it was
> there before the edit & problem.
>
> I've sent you the file directly
>
> Thanks!
>
> Garret Mott
>
> Auto-Mate Software www.automatesoftware.com
> Northeast DataFlex Consortium www.nedataflex.com
>
> "Edwin van der Velden" <edwin.van.der.velden@dataaccess.nl> wrote in
> message news:PwOHL4X3HHA.1728@dacmail.dataaccess.com...
>> You are experiencing this problem in Internet Explorer? From what I can
>> see on the screenshot it is some character/string that's causing the
>> javascript to screw up, I have been ale to reproduce something similiar
>> in FireFox where apparantly adding <script></script> tags in the source
>> breaks it but I have not been able to get a situation like that in
>> Internet Explorer, so you may check if you try another browser if you can
>> edit it and remove the faulty parts.
>>
>> Other solutions would be to delete/recreate the item or to edit the text
>> in the database directly. Of course this behavior should not occur and I
>> will add it to our bug list, if at all possible could you reproduce the
>> code you saved that's giving the problems and mail it to me so I can try
>> to determine what is causing the error in your case?
>>
>> Regards,
>>
>> Edwin van der Velden
>> Data Access Europe
>>
>>
>> "Garret Mott" <Garret_at_AutoMateSoftware_dot_com> wrote in message
>> news:uQ6RIZC3HHA.6116@dacmail.dataaccess.com...
>>> Hi -
>>>
>>> Please see the attached.
>>>
>>> This is a multi-item page & I'm trying to edit one of the item pages.
>>>
>>> Mea culpa - I did copy the source, paste it into SOThink's HTML editor &
>>> paste it back to Electos. I'm guessing that's what blew it up.
>>>
>>> Any thoughts as to how I can edit again?
>>>
>>> TIA
>>>
>>> Garret Mott
>>>
>>> Auto-Mate Software www.automatesoftware.com
>>> Northeast DataFlex Consortium www.nedataflex.com
>>>
>>>
>>>
>>
>>
>
>

David Martinko
13-Aug-2007, 08:45 AM
I have been working with some of our clients using IE6 version
6.0.2800.1106. MS reports a lot of bugs in this version which are fixed by
the patch below. You are unable to upgrade to IE7 if you have not installed
XP SP2 or if you are running Win2K. This fix is for IE 6, so you should be
able to install it.

http://www.microsoft.com/downloads/details.aspx?FamilyID=1e1550cb-5e5d-48f5-b02b-20b602228de6&DisplayLang=en

=Dave

"Garret Mott" <Garret_at_AutoMateSoftware_dot_com> wrote in message
news:yUSD6Ab3HHA.4568@dacmail.dataaccess.com...
> Thanks Edwin -
>
>> Ok, I have tested it a bit and it seems it is caused by the <script>
>> tags, I've tested it in IE7 and altough it seemed to keep working fine on
>> my first attempt it did break later on so it probably converts something
>> to make it break even though the script tags were already in it before
>> the save.
>>
>> The FCKEditor's method of reading the text content seems to be incapable
>> of handling <script> tags properly, I've checked but I think even the
>> latest version of the FCKEditor still has this problem.
>>
>> I could make fix, or rather workaround for it, but this would require
>> changes to the Electos source files so this won't be available untill the
>> next release.
>>
>> To get it to work for you would require using some kind of workaround.
>> I'm not sure what the script part does, so depending on which pages you
>> need it you could decide to hardcode it in the .asp pages instead of
>> putting it in the content. Another way would be to store it differently
>> and replace the tags when you obtain the content information on the ASP
>> page (for example, you could store it as "%3Cscript" and replace
>> "%3Cscript" with "<script" when you display it on the ASP page, of course
>> it will display as plain text in the electos editor.
>
> The script is Google Analytics - so nothing is displayed.
>
> So - I guess when pasting, I'll need to keep the script separate - paste
> in my code, save it, & then paste the script code (as the script code was
> originally pasted into the editor (for all pages on the site!).
>
> I'll try playing with it more later & see what I come up with. I'm
> thinking that many folks will be putting scripts on pages (especially this
> one!)
>
> Regards,
>
> Garret Mott
>
> Auto-Mate Software www.automatesoftware.com
> Northeast DataFlex Consortium www.nedataflex.com
>
>

Garret Mott
13-Aug-2007, 08:45 AM
Thanks Edwin -

> Ok, I have tested it a bit and it seems it is caused by the <script> tags,
> I've tested it in IE7 and altough it seemed to keep working fine on my
> first attempt it did break later on so it probably converts something to
> make it break even though the script tags were already in it before the
> save.
>
> The FCKEditor's method of reading the text content seems to be incapable
> of handling <script> tags properly, I've checked but I think even the
> latest version of the FCKEditor still has this problem.
>
> I could make fix, or rather workaround for it, but this would require
> changes to the Electos source files so this won't be available untill the
> next release.
>
> To get it to work for you would require using some kind of workaround. I'm
> not sure what the script part does, so depending on which pages you need
> it you could decide to hardcode it in the .asp pages instead of putting it
> in the content. Another way would be to store it differently and replace
> the tags when you obtain the content information on the ASP page (for
> example, you could store it as "%3Cscript" and replace "%3Cscript" with
> "<script" when you display it on the ASP page, of course it will display
> as plain text in the electos editor.

The script is Google Analytics - so nothing is displayed.

So - I guess when pasting, I'll need to keep the script separate - paste in
my code, save it, & then paste the script code (as the script code was
originally pasted into the editor (for all pages on the site!).

I'll try playing with it more later & see what I come up with. I'm thinking
that many folks will be putting scripts on pages (especially this one!)

Regards,

Garret Mott

Auto-Mate Software www.automatesoftware.com
Northeast DataFlex Consortium www.nedataflex.com