path issue

Last post 09-26-2011, 4:38 PM by Kenneth. 1 replies.
Sort Posts: Previous Next
  •  09-23-2011, 1:35 AM 70165

    path issue

    hi
    I have two cute editors, one of them is readonly. when I set the ImageGalleryPath for editor with readonly false it gives following error
    The area you are attempting to access is forbidden 
    my code is
    $editor->ImageGalleryPath = "/projectRoot/resources/Users/"; 
     
    event there is no any permission issue on folders and physical path is correct. My OS is windows XP;
  •  09-26-2011, 4:38 PM 70208 in reply to 70165

    Re: path issue

    Hi JavedBoqo ,
     
    If remove the setting, does it work?
     
    If you ensure that the location and permission correct. Please try the way below
     
    1.    Open file “\cuteeditor_files\Dialogs\Include_Security.php”

    2.    Find section below and delete/comment it

        if ($CESecurity=="")
        {
            print "The area you are attempting to access is forbidden";
            exit();
        }    
      if ($CESecurity!=$_SESSION['CESecurity'])
        {
            print "The area you are attempting to access is forbidden";
            exit();
        }
     
    Regards,
     
    Ken
View as RSS news feed in XML