La cosa es que me visualiza bien en los textareas pero me lanza el siguiente error al principio de la pagina formulario donde se encuentra insertado el fckeditor
Strict Standards: Redefining already defined constructor for class FCKeditor in C:\AppServ\www\NoticiasDinamicas\FCKeditor\fckeditor.php on line 48[/b]
lo curioso es que no creo que el error este en el archivo del mismo programa... sino en el mio... y no lo encuentro..
adjunto las lineas del fckeditor en cuestion y las lineas donde yo inserte el fckeditor
[b]
Fckeditor.php
Código PHP :
class FCKeditor
{
var $InstanceName ;
var $BasePath ;
var $Width ;
var $Height ;
var $ToolbarSet ;
var $Value ;
var $Config ;
// PHP 5 Constructor (by Marcus Bointon <[email protected]>)
function __construct( $instanceName )
{
$this->InstanceName = $instanceName ;
$this->BasePath = '/fckeditor/' ;
$this->Width = '100%' ;
$this->Height = '200' ;
$this->ToolbarSet = 'Default' ;
$this->Value = '' ;
$this->Config = array() ;
}
// PHP 4 Contructor
function FCKeditor( $instanceName )
{
$this->__construct( $instanceName ) ;
}subirnoticia.php
Código PHP :
<form action="ingresoendb.php" method="post" enctype="multipart/form-data" name="form1" id="form1">
<table width="300" border="0" align="center" cellpadding="10" cellspacing="0">
<tr>
<td>Titulo:</td>
<td><label>
<input name="titulo" type="text" id="titulo" size="45" />
</label></td>
</tr>
<tr>
<td>Imagen:</td>
<td><label>
<input type="file" name="imagen" id="imagen" />
</label></td>
</tr>
<tr>
<td>Bajada de Titulo:</td>
<td><?php
// Creamos El Area de Texto description_art
$oFCKeditor = new FCKeditor('bajada') ; // es el id y name del campo de texto
$oFCKeditor->BasePath = './fckeditor/'; // ruta al script fckeditor
$oFCKeditor->Width = '700' ; // ancho del formulario
$oFCKeditor->Height = '500' ; // alto del formulario
$oFCKeditor->Create() ; // ordena se cree el textarea
?>
</td>
</tr>
<tr>
<td>Desarrollo:</td>
<td><?php
// Creamos El Area de Texto description_art
$oFCKeditor = new FCKeditor('desarrollo') ; // es el id y name del campo de texto
$oFCKeditor->BasePath = './fckeditor/'; // ruta al script fckeditor
$oFCKeditor->Width = '700' ; // ancho del formulario
$oFCKeditor->Height = '500' ; // alto del formulario
$oFCKeditor->Create() ; // ordena se cree el textarea
?></td>
</tr>
<tr>
<td> </td>
<td><label>
<input type="submit" name="button" id="button" value="Enviar" />
</label></td>
</tr>
</table>
</form> 