Up Loader issues

Last post 03-21-2011, 9:28 PM by Kenneth. 4 replies.
Sort Posts: Previous Next
  •  03-17-2011, 2:34 PM 66722

    Up Loader issues

    Below is the config being used to evoke the editor:
     
         $editor=new CuteEditor();
         $editor ->ImageGalleryPath = "/images";
         $editor->FlashGalleryPath = "/media";
         $editor->FilesGalleryPath = "/docs";
         $editor->ID="Editor2";
         $editor->Text=$prepage;
         $editor->AutoConfigure="mytools";  
         $editor->EditorBodyStyle="font:normal 12px arial;";
         $editor->EditorWysiwygModeCss="php.css";
         $editor->Height=500;
         $editor->MaxImageSize = 1024;
         $editor->MaxDocumentSize = 8192;
         $editor->MaxFlashSize = 2048;
         $editor->FilesPath="/controls/cuteeditor_files";
         $editor->Draw();
         $editor=null;
     
    Where $prepage is html drawn from a db record.
     
    The editor load correctly, however some dialogs fail:
     
    As an example the image uploader evokes the following error:
     
    Message: Object expected
    Line: 12
    Char: 29
    Code: 0
     
    followed by the URI, which looks like 
     
     
    Dcoument and Flash loader show something similar.  
     
    Open to suggestions.
     
    Thanks!
  •  03-18-2011, 8:16 AM 66739 in reply to 66722

    Re: Up Loader issues

    Dear CGartrell,
     
    Please create one simple example with CuteEditor for PHP, and post its url here or send to eric@cutesoft.net , we will check it.
     
    Thank you for asking
  •  03-18-2011, 8:34 AM 66742 in reply to 66739

    Re: Up Loader issues

    Eric.. to test this out go to:
     
     
    Compare to
     
     
    which is evoked the same way except
     
    $editor->FilesPath="/controls/cuteeditor_files";
     
    is not used.
     
    thanks!
     
    Charles
  •  03-21-2011, 2:07 AM 66767 in reply to 66742

    Re: Up Loader issues

    Hi Cgartrell,
     
    Please try this way
     
    1. Open file "cuteeditor_files\Dialogs\phpuploader\include_phpuploader.php"

    2. Find section below
     
    $cd=dirname($this->GetWebPath(__FILE__));
     
    3. Change to
     
    $cd = "http://www.knarfandkram.com/cuteeditor_files/Dialogs/phpuploader";
     
    If it still not working, please set up ftp access for me and send the information to Kenneth@CuteSoft.net. I will check it and get back to you as soon as possible.
     
    Regards,
     
    Ken
  •  03-21-2011, 9:28 PM 66785 in reply to 66767

    Re: Up Loader issues

    Hi Cgartrell,
    I changed it for you, the site works fine now. Please test it again.
     
    Regards,
     
    Ken
View as RSS news feed in XML