1 頁 (共 5 頁)

[問題] cash mod後台問題

發表於 : 2005-03-19 14:10
野比小雄
我安裝完cash mod2.2.2後,後台出現問題:
圖檔
選單那邊出現了問題...........
請問我弄錯了什麼?? :cry:

發表於 : 2005-03-19 18:21
arhauw
他說你的form1.phpbb_CASH不存在~字面上是這樣講 ,
會不會是出在functions_CASH.php....呵呵,隨便說說~
不要真的相信 ,要不然我怕更糟~~
我的也是很慘阿 ,但我用英文語系檔後...整個都沒事了
唯一的遺憾就是沒有CASH ADMIN那裡整個是英文

發表於 : 2005-03-19 21:45
小西
你的sql語法執行過了沒?

發表於 : 2005-03-19 23:10
野比小雄
用easy mod安裝還要執行spl的嗎??
(我第一次用easy mod來安裝mod)

發表於 : 2005-03-19 23:56
Man520
野比小雄 寫:用easy mod安裝還要執行spl的嗎??
(我第一次用easy mod來安裝mod)
用PHP執行SQL?
EasyMod不懂的...

發表於 : 2005-03-20 00:05
野比小雄

代碼: 選擇全部

# 
#-----[ SQL ]------------------------------------------
#
#   If you don't know how to execute sql queries, then copy
#   sql_install.php into your phpbb directory and run it.
#   (assuming you use mysql or mssql)
#
#   If you don't use mysql or mssql, you'll have to edit these queries accordingly
# 
#   If you have a different table prefix then change this command accordingly. 
#   I have used the default table prefix! 
# 
INSERT INTO phpbb_config (config_name, config_value) VALUES ('cash_disable',0);
INSERT INTO phpbb_config (config_name, config_value) VALUES ('cash_display_after_posts',1);
INSERT INTO phpbb_config (config_name, config_value) VALUES ('cash_post_message','You earned %s for that post');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('cash_disable_spam_num',10);
INSERT INTO phpbb_config (config_name, config_value) VALUES ('cash_disable_spam_time',24);
INSERT INTO phpbb_config (config_name, config_value) VALUES ('cash_disable_spam_message','You have exceeded the alloted amount of posts and will not earn anything for your post');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('cash_installed','yes');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('cash_version','2.2.2');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('cash_adminbig','0');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('cash_adminnavbar','1');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('points_name','Points');

# 
#-----[ SQL ]------------------------------------------ 
# 
#   If you have a different table prefix then change this command accordingly. 
#   I have used the default table prefix! 
# 
CREATE TABLE phpbb_cash (
  cash_id smallint(6) NOT NULL auto_increment,
  cash_order smallint(6) NOT NULL default '0',
  cash_settings smallint(4) NOT NULL default '3313',
  cash_dbfield varchar(64) NOT NULL default '',
  cash_name varchar(64) NOT NULL default 'GP',
  cash_default int(11) NOT NULL default '0',
  cash_decimals tinyint(2) NOT NULL default '0',
  cash_imageurl varchar(255) NOT NULL default '',
  cash_exchange int(11) NOT NULL default '1',
  cash_perpost int(11) NOT NULL default '25',
  cash_postbonus int(11) NOT NULL default '2',
  cash_perreply int(11) NOT NULL default '25',
  cash_maxearn int(11) NOT NULL default '75',
  cash_perpm int(11) NOT NULL default '0',
  cash_perchar int(11) NOT NULL default '20',
  cash_allowance tinyint(1) NOT NULL default '0',
  cash_allowanceamount int(11) NOT NULL default '0',
  cash_allowancetime tinyint(2) NOT NULL default '2',
  cash_allowancenext int(11) NOT NULL default '0',
  cash_forumlist varchar(255) NOT NULL default '',
  PRIMARY KEY  (cash_id)
);

