я так понимаю проблема в этом?
Код: Выделить всё
General Error
SQL ERROR [ mysql4 ]
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 'AND t.template_id = s.template_id AND c.theme_id = s.theme_id AND i.imag' at line 4 [1064]
SQL
SELECT s.style_id, t.template_storedb, t.template_path, t.template_id, t.bbcode_bitfield, t.template_inherits_id, t.template_inherit_path, c.theme_path, c.theme_name, c.theme_storedb, c.theme_id, i.imageset_path, i.imageset_id, i.imageset_name FROM fb3_styles s, fb3_styles_template t, fb3_styles_theme c, fb3_styles_imageset i WHERE s.style_id = AND t.template_id = s.template_id AND c.theme_id = s.theme_id AND i.imageset_id = s.imageset_id
BACKTRACE
FILE: includes/db/mysql.php
LINE: 174
CALL: dbal->sql_error()
FILE: includes/session.php
LINE: 1558
CALL: dbal_mysql->sql_query()
FILE: adm/index.php
LINE: 27
CALL: user->setup()как что-то может быть не в порядке со стилями, скаченными с офф.сайта phpbb?
специально ставил оригинальный дистрибутив, чтобы не было проблем с локалями.
Добавлено спустя 4 минуты 45 секунд:
для mysqli:
Код: Выделить всё
SQL ERROR [ mysqli ]
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 'AND t.template_id = s.template_id AND c.theme_id = s.theme_id AND i.imag' at line 4 [1064]
SQL
SELECT s.style_id, t.template_storedb, t.template_path, t.template_id, t.bbcode_bitfield, t.template_inherits_id, t.template_inherit_path, c.theme_path, c.theme_name, c.theme_storedb, c.theme_id, i.imageset_path, i.imageset_id, i.imageset_name FROM fb3_styles s, fb3_styles_template t, fb3_styles_theme c, fb3_styles_imageset i WHERE s.style_id = AND t.template_id = s.template_id AND c.theme_id = s.theme_id AND i.imageset_id = s.imageset_id
BACKTRACE
FILE: includes/db/mysqli.php
LINE: 163
CALL: dbal->sql_error()
FILE: includes/session.php
LINE: 1558
CALL: dbal_mysqli->sql_query()
FILE: adm/index.php
LINE: 27
CALL: user->setup()STK выдаёт:
Код: Выделить всё
General Error
SQL ERROR [ mysqli ]
Duplicate entry 'prosilver' for key 'tmplte_nm' [1062]
SQL
INSERT INTO fb3_styles_template (template_name, template_copyright, template_path) VALUES ('prosilver', '© phpBB Group, 2007', 'prosilver')
BACKTRACE
FILE: includes/db/mysqli.php
LINE: 163
CALL: dbal->sql_error()
FILE: stk/includes/functions_critical_repair.php
LINE: 263
CALL: dbal_mysqli->sql_query()
FILE: stk/index.php
LINE: 70
CALL: critical_style_repair()

