1 頁 (共 1 頁)

[問題] Vault 虛擬股市外掛有錯誤(已解決)

發表於 : 2005-02-16 16:39
小翼
問題外掛:Vault 虛擬股市
使用空間:http://www.30mb.com/(資料庫需要連結至hotsql.com)
參考連結:vault外掛:http://www.phpbbhacks.com/viewhack.php?id=2379
中文化:http://phpbb-tw.net/phpbb/viewtopic.php ... ight=vault

使用版本:phpBB 2.0.8
狀況描述:
安裝完畢後,後台一切正常,但是進入金融中心時,上方有一句字警告我:

代碼: 選擇全部

Warning: Division by zero in /home/httpd/vhosts/30mb.com/httpdocs/x/hopeisland/vault.php on line 195
當我想開戶口時,有錯誤信息:

代碼: 選擇全部

Couldn't insert new account

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 ' '1108549111' , 0 , 0 )' at line 2

INSERT INTO phpbb_vault_users ( owner_id , account_id , account_sum , account_time , loan_sum , loan_time) VALUES ( 2 , 1 , , '1108549111' , 0 , 0 )

Line : 229
File : /home/httpd/vhosts/30mb.com/httpdocs/x/hopeisland/vault.php
請問各位大大如何解決這個問題??

發表於 : 2005-02-16 17:44
動機不明
以前就解決過了
你搜索一下吧 ;)

發表於 : 2005-02-16 23:28
小翼
我嘗試用關鍵的字搜索過了,仍然找不到\r
毫無頭緒,請問動機大大有沒有提示?
要修改那一個檔案?

發表於 : 2005-02-16 23:40
動機不明

發表於 : 2005-02-16 23:48
小翼
那麼,這句是甚麼意思?
/!\ You have to make a CHMOD 666 on the file cache/config_vault.php /!\

是否要加上的句子在cache/config_vault.php?

發表於 : 2005-02-16 23:54
小西
把config_vault.php的檔案屬性改成666.........吧@@

發表於 : 2005-02-16 23:58
小翼
啊~原來如此\r
謝謝各位大大的幫助