Problema la postare

Folosiţi acest forum pentru a discuta problemele apărute în timpul folosirii forumului phpBB 3.0.x.
Reguli forum
Aveti o problema si vreti sa primiti ajutor? Click aici ! Nu uitati si de regulamentul forumului !
Avatar utilizator
alexbumbacea
Utilizator înregistrat
Mesaje: 18
Membru din: 20-Iun-2005, 10:24:08
Ext: Nu
Server: Windows
Nivel phpBB: Mediu
Nivel php: Mediu
Contact:

Problema la postare

Mesaj de alexbumbacea »

Am incercat sa introduc un post in care aveam cod sql, si nu prea inteleg cu ce am gresit....
SQL ERROR [ mysql4 ]
Data too long for column 'post_text' at row 1 [1406]

SQL

INSERT INTO phpbb_posts (forum_id, poster_id, icon_id, poster_ip, post_time, post_approved, enable_bbcode, enable_smilies, enable_magic_url, enable_sig, post_username, post_subject, post_text, post_checksum, post_encoding, post_attachment, bbcode_bitfield, bbcode_uid, post_edit_locked, topic_id) VALUES (14, 2, 0, '*.*.*.*', 1151490979, 1, 1, 1, 1, 1, '', 'MySQL error 1251', '[b:a7693]Did you recently encounter �Error 1251: Client does not support authentication protocol requested by server; consider upgrading MySQL client� error?[/b:a7693]\nThis is a common issue for MySQL server 4.1 and higher. Starting 4.1 version, MySQL changed the authentication algorithm to a better password hashing one. All older clients are trying to connect using the old authentication algorithm and this is the source of the error.\nHowever, MySQL offers the OLD_PASSWORD function for backward compatibility.\nThese are the steps:\n1. start mysql from console:\n[code:a7693]cd c:\\program files\\mysql\\mysql server 4.1\\bin\\mysql[/code:a7693]\nOptionally, if you changed the root password, you should use\n[code:a7693]cd c:\\program files\\mysql\\mysql server 4.1\\bin\\mysql -u root[/code:a7693]\n2. after connection, use the following statement\n[code:a7693]SET PASSWORD FOR root@localhost = OLD_PASSWORD(\'old_password_here\');[/code:a7693]\nThat�s it! Now all new and old clients will work.', 'fd67bfd47f687f0b8e48c00ce369ec1e', 'iso-8859-1', 0, 258, 'a7693', 0, 10)

BACKTRACE

FILE: includes/db/mysql4.php
LINE: 106
CALL: dbal_mysql4->sql_error()

FILE: includes/functions_posting.php
LINE: 1534
CALL: dbal_mysql4->sql_query()

FILE: posting.php
LINE: 845
CALL: submit_post()
Avatar utilizator
mark
Utilizator înregistrat
Mesaje: 240
Membru din: 21-Noi-2005, 10:00:47

Mesaj de mark »

In primul rand nu ar fi trebuit sa iti dea eroarea aia (unde ti-a aparut eroarea?) si incearca sa folosesti tag-ul de

Cod: Selectaţi tot

[code]codul tau
[/code]

Esti sigur ca folosesti versiunea de phpBB 3?
Avatar utilizator
alexbumbacea
Utilizator înregistrat
Mesaje: 18
Membru din: 20-Iun-2005, 10:24:08
Ext: Nu
Server: Windows
Nivel phpBB: Mediu
Nivel php: Mediu
Contact:

Mesaj de alexbumbacea »

http://www.phpab.com/forum/
am folosit

Cod: Selectaţi tot

, dar tot nu a mers am mai un mesaj de genul asta, dat cu don't si cand am scos ' mi-a mers
Avatar utilizator
mark
Utilizator înregistrat
Mesaje: 240
Membru din: 21-Noi-2005, 10:00:47

Mesaj de mark »

omule pai tie iti lipsesc niste tabele......din SQL.
Avatar utilizator
alexbumbacea
Utilizator înregistrat
Mesaje: 18
Membru din: 20-Iun-2005, 10:24:08
Ext: Nu
Server: Windows
Nivel phpBB: Mediu
Nivel php: Mediu
Contact:

Mesaj de alexbumbacea »

nu mi-a dat nici o eroare la instalare
Avatar utilizator
mark
Utilizator înregistrat
Mesaje: 240
Membru din: 21-Noi-2005, 10:00:47

Mesaj de mark »

INSERT INTO phpbb_posts (forum_id, poster_id, icon_id, poster_ip, post_time, post_approved, enable_bbcode, enable_smilies, enable_magic_url, enable_sig, post_username, post_subject, post_text, post_checksum, post_encoding, post_attachment, bbcode_bitfield, bbcode_uid, post_edit_locked, topic_id) VALUES (14, 2, 0, '*.*.*.*', 1151490979, 1, 1, 1, 1, 1,
Avatar utilizator
alexbumbacea
Utilizator înregistrat
Mesaje: 18
Membru din: 20-Iun-2005, 10:24:08
Ext: Nu
Server: Windows
Nivel phpBB: Mediu
Nivel php: Mediu
Contact:

Mesaj de alexbumbacea »

bun... cum zici u... dar daca il instalez pe ala care e aici(la sec Download) sigur va merge bine?
Avatar utilizator
mark
Utilizator înregistrat
Mesaje: 240
Membru din: 21-Noi-2005, 10:00:47

Mesaj de mark »

Daca e acelasi de pe phpBB.com...atunci da...iti va merge.
Avatar utilizator
alexbumbacea
Utilizator înregistrat
Mesaje: 18
Membru din: 20-Iun-2005, 10:24:08
Ext: Nu
Server: Windows
Nivel phpBB: Mediu
Nivel php: Mediu
Contact:

Mesaj de alexbumbacea »

faza e ca eu de pe phpbb.com l-am luat pe asta, si acum... u imi zici ca imi lipsesc tabele sql....
ce sa fac? copiez din nou fisierele sursa? sau il instalez din nou?
Avatar utilizator
reeait
Utilizator înregistrat
Mesaje: 77
Membru din: 21-Sep-2004, 12:27:10
Ext: Nu
Server: Windows
Nivel phpBB: Mediu
Nivel php: Mediu
Localitate: Torino, Italy
Contact:

Mesaj de reeait »

Daca nu te doare capul instaleaza-l din nou... oricum e un beta!
Închis

Înapoi la “3.0.x Funcţionare”

Cine este conectat

Utilizatori ce ce navighează pe acest forum: Niciun utilizator înregistrat și 16 vizitatori