ConfigurationPath - Confusion

Last post 07-11-2005, 5:17 PM by Adam. 11 replies.
Sort Posts: Previous Next
  •  07-07-2005, 11:07 AM 8456

    ConfigurationPath - Confusion

    I made a toolbar configuration file that worked great on my localhost. It breaks things when I try to apply it to my remote production server.
     
    Here's what I know...
    • I put my config file in the project's root directory.
    • my editor tag goes: <CE:Editor id="csJdesc" AutoConfigure="None" ConfigurationPath="~/CFE.config" ...etc
    • My browser indicates a javascript error, the editor box appears, but with no buttons at all.
    • When I 'view source' I find ..."configurationpath":"M:\web\users\V015U33LIP\html\CARMA\CFE.config"... which is (I think) correct - assuming you should really be seeing a physical path here
    • I've also tried using one of the autoconfig files (as in: ConfigurationPath="~/Simple.config") to assure my self that my config file wasn't broken, but got the same result.
    Here's what I don't know
    • what's happening?
    On another branch of the same topic, I considered putting my config file in the autoconfig folder, but I don't know how to get it on the autoconfig enumeration list.

    Any solutions for either of these?

    Thanks
     
    DOug
     
    ps: If I can get this to work, I can see it's going to be AWESOME!
  •  07-07-2005, 2:36 PM 8479 in reply to 8456

    Re: ConfigurationPath - Confusion

    DOug,
     
    Where did you put the configuration file?
     
    Is it in the ~/CuteSoft_Client/CuteEditor/Configuration/AutoConfigure folder?

    Can you try the following code:

    <CE:Editor id="Editor1" ConfigurationPath="~/CuteSoft_Client/CuteEditor/Configuration/AutoConfigure/CFE.config" runat="server" ></CE:Editor>

     Keep me posted
     

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  07-07-2005, 3:21 PM 8483 in reply to 8479

    Re: ConfigurationPath - Confusion

    As I said, I had put the config file in the project root, among lots of other places including the autoconfigure folder.
     
    I tried the autoconfigure folder again, and used the code you sent (except that the id is different) and got the same unhappy result.
     
    :-(
     
    DOug
  •  07-07-2005, 3:33 PM 8485 in reply to 8479

    Re: ConfigurationPath - Confusion

    Rats!
     
    Doug blushes!
    Operator error .... as usual. 
    Doug forgot to post his config file to the server.
    Doug apologises and tries to quietly slip away.....
     
    Thanks
     
    Doug
  •  07-07-2005, 4:54 PM 8496 in reply to 8479

    Re: ConfigurationPath - Confusion

    Ah, but wait ... there's still a glitch.
     
    I keep getting a javascript error whenever I do a ConfigurationPath="whatever.config". My custom toolbar setup shows this, but it's also true of all the files in my autoconfig folder.
     
    So if, for example, I say AutoConfigure="Full", everything works, but if I say ConfigurationPath="~/CuteSoft_Client/CuteEditor/Configuration/AutoConfigure/Full.config", I get the error.
     
    I see the correct buttons, but the editor is non-functional.

    Thanks

    DOug
     
     
  •  07-07-2005, 10:15 PM 8500 in reply to 8496

    Re: ConfigurationPath - Confusion

    Doug,
     
    Can you try the following code:
     
    <CE:Editor ConfigurationPath="~/CuteSoft_Client/CuteEditor/Configuration/AutoConfigure/Simple.config" id="Editor1" runat="server" ></CE:Editor>

    Keep me posted.
     
     

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  07-07-2005, 10:49 PM 8502 in reply to 8500

    Re: ConfigurationPath - Confusion

    I got the simple menu buttons, but the same error.
    I'll email you the URL and you can try it yourself.
     
    I'm also going to try another experiment - to rename my config file as simple.config and see if it doesn't work using autoconfig="simple.config"
     
    DOug
  •  07-08-2005, 12:21 AM 8504 in reply to 8500

    Re: ConfigurationPath - Confusion

    I tried my other experiment - I took my custom config file, renamed it to simple.config, put it in the autoconfig folder, and it WORKED!!!
     
    So, it seems there was/is something wierd about the ConfigurationPath command. The javascript error muttered about expecting a hex value around character value threehundred and something in the line generating the editor.

    I'm still interested in knowing how to add new files to the AutoConfig enumeration list - so I can add my evil stuff without trashing the 'normal' ones.
     
    Thanks again 

    time for bed.... 
     
    Doug
  •  07-08-2005, 12:38 PM 8522 in reply to 8504

    Re: ConfigurationPath - Confusion

    Doug,
     
    >>I tried my other experiment - I took my custom config file, renamed it to simple.config, put it in the autoconfig folder, and it WORKED!!!
     
    It's very strange.
     
    Can you try the sample.config file?
     
    <CE:Editor ConfigurationPath="~/CuteSoft_Client/CuteEditor/Configuration/AutoConfigure/Sample.config" id="Editor1" runat="server" ></CE:Editor>

    I thought your configuration file may have problems.  But I can't figure out why it worked after you rename the file.
     
    >>I'm still interested in knowing how to add new files to the AutoConfig enumeration list - so I can add my evil stuff without trashing the 'normal' ones.

    This feature is not supported now.  Sorry for the inconvenience. I suggest you backup the exisiting configuration files first then just edit the existing configuration files.



     

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  07-08-2005, 2:38 PM 8528 in reply to 8522

    Re: ConfigurationPath - Confusion

    It's not the renaming.
     
    If I use ConfigurationPath="~/CuteSoft_Client/CuteEditor/Configuration/AutoConfigure/Simple.config" I get the error
     
    but if say AutoConfigure="Simple" it works.
     
    Also, the ConfigurationPath code works on my localhost, but not when I'm using my remote production server.

    Same file - go figure.
     
    I am proceeding with your cunning plan to use the existing autoconfig files.
     
    Thanks again

    DOug
     
  •  07-11-2005, 5:05 PM 8590 in reply to 8522

    Re: ConfigurationPath - Confusion

    Hi Adam

    I know, I must seem like a puppy that won't go away, but....
     
    I have discovered that my configuration problem only occurs in my IE6 browser. Firefox works properly.
     
    To recap the issue,  when I use autoconfigure="whatever" it works.
    If I use ConfigurationPath="/here/there/whatever.config" it works in Firefox, and gives me the following error in IE6


    and the instance editor doesn't work.
     
    My clients, of course, are IE people won't be switching to Moilla for my benefit.

    That said, This is a fantastic product! I just downloaded v4.5.0.1 and a whole whack of difficulties I'd been having with links and paths just vanished.

    Thanks again.

    DOug

     
  •  07-11-2005, 5:17 PM 8591 in reply to 8590

    Re: ConfigurationPath - Confusion

    DOug,

    Are you sure the link you sent to me through the email has been uprgaded to the version 4.5.0.1?

    Can you send your site FTP access information to me through the email as well?

     

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

View as RSS news feed in XML