1
MacKnIss
User Rank Error
  • 2006/4/6 12:13

  • MacKnIss

  • Just popping in

  • Posts: 20

  • Since: 2004/7/11


When I try to create a "new" user rank or even edit a user rank, I get the following error:

"Failed storing rank data into the database"

What would cause this to happen?

2
zoullou
Re: User Rank Error
  • 2006/4/6 12:21

  • zoullou

  • Quite a regular

  • Posts: 250

  • Since: 2004/3/2 0


Try to turn your site in php debug or SQL debug to have more info

3
LaYkE
Re: User Rank Error
  • 2006/7/25 11:10

  • LaYkE

  • Just popping in

  • Posts: 5

  • Since: 2006/7/21


Don't suppose there is a fix for this? I'm getting it with the latest version. It seems it's only for special ranks though, I can create and edit standard ranks easily enough.

I have tried a search and find nothing else on the subject. Also I have no idea how to set XOOPS to debug in php?

Anyone?

Thanks,
Pete

4
frankblack
Re: User Rank Error
  • 2006/7/25 11:20

  • frankblack

  • Just can't stay away

  • Posts: 830

  • Since: 2005/6/13


You can turn on debug in administration / system / preferences / general settings.

Select one of the first two options and submit the form, then try it again what you did with your ranks. There must be some errors displayed.

Copy the errors and post them here.

5
LaYkE
Re: User Rank Error
  • 2006/7/25 16:56

  • LaYkE

  • Just popping in

  • Posts: 5

  • Since: 2006/7/21


First off thanks for the help FrankB.

SELECT FROM xoops_config WHERE (conf_modid '0' AND conf_catid '1'ORDER BY conf_order ASC
SELECT sess_data FROM xoops_session WHERE sess_id 
'76238965dff4e5475370d5ad134d3cbe'
SELECT FROM xoops_users WHERE uid=1
SELECT 
FROM xoops_modules WHERE dirname 'system'
UPDATE xoops_ranks SET rank_title 'test'rank_min = -1rank_max = -1rank_special 1 WHERE rank_id 17
Error number
1264
Error message
Out of range value adjusted for column 'rank_min' at row 1
SELECT 
FROM xoops_group_permission WHERE (gperm_name 'module_admin' AND gperm_modid '1' AND (gperm_groupid '1' OR gperm_groupid '2'))


UPDATE xoops_ranks SET rank_title = 'test', rank_min = -1, rank_max = -1, rank_special = 1 WHERE rank_id = 17
Error number: 1264


This is the only error I can find and it was listed in the queries window all errors showed nothing. I've also tried changing the post min and max.

Login

Who's Online

369 user(s) are online (304 user(s) are browsing Support Forums)


Members: 0


Guests: 369


more...

Donat-O-Meter

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

Latest GitHub Commits