iBPlanet.pl

Witaj Gościu ( Zaloguj | Rejestruj )

 
Closed TopicStart new topic
> błąd forum przy odinstalowaniu portalu
joker666
post pią, 04 maj 2007 - 12:01
Post #1


Stara się
*

Grupa: Użytkownicy
Postów: 14
Dołączył: czw, 16 lut 06




Witam !
chcialem odinstalowac unreal portal na mojim forum wiec w pliku index.php usunolem wszystkie zmiany ktore przeprowadzilem ...
ale po tym ukazal mi sie taki blad

Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /home/mwteam/domains/warezfactory.pl/public_html/forum/index.php on line 151


znowu przywrocilem portal tak jak bylo ale jest ten sam blad sad.gif

prosze o pilna pomoc !!

pozdrawiam


--------------------
Go to the top of the page
 
+Quote Post
Phoenix
post pią, 04 maj 2007 - 12:12
Post #2


Ekspert
****

Grupa: VIP'y
Postów: 387
Dołączył: sob, 17 gru 05
Skąd: pokój
Korzystam z Nie wiem




Błąd typowo składniowy,
daj tutaj tę linijkę

Pzdr.


--------------------
-----------------------------------------------------------------------------------------
IBPlanet.pl - Polski Support IPB, Invision Power Board, spolszczenie, mody
-----------------------------------------------------------------------------------------
Go to the top of the page
 
+Quote Post
joker666
post pią, 04 maj 2007 - 12:22
Post #3


Stara się
*

Grupa: Użytkownicy
Postów: 14
Dołączył: czw, 16 lut 06




Kod
'uportal'    => array( 'uportal'         , 'uportal'    , array('uportal_blocks', 'uportal_settings', 'uportal_custblocks', 'uportal_content', 'birthdays', 'calendar','emoticons','bbcode','badwords','attachtypes' ) ),
                 t', 'birthdays', 'calendar','emoticons','bbcode','badwords','attachtypes' ) ),  // 151
                 "xmlout"     => array( "xmlout"             , 'xmlout'       , array('attachtypes','multimod','bbcode','ranks','profilefields' ) ),



pogrubiona linijka jest srodkowa

Ten post edytował Phoenix pią, 04 maj 2007 - 13:16
Powód edycji: Kod wstawiamy między znaczniki [code]


--------------------
Go to the top of the page
 
+Quote Post
Phoenix
post pią, 04 maj 2007 - 12:28
Post #4


Ekspert
****

Grupa: VIP'y
Postów: 387
Dołączył: sob, 17 gru 05
Skąd: pokój
Korzystam z Nie wiem




Lepiej już tego ująć nie mogłeś, pełno tych tablic wielowymiarowych unsure.gif

Spróbuj zamienić tę linijkę na:
Kod
't', 'birthdays', 'calendar','emoticons','bbcode','badwords','attachtypes' ),

Jeśli wyskoczy inny wklej go tutaj ponownie smile.gif

Pzdr.


--------------------
-----------------------------------------------------------------------------------------
IBPlanet.pl - Polski Support IPB, Invision Power Board, spolszczenie, mody
-----------------------------------------------------------------------------------------
Go to the top of the page
 
+Quote Post
joker666
post pią, 04 maj 2007 - 12:32
Post #5


Stara się
*

Grupa: Użytkownicy
Postów: 14
Dołączył: czw, 16 lut 06




Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/mwteam/domains/warezfactory.pl/public_html/forum/index.php on line 152


czyli linijke dalej jest blad sad.gif


--------------------
Go to the top of the page
 
+Quote Post
Phoenix
post pią, 04 maj 2007 - 13:14
Post #6


Ekspert
****

Grupa: VIP'y
Postów: 387
Dołączył: sob, 17 gru 05
Skąd: pokój
Korzystam z Nie wiem




Uuuu... jakoże nie chciałem zaśmiecać twojego kodu komentami '// 151', pociągnąłem kursor od lewej do prawej, aż do zamknięcia nawiasu i nie zaznaczył sie przecinek wink.gif
Edytowałem posta, daltego zamień tę linię na widniejącą powyżej wink.gif

Pzdr.


--------------------
-----------------------------------------------------------------------------------------
IBPlanet.pl - Polski Support IPB, Invision Power Board, spolszczenie, mody
-----------------------------------------------------------------------------------------
Go to the top of the page
 
+Quote Post
joker666
post pią, 04 maj 2007 - 13:18
Post #7


Stara się
*

Grupa: Użytkownicy
Postów: 14
Dołączył: czw, 16 lut 06




jak to poprawilem to kolejny blad :|

Parse error: syntax error, unexpected ',' in /home/mwteam/domains/warezfactory.pl/public_html/forum/index.php on line 151

kurcze moze wkleje Ci wiecej linijek kodu ??


--------------------
Go to the top of the page
 
+Quote Post
Phoenix
post pią, 04 maj 2007 - 13:22
Post #8


Ekspert
****

Grupa: VIP'y
Postów: 387
Dołączył: sob, 17 gru 05
Skąd: pokój
Korzystam z Nie wiem




Cytat(joker666 @ pią, 04 maj 2007 - 14:18) [snapback]42784[/snapback]
kurcze

Gdzie ?! huh.gif unsure.gif
Cytat(joker666 @ pią, 04 maj 2007 - 14:18) [snapback]42784[/snapback]
moze wkleje Ci wiecej linijek kodu ??

Tak by było najlepiej, daj kod od momentu jak się to cholerstwo zaczyna (array'e, array'e w array'ach, chcę widzieć wszystkie tongue.gif)

Pzdr


--------------------
-----------------------------------------------------------------------------------------
IBPlanet.pl - Polski Support IPB, Invision Power Board, spolszczenie, mody
-----------------------------------------------------------------------------------------
Go to the top of the page
 
+Quote Post
joker666
post pią, 04 maj 2007 - 13:48
Post #9


Stara się
*

Grupa: Użytkownicy
Postów: 14
Dołączył: czw, 16 lut 06




Cytat
//===========================================================================
// Generate choice array
//===========================================================================

$choice = array(
"idx" => array( "boards" , 'boards' , array('chatting','birthdays', 'calendar') ),
"sc" => array( "boards" , 'boards' , array('chatting','birthdays', 'calendar') ),
"sf" => array( "forums" , 'forums' , array('announcements', 'multimod') ),
"sr" => array( "forums" , 'forums' , array() ),
"st" => array( "topics" , 'topics' , array('attachtypes','bbcode', 'multimod','ranks','profilefields' ) ),
"announce" => array( "announcements" , 'announcements', array('bbcode','badwords','emoticons','ranks','profilefields' ) ),
"login" => array( "login" , 'login' , array() ),
"post" => array( "post" , 'post' , array('attachtypes','badwords','bbcode','emoticons','ranks' ) ),
"reg" => array( "register" , 'register' , array() ),
"online" => array( "online" , 'online' , array() ),
"members" => array( "memberlist" , 'memberlist' , array('ranks','profilefields' ) ),
"help" => array( "help" , 'help' , array() ),
"search" => array( "search" , 'search' , array('badwords','emoticons','attachtypes','multimod','bbcode','ranks','profilefields' ) ),
"mod" => array( "moderate" , 'moderate' , array('attachtypes','multimod','bbcode','emoticons','badwords' ) ),
"print" => array( "misc/print_page" , 'printpage' , array('attachtypes','bbcode', 'multimod','ranks','profilefields' ) ),
"forward" => array( "misc/forward_page" , 'forwardpage' , array() ),
"mail" => array( "misc/contact_member", 'contactmember', array() ),
"report" => array( "misc/contact_member", 'contactmember', array() ),
"chat" => array( "misc/contact_member", 'contactmember', array() ),
'boardrules' => array( "misc/contact_member", 'contactmember', array() ),
"msg" => array( "messenger" , 'messenger' , array('profilefields','attachtypes','badwords','bbcode','emoticons' ) ),
"usercp" => array( "usercp" , 'usercp' , array('attachtypes','badwords','bbcode','emoticons' ) ),
"profile" => array( "profile" , 'profile' , array('ranks','profilefields','badwords','bbcode','emoticons' ) ),
"track" => array( "misc/tracker" , 'tracker' , array() ),
"stats" => array( "misc/stats" , 'stats' , array() ),
"attach" => array( "misc/attach" , 'attach' , array('attachtypes' ) ),
'legends' => array( 'misc/legends' , 'legends' , array('badwords','bbcode' ,'emoticons' ) ),
'calendar' => array( "calendar" , 'calendar' , array('attachtypes','bbcode', 'ranks','multimod','emoticons','badwords' ) ),
'buddy' => array( "browsebuddy" , 'assistant' , array() ),
'mmod' => array( "misc/multi_moderate", 'mmod' , array('multimod' ) ),
'warn' => array( "misc/warn" , 'warn' , array('badwords','bbcode' ,'emoticons' ) ),
'home' => array( 'portal' , 'portal' , array('portal','attachtypes','bbcode', 'multimod','ranks','profilefields' ) ),
'module' => array( 'modules' , 'modules' , array() ),
'task' => array( 'taskloader' , 'taskloader' , array() ),
'findpost' => array( 'findpost' , 'findpost' , array() ),
'uportal' => array( 'uportal' , 'uportal' , array('uportal_blocks', 'uportal_settings', 'uportal_custblocks', 'uportal_content', 'birthdays', 'calendar','emoticons','bbcode','badwords','attachtypes' ) ),
't', 'birthdays', 'calendar','emoticons','bbcode','badwords','attachtypes' ),
"xmlout" => array( "xmlout" , 'xmlout' , array('attachtypes','multimod','bbcode','ranks','profilefields' ) ),
'paysubs' => array( 'paysubscriptions' , 'paysubscriptions' , array() ),
'rssout' => array( 'rssout' , 'rssout' , array() ),
'component' => array( 'component' , 'component' , array() ),
'shoutbox' => array( 'D2mods/Shoutbox/Shoutbox', 'shoutbox', array('sbox_stats','sbox_badwords','emoticons','bbcode','badwords')),
);

