tot25 Posted May 15, 2008 Posted May 15, 2008 (edited) Hello, I`m new and full with enthusiasm :rolleyes: When I install fckeditor the result is blank page when I try to open the admin page. Where can be the problem if you have any idea please tell me. PS. This is my first contribution install :blush: Edited May 15, 2008 by tot25 Quote
tot25 Posted May 15, 2008 Author Posted May 15, 2008 Hi again. The problem is in html_output.php this is it: 1. <?php /* $Id: html_output.php,v 1.29 2003/06/25 20:32:44 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2003 osCommerce Released under the GNU General Public License */ require("fckeditor/fckeditor.php"); //// // The HTML href link wrapper function function tep_href_link($page = '', $parameters = '', $connection = 'NONSSL') { 2. //// // Output a form textarea field function tep_draw_textarea_field($name, $wrap, $width, $height, $text = '', $parameters = '', $reinsert_value = true) { $field = '<textarea name="' . tep_output_string($name) . '" wrap="' . tep_output_string($wrap) . '" cols="' . tep_output_string($width) . '" rows="' . tep_output_string($height) . '"'; if (tep_not_null($parameters)) $field .= ' ' . $parameters; $field .= '>'; if ( (isset($GLOBALS[$name])) && ($reinsert_value == true) ) { $field .= tep_output_string_protected(stripslashes($GLOBALS[$name])); } elseif (tep_not_null($text)) { $field .= tep_output_string_protected($text); } $field .= '</textarea>'; return $field; } //// // Output a form textarea field w/ fckeditor function tep_draw_fckeditor($name, $width, $height, $text) { $oFCKeditor = new FCKeditor($name); $oFCKeditor -> Width = $width; $oFCKeditor -> Height = $height; $oFCKeditor -> BasePath = 'fckeditor/'; $oFCKeditor -> Value = $text; $field = $oFCKeditor->Create($name); return $field; } //// // Output a form hidden field function tep_draw_hidden_field($name, ............................................... If you see something not correct please tell me. Thanks in advance. Quote
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.
Note: Your post will require moderator approval before it will be visible.