To jest tylko wersja do druku, aby zobaczyć pełną wersję tematu, kliknij TUTAJ
phpBB2 by Przemo
Support forów phpBB2 modified by Przemo

Ogólne - Problem z rejestracją (plik usercp_register.php)

gacekwroclaw - 30-12-2012, 17:12
Temat postu: Problem z rejestracją (plik usercp_register.php)
Witam od kilku dni męczę się z pewnym problemem związanym z rejestracją. Otóż gdy rejestruję się przez szybką rejestrację wszystko jest OK. Natomiast gdy chce się zarejestrować po przez zwykłą rejestrację wyskakuje mi taki błąd:

Kod:
Could not select session data

DEBUG MODE

INSERT INTO phpbb_users (user_id, username, user_regdate, user_password, user_email, user_icq, user_website, user_occ, user_interests, user_from, user_sig, user_sig_bbcode_uid, user_sig_image, user_avatar, user_avatar_type, user_viewemail, user_viewaim, user_aim, user_yim, user_msnm, user_attachsig, user_allowsmile, user_allowhtml, user_allowbbcode, user_allow_viewonline, user_notify, user_notify_gg, user_notify_pm, user_popup_pm, user_timezone, user_lang, user_custom_color, user_custom_rank, user_style, user_gender, allowpm, user_level, user_allow_pm, user_birthday, user_next_birthday_greeting, user_ip, user_ip_login_check, user_active, user_actkey) VALUES (334, 'test5', 1356883275, '$H$9P9ro.JYPZt0Wzbi65SLuLqIkIeQm7/', 'bleble@test5.pl', '', '', '', '', '', '', '', '', '', 0, 1, 1, '', '', '', 1, , 0, 1, 1, 0, 0, 1, 1, 1, 'polish', '', '', 6, '0', 1, 0, 1, '999999', '0', '57632a4c', 1, 0, 'e517d1987739ac3737a0')

Line : 935
File : usercp_register.php


Plik nie był modyfikowany problem ten mam od początku założenia forum.

linijka 935 :

Kod:
{
                message_die(GENERAL_ERROR, 'Could not obtain registration information', '', __LINE__, __FILE__, $sql);
            }


W załączniku dodaje kompletny plik.

Woytec - 30-12-2012, 22:34

* http://aleurwal.ugu.pl/check_files.php Popraw chmody
*Wgraj czysty plik
* Wykonaj zapytanie i pokaż treść błędu
Kod:
INSERT INTO phpbb_users (user_id, username, user_regdate, user_password, user_email, user_icq, user_website, user_occ, user_interests, user_from, user_sig, user_sig_bbcode_uid, user_sig_image, user_avatar, user_avatar_type, user_viewemail, user_viewaim, user_aim, user_yim, user_msnm, user_attachsig, user_allowsmile, user_allowhtml, user_allowbbcode, user_allow_viewonline, user_notify, user_notify_gg, user_notify_pm, user_popup_pm, user_timezone, user_lang, user_custom_color, user_custom_rank, user_style, user_gender, allowpm, user_level, user_allow_pm, user_birthday, user_next_birthday_greeting, user_ip, user_ip_login_check, user_active, user_actkey) VALUES (334, 'test5', 1356883275, '$H$9P9ro.JYPZt0Wzbi65SLuLqIkIeQm7/', 'bleble@test5.pl', '', '', '', '', '', '', '', '', '', 0, 1, 1, '', '', '', 1, , 0, 1, 1, 0, 0, 1, 1, 1, 'polish', '', '', 6, '0', 1, 0, 1, '999999', '0', '57632a4c', 1, 0, 'e517d1987739ac3737a0')

gacekwroclaw - 30-12-2012, 22:42

chmod poprawiony

przy tym zapytaniu wyskakuje błąd :
Kod:
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' 0, 1, 1, 0, 0, 1, 1, 1, 'polish', '', '', 6, '0', 1, 0, 1, '999999', '0', '5763' at line 1

mirem - 02-07-2018, 13:07

Witam;

mam podobny problem jak w temacie, przy próbie rejestracji na końcu jest poniższy błąd:
Could not insert data into adv users table

DEBUG MODE

SQL Error : 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ' '5bdec022')' at line 2

INSERT INTO phpbb_adv_person (user_id, person_id, person_ip) VALUES (2, , '5bdec022')

Line : 860

File : usercp_register.php

dodam, że nic nie było w ostatnim czasie zmieniane na forum, rejestracja działała poprawnie.
Ma ktoś pomysł co może być nie OK ?


poradziłem sobie, usunąłem dodatkowe pola w PA>Użytkownicy>Pola w profilu



Powered by phpBB modified by Przemo © 2003 phpBB Group