//---------------------------------------------------
// Check to make sure the array key exits..
//---------------------------------------------------

$ipsclass->input['_low_act'] = strtolower( $ipsclass->input['act'] );

if (! isset($choice[ $ipsclass->input['_low_act'] ][0]) )
{
$ipsclass->input['act'] = 'uportal';
}


kurcze chyba starczy

pozdrawiam


--------------------
Go to the top of the page
 
+Quote Post
Phoenix
post pią, 04 maj 2007 - 14:14
Post #10


Ekspert
****

Grupa: VIP'y
Postów: 387
Dołączył: sob, 17 gru 05
Skąd: pokój
Korzystam z Nie wiem




Dokładnie o ten fragment chodziło wink.gif
Teraz już wszystko jasne ..
Zamień to co wkleiłeś na
Kod
//===========================================================================
// Generate choice array
//===========================================================================

$choice = array(
"idx" => array( "boards" , 'boards' , array('chatting','birthdays', 'calendar') ),
"sc" => array( "boards" , 'boards' , array('chatting','birthdays', 'calendar') ),
"sf" => array( "forums" , 'forums' , array('announcements', 'multimod') ),
"sr" => array( "forums" , 'forums' , array() ),
"st" => array( "topics" , 'topics' , array('attachtypes','bbcode', 'multimod','ranks','profilefields' ) ),
"announce" => array( "announcements" , 'announcements', array('bbcode','badwords','emoticons','ranks','profilefields' ) ),
"login" => array( "login" , 'login' , array() ),
"post" => array( "post" , 'post' , array('attachtypes','badwords','bbcode','emoticons','ranks' ) ),
"reg" => array( "register" , 'register' , array() ),
"online" => array( "online" , 'online' , array() ),
"members" => array( "memberlist" , 'memberlist' , array('ranks','profilefields' ) ),
"help" => array( "help" , 'help' , array() ),
"search" => array( "search" , 'search' , array('badwords','emoticons','attachtypes','multimod','bbcode','ranks','profilefields' ) ),
"mod" => array( "moderate" , 'moderate' , array('attachtypes','multimod','bbcode','emoticons','badwords' ) ),
"print" => array( "misc/print_page" , 'printpage' , array('attachtypes','bbcode', 'multimod','ranks','profilefields' ) ),
"forward" => array( "misc/forward_page" , 'forwardpage' , array() ),
"mail" => array( "misc/contact_member", 'contactmember', array() ),
"report" => array( "misc/contact_member", 'contactmember', array() ),
"chat" => array( "misc/contact_member", 'contactmember', array() ),
'boardrules' => array( "misc/contact_member", 'contactmember', array() ),
"msg" => array( "messenger" , 'messenger' , array('profilefields','attachtypes','badwords','bbcode','emoticons' ) ),
"usercp" => array( "usercp" , 'usercp' , array('attachtypes','badwords','bbcode','emoticons' ) ),
"profile" => array( "profile" , 'profile' , array('ranks','profilefields','badwords','bbcode','emoticons' ) ),
"track" => array( "misc/tracker" , 'tracker' , array() ),
"stats" => array( "misc/stats" , 'stats' , array() ),
"attach" => array( "misc/attach" , 'attach' , array('attachtypes' ) ),
'legends' => array( 'misc/legends' , 'legends' , array('badwords','bbcode' ,'emoticons' ) ),
'calendar' => array( "calendar" , 'calendar' , array('attachtypes','bbcode', 'ranks','multimod','emoticons','badwords' ) ),
'buddy' => array( "browsebuddy" , 'assistant' , array() ),
'mmod' => array( "misc/multi_moderate", 'mmod' , array('multimod' ) ),
'warn' => array( "misc/warn" , 'warn' , array('badwords','bbcode' ,'emoticons' ) ),
'home' => array( 'portal' , 'portal' , array('portal','attachtypes','bbcode', 'multimod','ranks','profilefields' ) ),
'module' => array( 'modules' , 'modules' , array() ),
'task' => array( 'taskloader' , 'taskloader' , array() ),
'findpost' => array( 'findpost' , 'findpost' , array() ),
'uportal' => array( 'uportal' , 'uportal' , array('uportal_blocks', 'uportal_settings', 'uportal_custblocks', 'uportal_content', 'birthdays', 'calendar','emoticons','bbcode','badwords','attachtypes' ) ),
't', 'birthdays', 'calendar','emoticons','bbcode','badwords','attachtypes',
"xmlout" => array( "xmlout" , 'xmlout' , array('attachtypes','multimod','bbcode','ranks','profilefields' ) ),
'paysubs' => array( 'paysubscriptions' , 'paysubscriptions' , array() ),
'rssout' => array( 'rssout' , 'rssout' , array() ),
'component' => array( 'component' , 'component' , array() ),
'shoutbox' => array( 'D2mods/Shoutbox/Shoutbox', 'shoutbox', array('sbox_stats','sbox_badwords','emoticons','bbcode','badwords')),
);


