Hello,
I've tried many times and in many ways to upload images but i didn't succeed in.
My web server is apache 1.3.28 with php 4.3.3
My document root $_SERVER['DOCUMENT_ROOT'];
is /home/rigel.biz
I've build the editor with these instructions
$myFCKeditor = new FCKeditor('FCK');
$myFCKeditor->BasePath = '/FCKeditor/';
$myFCKeditor->Width = 460;
$myFCKeditor->Height = 600;
$myFCKeditor->ToolbarSet = 'Default';
$myFCKeditor->Value = $contenuto;
$myFCKeditor->Create() ;
In my fckconfig.js I have
FCKConfig.AutoDetectLanguage = false ;
FCKConfig.DefaultLanguage = 'it' ;
FCKConfig.ContentLangDirection = 'ltr' ;
FCKConfig.LinkBrowser = true ;
FCKConfig.LinkBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Connector=connectors/php/connector.php' ;
FCKConfig.ImageBrowser = true ;
FCKConfig.ImageBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Type=Image&Connector=connectors/php/connector.php' ;
FCKConfig.FlashBrowser = true ;
FCKConfig.FlashBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Type=Flash&Connector=connectors/php/connector.php' ;
FCKConfig.LinkUpload = true ;
FCKConfig.LinkUploadURL = FCKConfig.BasePath + 'filemanager/upload/php/upload.php' ;
FCKConfig.ImageUpload = true ;
FCKConfig.ImageUploadURL = FCKConfig.BasePath + 'filemanager/upload/php/upload.php?Type=Image' ;
FCKConfig.FlashUpload = true ;
FCKConfig.FlashUploadURL = FCKConfig.BasePath + 'filemanager/upload/php/upload.php?Type=Flash' ;
In /FCKeditor/editor/filemanager/browser/default/connectors/php/config.php I have:
// SECURITY: You must explicitelly enable this "connector". (Set it to "true").
$Config['Enabled'] = true ;
// Path to user files relative to the document root.
$Config['UserFilesPath'] = '/UserFiles/' ;
In /FCKeditor/editor/filemanager/upload/php/config.php I have:
// SECURITY: You must explicitelly enable this "uploader".
$Config['Enabled'] = true ;
// Path to uploaded files relative to the document root.
$Config['UserFilesPath'] = '/UserFiles/' ;
In my virtual server root I Have a folder called "UserFiles" with all privileges (chmod 777).
The absolute path of the folder "UserFiles" is /home/rigel.biz/UserFiles.
When I try to upload an image nothing appears... if I try to create a folder with the file manager i have no error messages, but the folder is not created.
Nevertheless I specified italian as preferred language the editor is still in english...
I thank you in advance for your kind cooperation
best regards
Massimo
I've tried many times and in many ways to upload images but i didn't succeed in.
My web server is apache 1.3.28 with php 4.3.3
My document root $_SERVER['DOCUMENT_ROOT'];
is /home/rigel.biz
I've build the editor with these instructions
$myFCKeditor = new FCKeditor('FCK');
$myFCKeditor->BasePath = '/FCKeditor/';
$myFCKeditor->Width = 460;
$myFCKeditor->Height = 600;
$myFCKeditor->ToolbarSet = 'Default';
$myFCKeditor->Value = $contenuto;
$myFCKeditor->Create() ;
In my fckconfig.js I have
FCKConfig.AutoDetectLanguage = false ;
FCKConfig.DefaultLanguage = 'it' ;
FCKConfig.ContentLangDirection = 'ltr' ;
FCKConfig.LinkBrowser = true ;
FCKConfig.LinkBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Connector=connectors/php/connector.php' ;
FCKConfig.ImageBrowser = true ;
FCKConfig.ImageBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Type=Image&Connector=connectors/php/connector.php' ;
FCKConfig.FlashBrowser = true ;
FCKConfig.FlashBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Type=Flash&Connector=connectors/php/connector.php' ;
FCKConfig.LinkUpload = true ;
FCKConfig.LinkUploadURL = FCKConfig.BasePath + 'filemanager/upload/php/upload.php' ;
FCKConfig.ImageUpload = true ;
FCKConfig.ImageUploadURL = FCKConfig.BasePath + 'filemanager/upload/php/upload.php?Type=Image' ;
FCKConfig.FlashUpload = true ;
FCKConfig.FlashUploadURL = FCKConfig.BasePath + 'filemanager/upload/php/upload.php?Type=Flash' ;
In /FCKeditor/editor/filemanager/browser/default/connectors/php/config.php I have:
// SECURITY: You must explicitelly enable this "connector". (Set it to "true").
$Config['Enabled'] = true ;
// Path to user files relative to the document root.
$Config['UserFilesPath'] = '/UserFiles/' ;
In /FCKeditor/editor/filemanager/upload/php/config.php I have:
// SECURITY: You must explicitelly enable this "uploader".
$Config['Enabled'] = true ;
// Path to uploaded files relative to the document root.
$Config['UserFilesPath'] = '/UserFiles/' ;
In my virtual server root I Have a folder called "UserFiles" with all privileges (chmod 777).
The absolute path of the folder "UserFiles" is /home/rigel.biz/UserFiles.
When I try to upload an image nothing appears... if I try to create a folder with the file manager i have no error messages, but the folder is not created.
Nevertheless I specified italian as preferred language the editor is still in english...
I thank you in advance for your kind cooperation
best regards
Massimo