![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 117 Pomógł: 0 Dołączył: 12.11.2008 Ostrzeżenie: (0%) ![]() ![]() |
http://wklej.org/id/31561/ (daję tam, bo tu jest jakieś ograniczenie długości postu do -1 znaku (no dobra, do 1 znaku (a tak na poważnie, to po prostu zdecydowanie za małe na kod)))
Ciągle generuje nową sesję (a raczej co drugi raz)(bo pojawia się nowy rekord w bazie). Dlaczego? Oprócz tego za 1, 3, 5 itd. odświeżeniem daje to: Cytat [Debug] PHP Notice: in file D:\www\includes\class_db.php on line 30: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource , a za 2, 4, 6 itd.:Something is wrong in your syntax obok '' w linii 1[Debug] PHP Notice: in file D:\www\includes\class_session.php on line 163: Cannot modify header information - headers already sent by (output started at D:\www\includes\error.php:8) [Debug] PHP Notice: in file D:\www\includes\class_main.php on line 15: Cannot modify header information - headers already sent by (output started at D:\www\includes\error.php:8) Cytat [Debug] PHP Notice: in file D:\www\includes\class_db.php on line 30: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource Ten błąd MySQL jest przez to, że $session->get_user_id(); daje pustkę.Something is wrong in your syntax obok '' w linii 1[Debug] PHP Notice: in file D:\www\includes\class_session.php on line 163: Cannot modify header information - headers already sent by (output started at D:\www\includes\error.php:8) [Debug] PHP Notice: in file D:\www\includes\class_session.php on line 61: Cannot modify header information - headers already sent by (output started at D:\www\includes\error.php:8) [Debug] PHP Notice: in file D:\www\includes\class_session.php on line 24: Cannot modify header information - headers already sent by (output started at D:\www\includes\error.php:8) [Debug] PHP Notice: in file D:\wwwclass_db.php on line 30: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource Something is wrong in your syntax obok '' w linii 1[Debug] PHP Notice: in file D:\www\includes\class_user.php on line 60: Undefined index: user_auth Edit: A do bazy rekord dodaje też co drugie odświeżenie. |
|
|
![]() ![]() |
![]() |
Wersja Lo-Fi | Aktualny czas: 23.06.2025 - 02:01 |