[HELP] Cms + Db problems

C0MB4T122

New Member
Aug 15, 2016
25
0
Hey Devbest users,

I've got a problem, i use BrainCms 1.5.0 but i tryed changing from emulator now i did that i have one problem
i am using plusemu but i wanted another plusemu with more features but now i added some tabs in the user table is my register bugging,
when i try to register its not saving any information in the database or anything else tabs is added are,

PHP:
`last_offline` int(11) DEFAULT '0',
`disabled` enum('1','0') DEFAULT '0',
`keycompte` varchar(4) DEFAULT NULL,
`jetons` int(11) NOT NULL,
`trusted_points` int(10) unsigned DEFAULT '10',
`prison` int(1) NOT NULL DEFAULT '0',
`relation` int(1) NOT NULL DEFAULT '0',
`seckey` varchar(999) NOT NULL DEFAULT 'kuk',
`Lang` varchar(999) NOT NULL DEFAULT 'SWE',
it looks like this
Screen:

i dont know how the problem can be solved but when i look in my class.user i see something of inserting database information when creating an account the class.user looks like this

Pastebin to Class.users:

is there anyone that can solve this?

Thanks anyways <3

With best regards,
C0MB4T
 

Zaka

Programmer
Feb 9, 2012
471
121
Hey Devbest users,

I've got a problem, i use BrainCms 1.5.0 but i tryed changing from emulator now i did that i have one problem
i am using plusemu but i wanted another plusemu with more features but now i added some tabs in the user table is my register bugging,
when i try to register its not saving any information in the database or anything else tabs is added are,

PHP:
`last_offline` int(11) DEFAULT '0',
`disabled` enum('1','0') DEFAULT '0',
`keycompte` varchar(4) DEFAULT NULL,
`jetons` int(11) NOT NULL,
`trusted_points` int(10) unsigned DEFAULT '10',
`prison` int(1) NOT NULL DEFAULT '0',
`relation` int(1) NOT NULL DEFAULT '0',
`seckey` varchar(999) NOT NULL DEFAULT 'kuk',
`Lang` varchar(999) NOT NULL DEFAULT 'SWE',
it looks like this
Screen:

i dont know how the problem can be solved but when i look in my class.user i see something of inserting database information when creating an account the class.user looks like this

Pastebin to Class.users:

is there anyone that can solve this?

Thanks anyways <3

With best regards,
C0MB4T
My advice is to use something that is better coded. His classes are a mess, thats not Object-orientated at all, like he has some code there which should be in their own files and not in functions. The code is all messy, but from what I could see it should be the 'jetons' column that is set to NOT NULL but doesn't have a default value. So you gotta set a default value on 'jetons' and you should be good to go.
 

Users who are viewing this thread

Top