![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 82 Pomógł: 0 Dołączył: 1.06.2008 Ostrzeżenie: (0%) ![]() ![]() |
Zdecydowałam się na tego cmsa, jednak mam ogromny problem z jego instalacją. Po wrzuceniu pliczkow przez ftp na serwer na stronie pojawia sie taka tresc:
Parse error: syntax error, unexpected ',', expecting '(' in /var/www/sites/yoyo.pl/o/-/o-sobie-samej/index.php on line 121 Co to moze byc i jak to rozwiazac? Juz nie mam pomyslu, szukalam w google, ale nie wiem jak mam ten cms zainstalowac. |
|
|
![]() |
![]()
Post
#2
|
|
Grupa: Zarejestrowani Postów: 1 879 Pomógł: 230 Dołączył: 20.03.2005 Skąd: Będzin Ostrzeżenie: (0%) ![]() ![]() |
Spróbuj zedytować plik index.php
i pokaż co jest w linii 121 (najlepiej 120 do 123) |
|
|
![]()
Post
#3
|
|
Grupa: Zarejestrowani Postów: 82 Pomógł: 0 Dołączył: 1.06.2008 Ostrzeżenie: (0%) ![]() ![]() |
Inaczej sie nie dało, bo to cały kawałek kodu (linia 109-131):
Kod /*!
Reads settings from site.ini and passes them to eZDebug. */ function eZUpdateDebugSettings() { $ini = eZINI::instance(); $settings = array(); list( $settings['debug-enabled'], $settings['debug-by-ip'], $settings['log-only'], $settings['debug-by-user'], $settings['debug-ip-list'], $logList, $settings['debug-user-list'] ) = $ini->variableMulti( 'DebugSettings', array( 'DebugOutput', 'DebugByIP', 'DebugLogOnly', 'DebugByUser', 'DebugIPList', 'AlwaysLog', 'DebugUserIDList' ), array( 'enabled', 'enabled', 'disabled', 'enabled' ) ); $logMap = array( 'notice' => eZDebug::LEVEL_NOTICE, 'warning' => eZDebug::LEVEL_WARNING, 'error' => eZDebug::LEVEL_ERROR, 'debug' => eZDebug::LEVEL_DEBUG ); $settings['always-log'] = array(); foreach ( $logMap as $name => $level ) { $settings['always-log'][$level] = in_array( $name, $logList ); } eZDebug::updateSettings( $settings ); } Ten post edytował Amanda 15.06.2008, 18:32:27 |
|
|
![]() ![]() |
![]() |
Aktualny czas: 24.08.2025 - 19:05 |