The ucenter fckeditor is blank. how can this problem be solved?
Source: Internet
Author: User
About adding fckeditor to ucenter, blank ucenter directory structure. the root directory contains the Template directory in admin & nbsp; tpl // admin & nbsp; admincp_gamenews.php // introduce fckeditor. about adding fckeditor to ucenter, there is a blank space.
The ucenter directory structure has
Admin
Template directory in tpl // admin
Admincp_gamenews.php // introduce the fckeditor Directory. the reference code will be posted below.
Fckeditor // fckeditor Directory
Fckeditor. php
The following code references the fckeditor in admincp_gamenews.php:
Define ('s _ ROOT ', dirname (_ FILE _). DIRECTORY_SEPARATOR); // located in the common. php FILE
Include_once (S_ROOT. '/fckeditor. php'); // load the FCKeditor file
$ OFCKeditor = new FCKeditor ('cremer '); // Create a FCKeditor object whose ID is FCKeditor1
$ OFCKeditor-> BasePath = S_ROOT. '/fckeditor/'; // you can specify the FCKeditor path.
$ OFCKeditor-> Valude = 'This is a default content'; // you can specify the default value.
// Tool button settings
$ OFCkeditor-> ToolbarSet = 'default ';
// Set its width
$ OFCKeditor-> Width = '838px ';
// Set its height
$ OFCKeditor-> Height = '300px ';
$ Fck = $ oFCKeditor-> CreateHtml ();
After the template is introduced, the height of firefox cannot open the program address. fckeditor should have been blank, and so did IE. is the reference path incorrect? If so, how should we introduce it?
------ Solution --------------------
I also have this problem. I don't know how to solve it.
------ Solution --------------------
Take a look at the apache error log
$ OFCKeditor: print this object. if this object exists, it indicates that the file is introduced.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service