PDA

Zobacz pełną wersję : Joomla 1.5.22 strona główna błąd home.pl



skulim
16-02-2011, 14:36
Mam problem z Joomla 1.5.22, zainstalowałem na home.pl w podkatalogu no i nie wiem jak skonfiguować conifiguration.ini żeby mi błąd na głównej nie wyskakiwał:



Warning: session_start() [function.session-start (http://tygodnikpodlaski.pl/tygodnikpodlaski24/function.session-start)]: Cannot send session cache limiter - headers already sent (output started at /tygodnikpodlaski24/configuration.php:1) in /tygodnikpodlaski24/libraries/joomla/session/session.php on line 423

Warning: Cannot modify header information - headers already sent by (output started at /tygodnikpodlaski24/configuration.php:1) in /tygodnikpodlaski24/libraries/joomla/session/session.php on line 426
a to configuration.ini


<?php
class JConfig {
/* Site Settings */
var $offline = '0';
var $offline_message = 'Witryna jest w trakcie prac konserwacyjnych.<br /> Zajrzyj później.';
var $sitename = 'tygodnikpodlaski24.pl';
var $editor = 'tinymce';
var $list_limit = '20';
var $legacy = '0';
/* Debug Settings */
var $debug = '0';
var $debug_lang = '0';
/* Database Settings */
var $dbtype = 'mysql';
var $host = 'localhost';
var $user = 'XXX';
var $password = 'XXX';
var $db = 'XXX';
var $dbprefix = 'jos_';
/* Server Settings */
var $live_site = '/tygodnikpodlaski24/';
var $secret = 'lRUTbU58TCgppj3S';
var $gzip = '0';
var $error_reporting = '-1';
var $helpurl = 'http://help.joomla.org';
var $xmlrpc_server = '0';
var $ftp_host = '127.0.0.1';
var $ftp_port = '21';
var $ftp_user = '';
var $ftp_pass = '';
var $ftp_root = '/tygodnikpodlaski24';
var $ftp_enable = '1';
var $force_ssl = '0';
/* Locale Settings */
var $offset = '0';
var $offset_user = '0';
/* Mail Settings */
var $mailer = 'mail';
var $mailfrom = 'XXX';
var $fromname = 'tygodnikpodlaski24.pl';
var $sendmail = '/usr/sbin/sendmail';
var $smtpauth = '0';
var $smtpsecure = 'none';
var $smtpport = '25';
var $smtpuser = '';
var $smtppass = '';
var $smtphost = 'localhost';
/* Cache Settings */
var $caching = '0';
var $cachetime = '15';
var $cache_handler = 'file';
/* Meta Settings */
var $MetaDesc = 'Joomla! - dynamiczny portal i system obsługi witryny internetowej';
var $MetaKeys = 'joomla, pcj1x5y2z';
var $MetaTitle = '1';
var $MetaAuthor = '1';
/* SEO Settings */
var $sef = '0';
var $sef_rewrite = '0';
var $sef_suffix = '0';
/* Feed Settings */
var $feed_limit = 10;
var $feed_email = 'author';
var $log_path = '/tygodnikpodlaski24/logs';
var $tmp_path = '/tygodnikpodlaski24/tmp';
/* Session Setting */
var $lifetime = '15';
var $session_handler = 'database';
}
?>

palyga007
16-02-2011, 14:45
@skulim
To twój pierwszy post także:
1. Należałoby się przywitać
2. Należałoby sprawdzić czy problem przez Ciebie opisany nie występuje już na tym forum. (A zapewniam Cię, że występuje wielokrotnie.)

Ale żeby nie pisać kolejnego posta który odeśle tylko do google to:

Edytowałeś plik configuration.php przy użyciu programu wstawiającego BOM (np. Notatnik z Windowsa).
Pobierz inny program np. Notepad++ i zapisz ponownie plik configuration.php w kodowaniu UTF-8, ale bez BOM.
To rozwiąże Twój problem.
Co to jest BOM znajdziesz na Wikipedii a Notepad++ jest za darmo do pobrania w wielu lokalizacjach.

//@ppilus
widzę, że też od rana też kompa prawie nie opuszczasz:)

ppilus
16-02-2011, 14:47
Może w ten sposób
http://forum.joomla.pl/showthread.php?22774-Problem-po-instalacji...Cannot-send-session-cookie-headers-already-sent-by...