Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

PortalWebHosting
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
OnyakTech
 


  Sponsors  

Meet Our Sponsors

SourceGear - Tools for Developers
.: CounterSoft :.
telerik
ExactTarget email software solutions
Merak Mail Server
WebSecureStores -- ASP.NET & DotNetNuke Hosting Solutions
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! ( Pr...  Ftb3 Problem (Image Gallery) - Bug
Previous Previous
 
Next Next
New Post 12/13/2006 7:25 AM
User is offline Stephen O'Brien
26 posts
10th Ranked


Ftb3 Problem (Image Gallery) - Bug 
I am not sure where to put this.

I ran into a frustrating error the other day, after installing DNN 334 on a remote server, the Text/HTML editor was not functioning (in that I could not insert images using the cntrl, I had to write the HTML by hand).  It was looking for the non-existant directory '~s/0'.  I installed the FCK editor in an attempt to resolve the issue and was getting the same issue.

I found a bug posting for a bug in FCK where it calculates the RootDirectory on line 143 of GalleryBase.vb.  I thought I would try and find the bug in the Ftb3HtmlEditorProvider with the same cause.  I found it.

The bug in my case appeared to be caused because my WebDirectory is named 'Portal'.  Therefore, when the code attempted to remove the 'AppName'  from the path it removed all occurences of the word 'Portal'  leaving me with 's/0'.

-----------------Ftb3HtmlEditorProvider.vb------------
Line 139: Return _portalSettings.HomeDirectory.Replace(Common.Globals.ApplicationPath, "")
I changed it to....
Line 139: Return _portalSettings.HomeDirectory.Replace(Common.Globals.ApplicationPath & "/", "/")
---------------------------------------------------------
There appears to be a related bug in the listing of the styles.  Although I have yet to confirm it I believe the issue occurs again on Line 515.

Let me know if I should post this elsewhere,

Stephen O'Brien
 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Extend It! ( Pr...  Ftb3 Problem (Image Gallery) - Bug
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, please observe the following posting guidelines:

1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


Intura Vision / Intura Enterprise
Point-of-Sale and business management applications targeted towards quick service, fast casual and delivery-based restaurant concepts.
www.intura.com
Dnaxp.Net
Dnaxp.Net offers a comprehensive base of information, resources, and support for DotNetNuke.
www.dnaxp.net
DNNMasters - modules, consulting, development
DNNMasters developers are involved in DNN development since DNN 1.0.9 and today we offer a broad range of DNN related products and services including custom development of modules, help with ing third party modules for specific needs, general DNN technical support and administrative services.
www.dnnmasters.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP