Luigi
15-07-2010, 14:22
Co jakiś czas mój serwer wykupiony na nazwa.pl wyświetla błąd 500
logi
#25144 14442 0.2 0.1 36492 17212 ? SN 13:03 0:09 | | \_ /usr/local/bin/php5-fcgi.bin /home/mojeserwery/ftp/www_italmeble.pl/index.php
#25144 14486 0.2 0.1 36488 17336 ? SN 13:03 0:08 | | \_ /usr/local/bin/php5-fcgi.bin /home/mojeserwery/ftp/www_italmeble.pl/index.php
#25144 14491 0.2 0.1 36584 17376 ? SN 13:03 0:08 | | \_ /usr/local/bin/php5-fcgi.bin /home/mojeserwery/ftp/www_italmeble.pl/index.php
#25144 14587 0.2 0.1 36524 17256 ? SN 13:03 0:09 | | \_ /usr/local/bin/php5-fcgi.bin /home/mojeserwery/ftp/www_italmeble.pl/index.php
Plik 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'));
Macie pomysł co może być nie tak?:podstep:
Dodam jeszcze co wyświetla konsola błędów w ff
Błąd: Witrynie <http://www.mojeserwery.nazwa.pl> nie udzielono uprawnien do wywolania metody Location.toString na <http://www.italmeble.pl>.
logi
#25144 14442 0.2 0.1 36492 17212 ? SN 13:03 0:09 | | \_ /usr/local/bin/php5-fcgi.bin /home/mojeserwery/ftp/www_italmeble.pl/index.php
#25144 14486 0.2 0.1 36488 17336 ? SN 13:03 0:08 | | \_ /usr/local/bin/php5-fcgi.bin /home/mojeserwery/ftp/www_italmeble.pl/index.php
#25144 14491 0.2 0.1 36584 17376 ? SN 13:03 0:08 | | \_ /usr/local/bin/php5-fcgi.bin /home/mojeserwery/ftp/www_italmeble.pl/index.php
#25144 14587 0.2 0.1 36524 17256 ? SN 13:03 0:09 | | \_ /usr/local/bin/php5-fcgi.bin /home/mojeserwery/ftp/www_italmeble.pl/index.php
Plik 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'));
Macie pomysł co może być nie tak?:podstep:
Dodam jeszcze co wyświetla konsola błędów w ff
Błąd: Witrynie <http://www.mojeserwery.nazwa.pl> nie udzielono uprawnien do wywolania metody Location.toString na <http://www.italmeble.pl>.