Foros del Web » Creando para Internet » Sistemas de gestión de contenidos » Joomla »

Me sale un error Fatal error: Call to undefined function define() in ...

Estas en el tema de Me sale un error Fatal error: Call to undefined function define() in ... en el foro de Joomla en Foros del Web. Me sale este error en mi página Fatal error: Call to undefined function define() in /home/mi_usuario/public_html/index.php on line 15 Este es un fragmento hasta la ...
  #1 (permalink)  
Antiguo 09/10/2010, 09:24
 
Fecha de Ingreso: octubre-2010
Mensajes: 1
Antigüedad: 13 años, 6 meses
Puntos: 0
Me sale un error Fatal error: Call to undefined function define() in ...

Me sale este error en mi página

Fatal error: Call to undefined function define() in /home/mi_usuario/public_html/index.php on line 15

Este es un fragmento hasta la línea 15 de index.php


<?php
/**
* @version $Id: index.php 14401 2010-01-26 14:10:00Z louis $
* @package Joomla
* @copyright Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved.
* @license GNU/GPL, see LICENSE.php
* Joomla! is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.
* See COPYRIGHT.php for copyright notices and details.
*/

// Set flag that this is a parent file
define( '_JEXEC', 1 );


No tengo experiencia en PHP, pero según el error esta función no está definida.

Dónde la busco o qué hago?
  #2 (permalink)  
Antiguo 09/10/2010, 13:59
 
Fecha de Ingreso: agosto-2010
Ubicación: Detrás de Tí
Mensajes: 162
Antigüedad: 13 años, 8 meses
Puntos: 3
Respuesta: Me sale un error Fatal error: Call to undefined function define() in ...

Pues parece que es un error a la hora de conectar a la base de datos ya que la declaración no parece estar correcta. Trata entrado al editor de plantillas desde el panel de admin de joomla y cambia el html del index.php dejándolo así en la última linea (linea 15)

Código PHP:
defined'_JEXEC' ) or die( 'Restricted access' ); 

Etiquetas: call, fatal, function, sale, undefined
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 18:32.