Re: Image Path

  •  10-22-2007, 10:11 AM

    Re: Image Path

    I'm using the file in the official zip, without any changes. There is a folder named "Uploads" in which there are some files. The code in the index.php file is:
     
                $editor=new CuteEditor();
                $editor->ID="Editor1";
                $editor->Text="Type here";
                $editor->EditorBodyStyle="font:normal 12px arial;";
                $editor->EditorWysiwygModeCss="php.css";
                $editor->FilesPath="CuteEditor_Files";
                $editor->Draw();
                $editor=null;
     
    In the Configuration/Security folder, the config files are like that
     
    ...
     <security name="ImageGalleryPath">/Uploads</security>
     <security name="MediaGalleryPath">/Uploads</security>
     <security name="FlashGalleryPath">/Uploads</security>
     <security name="TemplateGalleryPath">/Templates</security>
     <security name="FilesGalleryPath">/Uploads</security>
     <security name="AllowUpload">true</security>
     <security name="AllowCreateFolder">true</security>
     <security name="AllowRename">true</security>
     <security name="AllowDelete">true</security>
    ...
     
    So, everything seems correct, but it doesn't work.
     
    Thi is my webserver configuration:
     
    Of course, the "D:/xampp/xampp/htdocs/Uploads" doesn't exists. The correct one should be "D:/xampp/xampp/htdocs/TEST/CuteEditor_PHP_6_0_7__2007/Uploads"
     
    So, I'm using relative paths, but something is wrong
     
    Tom
View Complete Thread