Hello all,
I'm currently busy with writing a Zend_Form_Element Component for using Cute Editor in a Zend Framework project.
The editor works great without setting the images, media, flash, files and templates directory and points to the Uploads and Templates directory which i created in the root of my Virtual Host. But when i set the directory's programmatically i get the
"The area you are attempting to access is forbidden" error message.
I used the code you can see below to set the directory's that i want to use, hopefully someone knows how i can solve this problem.
-
$ImageGalleryPath = '/Uploads/images';
-
$FlashGalleryPath = '/Uploads/flash';
-
$MediaGalleryPath = '/Uploads/media';
-
$FilesGalleryPath = '/Uploads/files';
-
$TemplateGalleryPath = '/templates';
-
-
$editor->ImageGalleryPath = $ImageGalleryPath;
-
$editor->FlashGalleryPath = $FlashGalleryPath;
-
$editor->MediaGalleryPath = $MediaGalleryPath;
-
$editor->FilesGalleryPath = $FilesGalleryPath;
-
$editor->TemplateGalleryPath = $TemplateGalleryPath;
Thanks in advance,
Regards Emile