Zapisalem sie do mediaplazy(firma sprzedająca dzwonki itp..) sciągnęlem gotową stronę w php przegralem ja na na moja stronę coś musiałem pomieszć pojawia sie ten error:
Cytat
Parse error: parse error, expecting `T_PAAMAYIM_NEKUDOTAYIM' or `'('' in /home/www/top10-dzwonki.info/_config/config.php on line 21
Warning: Cannot modify header information - headers already sent by (output started at /home/www/top10-dzwonki.info/_config/config.php:21) in /home/www/top10-dzwonki.info/index.php on line 3
tak wygląda index.php:
<?php
include '_config/config.php';
header('location:'.$sDefaultLanguage.'/index.php'); ?>
config.php:
<?php
//VHOST : IMPORTANT TO SET
$sVHost = 'szafranq'; // vhost (subdomain)
//OTHER GENERAL SETTINGS
$sPageTitle = 'RapMobile'; // Text
$sTitleOrLogo = 'RapMobile'; // Text or Image (Max. 245x60)
$sDefaultLanguage = 'pl'; // Place your default language here
$sHeaderColor = '1'; // 1 to 20 (Headers preview in \"preview/index.php\")
$sShowHeaderDesign = '1'; // 1 = Show, 0 = Hide
$iShowAdultContent = '1'; // 1 = Show, 0 = Hide
//META TAGS (for referencing)
$sMetaDESCRIPTION = \"Give a new look to your mobile !\";
$sMetaKEYWORDS = \"polyphonic ringtones, polyphonic, ringtones, nokia ringtones, motorola ring
t
nes, ring tones, ringing tones, polyphonic ringtones, poly ringtones, polyphonic
mobile tones, mobile melody, 8110 ringtones, 8210 ringtones, 3210 ringtones, 71
0 ringtones, 3310 ringtones, 6210 ringtones, Alcatel, Bosch, Ericsson, Maxon, Mi
subishi, Motorola, Nec, Nokia, Panasonic, Philips, Sagem, Samsung, Siemens, Sony
Telital, Trium\";
$sMetaOWNER = \"www.top10-dzwonki.info\";
$sMetaAUTHOR = \"Mediaplazza\";
$sMetaURL = \"http://top10-dzwonki.info/index.php\" ;
// ----------------------
// Edit Display settings
// ----------------------
'BackgroundColor' => '#FFA500', // Hexadecimal (#

) or Color Name
//color
'ContentColor' => '#EC780B', // Hexadecimal (#

) 'ContentColorOver' => '#F6A646', // Hexadecimal (#

) or Color Name 'ContentColorText' => '#FFFFFF', // Hexadecimal (#

) 'ContentColorTextOver' => '#FFFFFF', // Hexadecimal (#

) 'HeaderColorText' => '#000000', // Hexadecimal (#

)
//font
'FontText' => 'Tahoma', // The text style (arial, tahoma, verdana, times, helvetica, sans-serif)
//size
'ContentSizeText' => '10', // The size of all non-link text (in pixel)
'MenuSizeText' => '11', // Menu Section : Value in pixels
'HeaderSizeText' => '11', // Titles Section : Value in pixels
'BoxSizeText' => '10', // Search Box Section : Value in pixels
//weight
'ContentWeightText' => 'normal', // All non-link text : normal or bold
'MenuWeightText' => 'normal', // Menu Section : normal or bold
'HeaderWeightText' => 'normal', // Section Titles : normal or bold
);
// ----------------------
// Edit IFRAMES section
// ----------------------
//Not Editable
'BackgroundColor' => str_replace('#','',$aDisplay['ContentColor']), 'PagesFontColor' => str_replace('#','',$aDisplay['ContentColorText']), 'PagesFontColorOver' => str_replace('#','',$aDisplay['ContentColorTextOver']), 'TextFontColor' => str_replace('#','',$aDisplay['ContentColorText']), 'TextFontColorOver' => str_replace('#','',$aDisplay['ContentColorTextOver']), 'FontFamily' => $aDisplay['FontText'],
'IconeColor' => $iIconeColor,
//Editable
'IconeColor' => 8, // 0 to 13 see the readme file for the color chart
'TextFontSize' => '10', // IFRAME Text Font size
'TextFontWeight' => 'normal',// IFRAME Text Font weight
'TextFontDecoOver' => 'underline', // IFRAME Text Decoration while mouseOver (underline or none)
'PagesFontSize' => '10', // IFRAME Page Font size
'PagesFontWeight' => 'normal', // IFRAME Page Font weight
'PagesFontDecoOver' => 'underline', // IFRAME Page Decoration while mouseOver (underline or none)
'RangChar' => '.', // IFRAME item sepsrator
'BorderColor' => '000000', //IFRAME border color
);
?>
Jako jezyk w config.php zaznaczylem pl
Cytat
$sDefaultLanguage= 'pl'
to jest index z katalogu pl
Cytat
<?
$sLanguage = 'pl';
include '../_config/header.php';
?>
/* To bylo nie potrzebne - hwao */
Przepraszam ze az tyle tego nawklejałem ale nie wiem, która informacja jest istotna do rozwiazania tego problemu.

Z góry dziękuje za pomoc..
--
moderowany by hwao