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
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)
, 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
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
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.