# 
#-----[ SQL ]------------------------------------------ 
# 
#   If you have a different table prefix then change this command accordingly. 
#   I have used the default table prefix! 
# 
CREATE TABLE phpbb_cash_events (
  event_name varchar(32) NOT NULL default '',
  event_data varchar(255) NOT NULL default '',
  PRIMARY KEY  (event_name)
);

# 
#-----[ SQL ]------------------------------------------ 
# 
#   If you have a different table prefix then change this command accordingly. 
#   I have used the default table prefix! 
# 
CREATE TABLE phpbb_cash_exchange (
  ex_cash_id1 int(11) NOT NULL default '0',
  ex_cash_id2 int(11) NOT NULL default '0',
  ex_cash_enabled int(1) NOT NULL default '0',
  PRIMARY KEY  (ex_cash_id1,ex_cash_id2)
);

# 
#-----[ SQL ]------------------------------------------ 
# 
#   If you have a different table prefix then change this command accordingly. 
#   I have used the default table prefix! 
# 
CREATE TABLE phpbb_cash_groups (
  group_id mediumint(6) NOT NULL default '0',
  group_type tinyint(2) NOT NULL default '0',
  cash_id smallint(6) NOT NULL default '0',
  cash_perpost int(11) NOT NULL default '0',
  cash_postbonus int(11) NOT NULL default '0',
  cash_perreply int(11) NOT NULL default '0',
  cash_perchar int(11) NOT NULL default '0',
  cash_maxearn int(11) NOT NULL default '0',
  cash_perpm int(11) NOT NULL default '0',
  cash_allowance tinyint(1) NOT NULL default '0',
  cash_allowanceamount int(11) NOT NULL default '0',
  cash_allowancetime tinyint(2) NOT NULL default '2',
  cash_allowancenext int(11) NOT NULL default '0',
  PRIMARY KEY  (group_id,group_type,cash_id)
);

# 
#-----[ SQL ]------------------------------------------ 
# 
#   If you have a different table prefix then change this command accordingly. 
#   I have used the default table prefix! 
# 
CREATE TABLE phpbb_cash_log (
  log_id int(11) NOT NULL auto_increment,
  log_time int(11) NOT NULL default '0',
  log_type smallint(6) NOT NULL default '0',
  log_action varchar(255) NOT NULL default '',
  log_text varchar(255) NOT NULL default '',
  PRIMARY KEY  (log_id)
);
我看不懂..........

發表於 : 2005-03-20 00:22
Man520
........^^
http://www.phpbb-tw.net/phpbb/viewtopic.php?t=22832
我看您也沒看過....
全篇看完它吧!
XD :mrgreen:

發表於 : 2005-03-20 11:25
野比小雄
只需文字輸入框內,然後按下"執行"就行??

發表於 : 2005-03-20 14:16
Man520
野比小雄 寫:只需文字輸入框內,然後按下"執行"就行??
Yes~!

發表於 : 2005-03-20 14:26
野比小雄
謝謝!!
不過又EasyMOD_a3_0-0-11a3出現問題了.......
http://phpbb-tw.net/phpbb/viewtopic.php?p=190140#190140

發表於 : 2005-03-20 14:33
Man520
野比小雄 寫:謝謝!!
不過又EasyMOD_a3_0-0-11a3出現問題了.......
http://phpbb-tw.net/phpbb/viewtopic.php?p=190140#190140
把page_header.tpl放到\r
http://XXXX/admin/mod/page_header.tpl

發表於 : 2005-03-20 15:11
野比小雄
在那裡可找到page_header.tpl ??

發表於 : 2005-03-20 15:21
Man520
野比小雄 寫:在那裡可找到page_header.tpl ??
EasyMod內含的...

發表於 : 2005-03-20 18:52
野比小雄
沒有啊........
只有mod_header.tpl

發表於 : 2005-03-21 13:47
Man520
野比小雄 寫:沒有啊........
只有
= =a我打得大快><!!
Man520 寫:把mod_header.tpl放到
http://XXXX/admin/mod/mod_header.tpl