1
Arowana
xCredits Help
  • 2004/9/25 20:12

  • Arowana

  • Friend of XOOPS

  • Posts: 323

  • Since: 2004/8/6 2


Ok Guys,

Daniel Hall did the Core programming of the xCredits and he is moving this weekend so I really cant count on him to help me out here. I modified the module and on the admin side you SHOULD be able to edit the groups but it is not working right anymore.

ok I turned on mySQL debuggin and I got this:

INSERT INTO credits_type(name,weight) VALUES ('',)
Error number: 1064
Error message: 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 ')' at line 1

Then I turned on PHP Debuggin and I got this


Undefined variable: t_action in file modules/credits/admin/index.php line 274
Notice [PHP]: Undefined variable: id in file modules/credits/admin/index.php line 274
Notice [PHP]: Undefined variable: name in file modules/credits/admin/index.php line 274
Notice [PHP]: Undefined variable: weight in file modules/credits/admin/index.php line 274


So I guess I have to define it but I dont know how remember I am not a programmer can anyone help me out?

Thanks Arowana

2
Arowana
Re: xCredits Help
  • 2004/9/26 5:43

  • Arowana

  • Friend of XOOPS

  • Posts: 323

  • Since: 2004/8/6 2


edit the file credits/admin/index.php
find the six (6) spelling mistakes of
"credits_type"

and change it to

"credit_types"


download the module again

Login

Who's Online

143 user(s) are online (75 user(s) are browsing Support Forums)


Members: 0


Guests: 143


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits