Jump to content

Recommended Posts

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?

 

 

Link to comment
https://forums.phpfreaks.com/topic/66467-fckeditor-help/
Share on other sites

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-->

 

Link to comment
https://forums.phpfreaks.com/topic/66467-fckeditor-help/#findComment-332796
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.