Skeletron wrote: Hi, I recently installed the bank mod on my site which is running phpnuke 8.1, I noticed after I had installed the mod that it said up to 7.5 but it was showing up on my site but not in the admin panel. I went through the files and reuploaded it then I noticed that it was down in the "users admin" so I guess it was there all along, then I configured it and went to the bank on my forums and it worked and said createa bank account, so I did, then I wanted to test it so I typed in an amount and click deposit and then it came up with a message saying "You do not have that much to deposite!" so I went through the bank.php over and over again and never found anything wrong and tryed different things and I can't for the life of me figure out whats wrong. I will add the depostie section of the code below so that maybe you can tell me whats wrong. Thanks, Tyler
Posted: Tue Oct 09, 2007 12:58 am
admin(Mark) wrote: That error seems to be generated from the following line:
Do you have enough points? or does your nuke_users table have a user_points column? Posted: Tue Oct 09, 2007 1:04 am
Skeletron wrote: I have plenty of points so I don't think it would be that and also I was just typing in like 1 and 10 points to deposite. With the nuke_users take I do have the points colum so I yea. This is realy weird how it does this. Just once I tryed this just to see if it changed anything but I swiched the ">" to a "-" and it made it say "Invalid number or invalid charechter" Posted: Tue Oct 09, 2007 1:14 am
admin(Mark) wrote: Lets do a test to see if the script is getting the user_points. On a new line above the codes I pointed to in my previous post, add the following then save and retry. It should echo your points.
Let me know if your points are displayed above the error. Posted: Tue Oct 09, 2007 1:31 am
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||