Seite 1 von 1
cash_to_traffic problem...
Verfasst: Mi 07.Jun, 2006 08:22
von Zachalicious
I go to the admin panel and click "Exchange cash to traffic" and I get this error...
Code: Alles auswählen
hpBB : Critical Error
Could not fetch exiting cash currencies
DEBUG MODE
SQL Error : 1146 Table 'zgalaxyv_gal.CASH_TABLE' doesn't exist
SELECT * FROM CASH_TABLE ORDER BY cash_name
Line : 70
File : admin_dl_cash_to_traffic.php
Verfasst: Do 08.Jun, 2006 00:16
von oxpus
You have installed an add-on without the existing cash mod !?!
Verfasst: Do 08.Jun, 2006 02:01
von Zachalicious
I don't understand...
I have cash mod installed, I have my own currency, it works fine... and now that I tried using the mod with the downloads script things don't work... so I don't know... hope you guyz can help me
EDIT:
All my cash tables are there too... so I dunno
Verfasst: Do 08.Jun, 2006 17:41
von oxpus
Fine, the MOD have changed the constants handling

I'll check this in the next release...
EDIT
Try this:
Okay, I think, this will work:
Open the file admin/admin_dl_cash_to_traffic.php, find the code
Code: Alles auswählen
define('IN_PHPBB', 1);
$phpbb_root_path = "./../";
require($phpbb_root_path . 'extension.inc');
require('./pagestart.' . $phpEx);
and replace this with
Code: Alles auswählen
define('IN_PHPBB', 1);
define('IN_CASHMOD', 1);
$phpbb_root_path = "./../";
require($phpbb_root_path . 'extension.inc');
require('./pagestart.' . $phpEx);
include($phpbb_root_path . 'includes/functions_cash.' . $phpEx);