Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> sesje i błąd
jacknn
post 5.11.2005, 08:19:20
Post #1





Grupa: Zarejestrowani
Postów: 44
Pomógł: 0
Dołączył: 10.02.2005

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


Mam taki błąd:

Warning: Unknown(): Your script possibly relies on a session side-effect which existed until php 4.2.3. Please be advised that the session extension does not consider global variables as a source of data, unless register_globals is enabled. You can disable this functionality and this warning by setting session.bug_compat_42 or session.bug_compat_warn to off, respectively. in Unknown on line 0

Jak się tego pozbyć??

Moje skrypty przy których pojawia się ten błąd to poprostu jportal.
Go to the top of the page
+Quote Post
who?
post 5.11.2005, 08:35:24
Post #2





Grupa: Zarejestrowani
Postów: 47
Pomógł: 0
Dołączył: 4.05.2005

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


Witam,
A jak masz ustawioną zmienną register_globals??

Pozdrawiam,
who?
Go to the top of the page
+Quote Post
jacknn
post 5.11.2005, 18:00:08
Post #3





Grupa: Zarejestrowani
Postów: 44
Pomógł: 0
Dołączył: 10.02.2005

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


ustawione mam na off
Go to the top of the page
+Quote Post
ziomek_1982
post 8.11.2005, 07:08:18
Post #4





Grupa: Zarejestrowani
Postów: 7
Pomógł: 0
Dołączył: 7.11.2005

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


Na poczatku pliku dodaj

ini_set('session.bug_compat_warn','off');


i mozesz zostawic register_globals na off
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: 18.07.2025 - 00:39