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

Archiwum działu Ogólne (posty do 12.2008) - [Problem] Debug Mode

drift_14 - 27-12-2007, 14:29
Temat postu: [Problem] Debug Mode
Kiedy chcę z edytować profil i wyślę aby zapisało zmiany to wyskakuje mi błąd :

Kod:
Could not update users table

DEBUG MODE

SQL Error : 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 'WHERE user_id = 6' at line 3

UPDATE phpbb_users SET user_email = 'drift14@gmail.com', user_icq = '', user_website = '', user_occ = '', user_interests = '', user_from = '', user_sig = '[img:95368e7c0c]http://img510.imageshack.us/img510/376/sygna2driftpnglh0.png[/img:95368e7c0c]', user_custom_color = '', user_custom_rank = 'drift', user_sig_bbcode_uid = '95368e7c0c', user_viewemail = 1, user_viewaim = 1, user_aim = '', user_yim = '', user_msnm = '', user_attachsig = 1, user_allowsmile = 1, user_allowhtml = 1, user_allowbbcode = 1, user_allow_viewonline = 1, user_notify = 0, user_notify_gg = 0, user_notify_pm = 1, user_popup_pm = 1, user_timezone = 1, user_lang = 'polish', user_style = 5, user_active = 1, user_actkey = '', user_birthday = '999999', user_next_birthday_greeting = '0', user_gender = 1, allowpm = 1, user_ip_login_check = 1, last_pop_topics = 1, WHERE user_id = 6

Line : 706
File : usercp_register.php

koziolek - 27-12-2007, 14:35

1. popraw chmody http://tomaszju.webd.pl/check_files.php

2. modyfikowałeś plik
Cytat:
includes/usercp_register.php : Zła zawartość ! [ b5b4c4e528142403b44cb421b78c017e ] > [ b5d5a92557be3c1a5bdee23de79593a2 ] 62948 - 62572 (376)
i musiałeś coś zrobić źle

3. pokaż linie od 699 do 707 pliku includes/usercp_register.php

drift_14 - 27-12-2007, 15:30

Dołanczam mój usercp_register.php

CHMODY poprawione :)

Centurion - 27-12-2007, 15:40

Kod:
last_pop_topics = 1, WHERE

przed WHERE nie powinno być przecinka

drift_14 - 27-12-2007, 15:54

Dziękuje wam bardzo :) wszystko ponownie działa bez problemowo :D


Powered by phpBB modified by Przemo © 2003 phpBB Group