PDA

View Full Version : Electos 3.0 - Filestream error in FCKeditor



BO Lincoln
2-Dec-2006, 10:15 AM
Electos 3.0 Beta - V3.0.8.120

When editing a page inside the Electos Studio that contains images, I get an
error when swapping back from "Source" view.
My script debugger says that the offending line is:

objStream.LoadFromFile sFilePath

The immediate window says that the value of sFilepath is ""

The error seems to be easy for me to re-produce.
Am I doing something improperly or is this a known problem?

-BO Lincoln

Edwin van der Velden
2-Dec-2006, 01:54 PM
I don't seem to be able to reproduce this error on my version or in the
3.0.8.120, a few things you can check to try to figure out what is causing
the problem:

The image url as it is added in the source view of the page, it should look
something like this:
<img border="0"
src="http://localhost/Electos/Include/ElectosFileStreaming.asp?FileId=18"
alt="DF_LG" style="width: 311px; height: 92px;" imageid="@img_18@" />

Check if the fileid matches the id of the image (as mentioned in the image's
tooltip when you hover over it)
And you can try copying the url of that image directly in your browser to
see if that works or not.

Regards,

Edwin van der Velden
Data Access Europe



"David W. Lincoln" <dwl@lincolnsystems.us> wrote in message
news:RKbuGTiFHHA.3896@dacmail.dataaccess.com...
> Electos 3.0 Beta - V3.0.8.120
>
> When editing a page inside the Electos Studio that contains images, I get
> an error when swapping back from "Source" view.
> My script debugger says that the offending line is:
>
> objStream.LoadFromFile sFilePath
>
> The immediate window says that the value of sFilepath is ""
>
> The error seems to be easy for me to re-produce.
> Am I doing something improperly or is this a known problem?
>
> -BO Lincoln
>