Error inserting picture with FCKEditor on 7.0.3

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
User avatar
AbleMods
Master Yoda
Master Yoda
Posts: 5170
Joined: Wed Sep 26, 2007 5:47 am
Location: Fort Myers, Florida USA

Error inserting picture with FCKEditor on 7.0.3

Post by AbleMods » Fri Jun 18, 2010 9:32 am

I can't insert pictures when using the FCKEditor html editor in my 7.0.3 install. I open the editor, click the insert picture button and then hit "Browse" to pick the image from the server files. Tried searching the forums but couldn't find anything on it...any thoughts on how to fix?

It keeps throwing this error:
Capture.JPG
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: Error inserting picture with FCKEditor on 7.0.3

Post by mazhar » Fri Jun 18, 2010 9:59 am

I am not sure about version but there was at least one issue I corrected in forums. See following threads, is this something related
viewtopic.php?f=42&t=8902

User avatar
AbleMods
Master Yoda
Master Yoda
Posts: 5170
Joined: Wed Sep 26, 2007 5:47 am
Location: Fort Myers, Florida USA

Re: Error inserting picture with FCKEditor on 7.0.3

Post by AbleMods » Fri Jun 18, 2010 11:35 am

Tried the replacement config.ascx but didn't work. Any other posts? I couldn't find much on it....

Bouncing my web server now but doubtful that'll change anything.
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com

User avatar
AbleMods
Master Yoda
Master Yoda
Posts: 5170
Joined: Wed Sep 26, 2007 5:47 am
Location: Fort Myers, Florida USA

Re: Error inserting picture with FCKEditor on 7.0.3

Post by AbleMods » Mon Jun 21, 2010 7:13 am

Ok I fixed it. The original problem occurs when clicking the Browse Server button after trying to insert an image using the HTML Editor. The server would response with an HTTP Ok 200 status popup window but no server-side folders would be displayed.

What I figured out is that clicking the "Browse Server" button is forcing HTTPS connections to the server. Not sure where that is in the fckeditor config file because I don't know how FCKEditor manages its own configuration.

But by editing the ~/App_Data/AbleCommerce.config and adding FCKEditor the list of directories that allow SSL, the problem is resolved.

Here's a snippet for what the AbleCommerce.config file should look like with this addition:

Code: Select all

  <securePages enabled="true" ignoreHandlers="WithStandardExtensions">
    <directories>
      <add path="Admin" recurse="true" />
      <add path="Members" recurse="true" />
      <add path="Checkout" recurse="true" />
      <add path="fckeditor" recurse="true" />
    </directories>
    <files>
      <add path="Login.aspx" />
      <add path="Members/MyWishlist.aspx" state="Off" />
      <add path="Members/SendMyWishlist.aspx" state="Off" />
      <add path="Admin/Utility/EditHtml.aspx" state="Ignore" />
    </files>
  </securePages>
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com

Post Reply