Opened 12 years ago

Closed 12 years ago

#9142 closed Bug (invalid)

CKeditor not showing/working in Firefox 13.0

Reported by: maxt Owned by:
Priority: Normal Milestone:
Component: General Version:
Keywords: Cc:

Description

Hi I am new to ckeditor. I just tried to integrate CKeditor with a php program .I have 2 links in my webpage viz.- "About Us" or "Contact Us" link which on clicking will allow to edit the text in the respective textarea.I am using MySQL as db & Firefox 13 as well as Internet Explorer 8 as browsers. But neither of the browsers are showing the CKeditor except the textarea when I click on "About Us" or "Contact Us" link!! Here is the PHP MySQL script-

<?php
session_start();
include "lib/conn.php";
include "lib/chk.php";
if($_POST["edit_page"])
        {
                $sql="update `page` set `detail`='$_POST[add]' where `page_name`='$_POST[edit_page]'";
                mysql_query($sql);
                $_GET['page']=$_POST['edit_page'];
        }
include "lib/style1.php";
include "lib/menu.php";
include "lib/leftmenu.php";
?>
 <script type="text/javascript" src="ckeditor_source.js"></script> 
 
            <?php
                        $sq="select * from `page` where `page_name`='$_GET[page]'";
                        $res=mysql_query($sq);
                        while($rw=mysql_fetch_array($res))
                        {
                ?>
                         <FORM METHOD=POST ACTION="edit.php" name="f1">
                        
                <INPUT TYPE="hidden" NAME="edit_page" value="<?php echo $_GET[page];?>">
                <TEXTAREA NAME="add" ROWS="5" COLS="20">
                <?php echo $rw[detail];?>
                </TEXTAREA>
                <BR>
                 <INPUT TYPE="submit" name="ed" value="edit">
     <?php
                }
        ?>
        
        </FORM>
<?php
include_once"ckeditor/ckeditor.php";
$CKEditor=new CKEditor();
$CKEditor->basePath='ckeditor/';
$CKEditor->replace("add");
?>

I have page saved in this path "htdocs/www/one" where 'one' is the folder name containing the CKeditor. Also,I have unzipped the latest CKeditor. Please tell me what extra script I have to add to the above code? I am a complete novice in this field. I will be greatly obliged if anyone can kindly throw some light on these!! :-)

Change History (1)

comment:1 Changed 12 years ago by Jakub Ś

Resolution: invalid
Status: newclosed

Please note that the CKEditor development website is not the right place for support requests.

Please refer to the following article for information on where to get support for all issues related to CKEditor: http://docs.cksource.com/CKEditor_3.x/Howto/Support

Also try using our forums for advice: http://cksource.com/forums/

If you are looking for professional assistance, the CKEditor development team is available via a dedicated support channel that is included in all our commercial licenses: http://ckeditor.com/license


  1. Please check also samples located in /ckeditor/_samples/php folder.
  2. Paths to files might be invalid - have you tried checking Firebug console tab for 404 errors?
  3. Have you tried looking server-side logs for errors?
  4. $CKEditor->basePath this is the relative path to ckeditor folder. It should be calculated from the location of this code to the editor folder.
Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy