問題外掛:Vault1.0
參考連結:http://phpbb-tw.net/phpbb/viewtopic.php?t=24523
使用版本:php BB 2.0.10
網站位置:http://plk2a.freelinuxhost.com/BB/index.php
狀況描述:
I have installed it and when I buy a stock,it shows
無法更新股票總數及董事長名單
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 stock_id = 1' at line 4
UPDATE phpbb_vault_exchange SET stock_total = 30 - 0, chairman = WHERE stock_id = 1
Line : 419
File : /home/www/plk2a.freelinuxhost.com/BB/vault.php
補充:
Cash Mod ,watched list mod ,flash cash mod and Vault1.0
I am looking forward for the help.Thx
[問題] Vault 無法更新股票總數及董事長名單
版主: 版主管理群
Re: [問題] Vault 無法更新股票總數及董事長名單
我也是..a97cck 寫:問題外掛:Vault1.0
參考連結:http://phpbb-tw.net/phpbb/viewtopic.php?t=24523
使用版本:php BB 2.0.10
網站位置:http://plk2a.freelinuxhost.com/BB/index.php
狀況描述:
I have installed it and when I buy a stock,it shows
無法更新股票總數及董事長名單
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 stock_id = 1' at line 4
UPDATE phpbb_vault_exchange SET stock_total = 30 - 0, chairman = WHERE stock_id = 1
Line : 419
File : /home/www/plk2a.freelinuxhost.com/BB/vault.php
補充:
Cash Mod ,watched list mod ,flash cash mod and Vault1.0
I am looking forward for the help.Thx
按下後便出現此訊息..
是不是應為我把所有的"user_points"改成"user_money"的原因呢?
不是.........
是程式的問題...
我之前也裝過.
好像有人有解決的辦法...我用過.....
是程式的問題...
我之前也裝過.
好像有人有解決的辦法...我用過.....
目前狀態:還是回不去火星.地球還是好危險.
----------------------------------------------------
●我的網站連結:倒了..
----------------------------------------------------
●我所使用的的linux版本:....火星專用版本.!!!???
●我所使用的的Freebsd版本:.5.4
----------------------------------------------------
----------------------------------------------------
●我的網站連結:倒了..
----------------------------------------------------
●我所使用的的linux版本:....火星專用版本.!!!???
●我所使用的的Freebsd版本:.5.4
----------------------------------------------------
Re: [問題] Vault 無法更新股票總數及董事長名單
(抱歉! 自爆)a97cck 寫:問題外掛:Vault1.0
參考連結:http://phpbb-tw.net/phpbb/viewtopic.php?t=24523
使用版本:php BB 2.0.10
網站位置:http://plk2a.freelinuxhost.com/BB/index.php
狀況描述:
I have installed it and when I buy a stock,it shows
無法更新股票總數及董事長名單
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 stock_id = 1' at line 4
UPDATE phpbb_vault_exchange SET stock_total = 30 - 0, chairman = WHERE stock_id = 1
Line : 419
File : /home/www/plk2a.freelinuxhost.com/BB/vault.php
補充:
Cash Mod ,watched list mod ,flash cash mod and Vault1.0
I am looking forward for the help.Thx
最後由 心靈捕手 於 2006-03-11 12:30 編輯,總共編輯了 1 次。
Re: [問題] Vault 無法更新股票總數及董事長名單
除了這個修正之外, 建議再做以下的修正:心靈捕手 寫:(抱歉! 自爆)
#
#-----[ OPEN ]-----
#
vault.php
#
#-----[ FIND ]-----
#
代碼: 選擇全部
$tsql = "UPDATE " . VAULT_EXCHANGE_TABLE ."
SET stock_total = ".$items[$i]['stock_total']." - $prize,
chairman = ".$chairman['user_id']."
WHERE stock_id = ".$items[$i]['stock_id']; // 更新股票總數及董事長名單\r
#-----[ REPLACE WITH ]-----
#
代碼: 選擇全部
$tsql = "UPDATE " . VAULT_EXCHANGE_TABLE ."
SET stock_total = ".$items[$i]['stock_total']." - $prize,
chairman = ".$chairman['user_id']."
WHERE stock_id = ".$items[$i]['stock_id'].""; // 更新股票總數及董事長名單\r
#-----[ SAVE & CLOSE ]-----
#
#EoM
ps.
真正會出現語法錯誤的原因, 應該是這裡才對!