Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> phpnuke 7.6
Author Message
mathewps2
New Member
New Member



Joined: Nov 13, 2005
Posts: 17

PostPosted: Tue Nov 15, 2005 2:08 am Reply with quote

Ok, I have posted this topic earlier... but I hadn't really knew what the problem was. This is the error its giving me and I know why its giving me it...

Code:
General Error

Error retrieving cash data

DEBUG MODE

SQL Error : 1146 Table 'inferno_suite.nuke_bbcash' doesn't exist

SELECT * FROM nuke_bbcash ORDER BY cash_order ASC

Line : 657
File : c:\program files\inferno\www\includes\functions_cash.php


Thats the error, and I went into mysql > data > infernosuite and hadn't seen BBcash, Im using PHP nuke 7.6 I think someone did a Mysql injection, because there never was "BBcash" on the database, but now for some reason it wants it... is there anyway i could make it to where it wouldnt ask me for it so i can access my PHPbb forum admin (CP). The PHPBB forum version im using is: PHPBB 2.0.11

Oh yeah and also I editted my other thread about this problem into something else so it wouldnt be reposting the same thread... anyways if anyone can help me on this its greatly appreciated!
 
View user's profile Send private message
hitwalker
Sells PC To Pay For Divorce



Joined:
Posts: 5661

PostPosted: Tue Nov 15, 2005 2:10 pm Reply with quote

well if its any help i dont know but are you using a cash mod ?
For some reason..it looks for the inferno_suite.nuke_bbcash
But if you look closely it has a dot in the middle.
cause like this it will never work cause there isnt any working nuke prefix like this.
Probably your database name is inferno_suite ?
 
View user's profile Send private message
evaders99
Former Moderator in Good Standing



Joined: Apr 30, 2004
Posts: 3221

PostPosted: Tue Nov 15, 2005 4:47 pm Reply with quote

The dot is fine, it means its looking at the database "inferno_suite" and the table name "nuke_bbcash"

If you didn't install the Cash mod, then why do you have this file? Is it another prepackaged distribution of phpNuke?

_________________
- Only registered users can see links on this board! Get registered or login! -

Need help? Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Visit poster's website
hitwalker







PostPosted: Tue Nov 15, 2005 4:49 pm Reply with quote

Didnt i said exactly that ?
 
mathewps2







PostPosted: Tue Nov 15, 2005 5:03 pm Reply with quote

Well i tried upgrading... anyways how do i take out the cash mod, or if i need to i can download it, but where? i know that it means .infernsuite as the database, i looked in there and couldnt find a cash table, the big problem is that i cant access my PHPbb forum admin because of that one error. I can either find the download for the Nukecash, or make it to where it doesnt require that. Im a noob at mysql, and websites lol


Last edited by mathewps2 on Wed Nov 16, 2005 12:27 am; edited 1 time in total 
hitwalker







PostPosted: Tue Nov 15, 2005 5:08 pm Reply with quote

well Evaders99 question was relevant,didnt you installed it?
Any info as to how it got installed ?
 
mathewps2







PostPosted: Wed Nov 16, 2005 12:27 am Reply with quote

im not really sure on how i installed it... i just want it to where i can use my forums without getting that dumb error... if there is any place where i can download a Nukecash mod for the phpBB forum im using, would you know where to get it? i mean the database file...
 
hitwalker







PostPosted: Wed Nov 16, 2005 4:10 am Reply with quote

sure i will save your day.
I highly recommend you check the involved tables.

Check if you see these in your bbconfig..
Code:
INSERT INTO nuke_bbconfig (config_name, config_value) VALUES ('cash_disable',0);

INSERT INTO nuke_bbconfig (config_name, config_value) VALUES ('cash_display_after_posts',1);
INSERT INTO nuke_bbconfig (config_name, config_value) VALUES ('cash_post_message','You earned %s for that post');
INSERT INTO nuke_bbconfig (config_name, config_value) VALUES ('cash_disable_spam_num',10);
INSERT INTO nuke_bbconfig (config_name, config_value) VALUES ('cash_disable_spam_time',24);
INSERT INTO nuke_bbconfig (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 nuke_bbconfig (config_name, config_value) VALUES ('cash_installed','yes');
INSERT INTO nuke_bbconfig (config_name, config_value) VALUES ('cash_version','2.2.1');
INSERT INTO nuke_bbconfig (config_name, config_value) VALUES ('cash_adminbig','0');
INSERT INTO nuke_bbconfig (config_name, config_value) VALUES ('cash_adminnavbar','1');
INSERT INTO nuke_bbconfig (config_name, config_value) VALUES ('points_name','Points');



next part,your so desired table  :)



CREATE TABLE nuke_bbcash (
  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)
);


Nice huh....
But there's more :)



CREATE TABLE nuke_bbcash_events (
  event_name varchar(32) NOT NULL default '',
  event_data varchar(255) NOT NULL default '',
  PRIMARY KEY  (event_name)
);


and this...


CREATE TABLE nuke_bbcash_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)
);


No...not done yet...


CREATE TABLE nuke_bbcash_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)
);



and the last one.....



CREATE TABLE nuke_bbcash_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)
);



thats it,
 
CurtisH
Life Cycles Becoming CPU Cycles



Joined: Mar 15, 2004
Posts: 638
Location: West Branch, MI

PostPosted: Wed Nov 16, 2005 6:43 am Reply with quote

It seems like the cash mod is included as an add on resource for the version of Platinum that comes with Inferno.

Looks like hitwalker has provided you with the SQL which may solve your error for you just fine. Smile

If it doesn't you can always download the cash mod and go over the installation to either "make sure" it is installed correctly, or uninstall it.

_________________
Those who dream by day are cognizant of many things which escape those who dream only by night. ~Poe 
View user's profile Send private message Visit poster's website Yahoo Messenger
mathewps2







PostPosted: Wed Nov 16, 2005 6:16 pm Reply with quote

Thanks hitwalker, ill try that out right now to see if it works. Thanks for helping me out I appreciate all the help!
 
hitwalker







PostPosted: Wed Nov 16, 2005 6:19 pm Reply with quote

good luck
 
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> phpnuke 7.6

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©