1 頁 (共 1 頁)

[問題]安裝 PHPBB 208a 後發表文章出現問題

發表於 : 2004-06-10 14:01
ycllin
環境:
●架設主機作業系統:Windows 2000 Server
●您的上網方式:ADSL
●您安裝的程式:IIS + php4.3.6 + MSSql2000
●您的 phpBB2 版本:phpBB2.0.8a
●錯誤代碼:

安裝的過程都沒有問題
但是在發表文章後,如果內文(中文)過長會產生下列的問題(預覽的情形是沒有問題的)

Warning: odbc_exec(): SQL error: [Microsoft][ODBC SQL Server Driver]COUNT 欄位不正確, SQL state 07001 in SQLExecDirect in E:\Web\phpbb\db\mssql-odbc.php on line 117

Warning: Cannot modify header information - headers already sent by (output started at E:\Web\phpbb\db\mssql-odbc.php:117) in E:\Web\phpbb\includes\page_header.php on line 474

Warning: Cannot modify header information - headers already sent by (output started at E:\Web\phpbb\db\mssql-odbc.php:117) in E:\Web\phpbb\includes\page_header.php on line 476

Warning: Cannot modify header information - headers already sent by (output started at E:\Web\phpbb\db\mssql-odbc.php:117) in E:\Web\phpbb\includes\page_header.php on line 477


Could not select words

DEBUG MODE

SQL Error : 07001 [Microsoft][ODBC SQL Server Driver]COUNT 欄位不正確

SELECT word_id, word_text FROM FFXIbb_search_wordlist WHERE word_text IN ('rank', '申請士資料', '前置?, '活動日期', '活動目的', '活動行?, '參裴資料', '備註', '集寺地檯', '詳細攻略資料', '範例', '請附?, '職?)

Line : 172
File : E:\Web\phpbb\includes\functions_search.php

原先以為是多國語系的問題,但是過站上所提供的方式修正,結果還是依樣阿\r
麻煩各位幫忙解答
謝謝~~

發表於 : 2004-06-10 14:24
ycllin
貼上圖可能比較清楚
圖檔

發表於 : 2004-06-11 00:30
逍遙悠
SQL Error : 07001 [Microsoft][ODBC SQL Server Driver]COUNT 欄位不正確

這個是mssql 不能通用嗎?? 那就是他只要改回mys 就一切正常了吧

發表於 : 2004-06-11 05:34
ycllin
專門搞破壞 寫:請問您有沒有匯入該mod的SQL
很抱歉,我不懂什麼是MOD,所以無法回覆祢
我會看其他文章來學習的

發表於 : 2004-06-11 05:36
ycllin
我剛剛試著改發言的內容,發現是有些字會變成亂碼(或是無法辨識)
比如
職業...到SQL語法的時候就變成 '職? (原本字串應該是用 ' ' 包起來,但卻變成亂碼)
所以無法寫入,不知道是不是這個問題
如果是這個問題,我該如何解決呢 ??

發表於 : 2004-06-12 12:37
ycllin
請問有沒有人知道問題阿\r
我試過站上所寫的多國語文支援....(包含改成 utf-8,或是直接修程式)
但結果還是依樣阿\r
總是會有些字無法辨識
還是一定要使用 MySQL嗎??