Ver Mensaje Individual
  #1 (permalink)  
Antiguo 04/02/2011, 14:29
Avatar de onesman
onesman
 
Fecha de Ingreso: febrero-2011
Mensajes: 3
Antigüedad: 13 años, 3 meses
Puntos: 0
Parse error: syntax error, unexpected T_REQUIRE

Hola, soy nuevo en el foro y no se si este mensaje va aqui.

Tengo un problema al entrar a mi sitio me dice:

Parse error: syntax error, unexpected T_REQUIRE in line 24.

He buscado en el foro y el error puede ser por no poner ; al final pero veo que si esta puesto.

Cualquier ayuda es agradecida.

Un saludo

Código PHP:
<?php

/**
*** Zen Grid 2.0 Joomla Template Framework is a commercial Joomla template from Joomla Bamboo
*** @author    Joomlabamboo
*** @copyright (C) 2010 by Joomlabamboo
*** @license   Commercial
**/

// no direct access
defined'_JEXEC' ) or die( 'Restricted index access' );

// Non Framework variables
$ribbonText $this->params->get("ribbonText""");

// Javascript that gets loaded for individual templates and are not needed in the framework
$extraTemplateScript "jQuery('#ribbon span').easyRotate({degrees: 45});";
$extraTemplateScripts '<script type="text/JavaScript" src="'.$this->baseurl.'/templates/'.$this->template.'/js/jquery.easyRotate.js"></script>';


$logopath ="templates/$this->template/images/logo";

if(
file_existshome//usr/lib/php:/tmp{'DOCUMENT_ROOT'} . "/usr/local/apache/htdocs/templates/zengridframework/index.php")) :
    
require("templates/zengridframework/index.php");


else :

?>
<body style="background:#f9f9f9">
<div style="width:500px;margin:140px auto;height:70px;background:#fffbcc;padding:20px;border:1px solid #ddd;color:#444;line-height:2em">The template you are attempting to use requires the Zen Grid2 Framework.<br /> Please refer to the Zen Grid2 framework documentation for more information.</div>
</body>
<?php
endif;
?>