Pzdr. smile.gif


--------------------
-----------------------------------------------------------------------------------------
IBPlanet.pl - Polski Support IPB, Invision Power Board, spolszczenie, mody
-----------------------------------------------------------------------------------------
Go to the top of the page
 
+Quote Post
joker666
post pią, 04 maj 2007 - 14:23
Post #11


Stara się
*

Grupa: Użytkownicy
Postów: 14
Dołączył: czw, 16 lut 06




no teraz jest wsio oki smile.gif

wielke dziex


--------------------
Go to the top of the page
 
+Quote Post
Phoenix
post pią, 04 maj 2007 - 14:28
Post #12


Ekspert
****

Grupa: VIP'y
Postów: 387
Dołączył: sob, 17 gru 05
Skąd: pokój
Korzystam z Nie wiem




Cytat(joker666 @ pią, 04 maj 2007 - 15:23) [snapback]42789[/snapback]
no teraz jest wsio oki smile.gif
wielke dziex


Polecamy się na przyszłość smile.gif
Dyskretnie ci powiem, że całej ścieżki do pliku mogłeś tutaj nie kopiować tongue.gif
Rozumiem, że można zamknąć

Pzdr.


--------------------
-----------------------------------------------------------------------------------------
IBPlanet.pl - Polski Support IPB, Invision Power Board, spolszczenie, mody
-----------------------------------------------------------------------------------------
Go to the top of the page
 
+Quote Post

Closed TopicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Wersja Lo-Fi Aktualny czas: środa, 23 maj 2012 - 17:10