Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> [PHP]Break, KMleague
AdekFCB
post 31.10.2015, 17:59:55
Post #1





Grupa: Zarejestrowani
Postów: 2
Pomógł: 0
Dołączył: 31.10.2015

Ostrzeżenie: (0%)
-----


W KM League wyskakuje mi taki błąd:
Fatal error: 'break' operator accepts only positive numbers in /virtual/wdfc.cba.pl/kmleague/_inc/lib/framework_inc.php on line 234

Kod lini 234:
  1. $ky = $k; break(0);
Go to the top of the page
+Quote Post
com
post 31.10.2015, 18:20:40
Post #2





Grupa: Zarejestrowani
Postów: 3 034
Pomógł: 366
Dołączył: 24.05.2012

Ostrzeżenie: (0%)
-----


wyrzuć (0); i zostaw break; o ile wgl jest tam potrzebny.
Go to the top of the page
+Quote Post
AdekFCB
post 31.10.2015, 18:26:32
Post #3





Grupa: Zarejestrowani
Postów: 2
Pomógł: 0
Dołączył: 31.10.2015

Ostrzeżenie: (0%)
-----


Cytat(com @ 31.10.2015, 18:20:40 ) *
wyrzuć (0); i zostaw break; o ile wgl jest tam potrzebny.

Wywaliłem 0
Teraz mam taki błąd :
Fatal error: Call to undefined function session_is_registered() in /virtual/wdfc.cba.pl/kmleague/_inc/lilo.php on line 63

Kod lini 63:
  1. if(!session_is_registered('dl_login') || !session_is_registered('dl_grants')){
Go to the top of the page
+Quote Post
Pyton_000
post 31.10.2015, 20:08:45
Post #4





Grupa: Zarejestrowani
Postów: 8 068
Pomógł: 1414
Dołączył: 26.10.2005

Ostrzeżenie: (0%)
-----


http://www.php.net/session_is_registered
Go to the top of the page
+Quote Post

Reply to this 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: 14.08.2025 - 14:53