jeet_0077 Posted August 24, 2007 Share Posted August 24, 2007 Hello everyone I am trying to use fckeditor but having some problem. Basically I have been using Linux as the OS in the server and Apache version 1.3.37 (Unix) But the fckeditor was not loading when I brows the page. Initially I was getting an error saying that The requested URL /new/admin/fckeditor/editor/fckeditor.html was not found on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. Apache/1.3.37 Server at expacklymondo.abcotech.net Port 80 But editor folder was there in the server but in CAPS and i maded it small letter. Now I am not getting the error but page is showing nothing. Is it something that I have change all the folder names in to small letter due to casesensitiveness of the server if so then it is very difficult as I have no idea how the code is written and eventually I have to go to each and ery file to see that files are caleed and how. Is there is any alternative way please help? Quote Link to comment https://forums.phpfreaks.com/topic/66467-fckeditor-help/ Share on other sites More sharing options...
vijayfreaks Posted August 24, 2007 Share Posted August 24, 2007 Hi.. May I see your code for loading fckEditor? -Vijay Quote Link to comment https://forums.phpfreaks.com/topic/66467-fckeditor-help/#findComment-332794 Share on other sites More sharing options...
jeet_0077 Posted August 24, 2007 Author Share Posted August 24, 2007 Yes here is the code for loading it $sBasePath = "fckeditor/"; <!-- MAIN TEXT--> <tr> <td width="248" height="22" align="right" valign="top" class="content-text">Main Text English : </td> <td width="606" align="left" valign="top" class="top-text"> <?php $oFCKeditor = new FCKeditor('main_txt_eng') ; $oFCKeditor->BasePath = $sBasePath ; $oFCKeditor->ToolbarSet = 'Basic' ; $oFCKeditor->Height="200"; $oFCKeditor->Width="650"; $oFCKeditor->Value = @$_POST['main_txt_eng']; $oFCKeditor->Create() ; ?> </td> </tr> <tr> <td width="248" height="22" align="right" valign="top" class="content-text">Main Text German : </td> <td width="606" align="left" valign="top" class="top-text"> <?php $oFCKeditor = new FCKeditor('main_txt_ger') ; $oFCKeditor->BasePath = $sBasePath ; $oFCKeditor->ToolbarSet = 'Basic' ; $oFCKeditor->Height="200"; $oFCKeditor->Width="650"; $oFCKeditor->Value = @$_POST['main_txt_ger']; $oFCKeditor->Create() ; ?> </td> </tr> <tr> <td width="248" height="22" align="right" valign="top" class="content-text">Main Text Italy : </td> <td width="606" align="left" valign="top" class="top-text"> <?php $oFCKeditor = new FCKeditor('main_txt_it') ; $oFCKeditor->BasePath = $sBasePath ; $oFCKeditor->ToolbarSet = 'Basic' ; $oFCKeditor->Height="200"; $oFCKeditor->Width="650"; $oFCKeditor->Value = @$_POST['main_txt_it']; $oFCKeditor->Create() ; ?> </td> </tr> <tr> <td width="248" height="22" align="right" valign="top" class="content-text">Main Text Espanol : </td> <td width="606" align="left" valign="top" class="top-text"> <?php $oFCKeditor = new FCKeditor('main_txt_esp') ; $oFCKeditor->BasePath = $sBasePath ; $oFCKeditor->ToolbarSet = 'Basic' ; $oFCKeditor->Height="200"; $oFCKeditor->Width="650"; $oFCKeditor->Value = @$_POST['main_txt_esp']; $oFCKeditor->Create() ; ?> </td> </tr> <!-- MAIN TEXT Ends--> Quote Link to comment https://forums.phpfreaks.com/topic/66467-fckeditor-help/#findComment-332796 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.