Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> CNB Your Account
Author Message
mpt55
New Member
New Member



Joined: Jan 23, 2006
Posts: 6

PostPosted: Mon Jan 23, 2006 6:30 am Reply with quote

When trying to PROMOTE any user I get this ERROR:

ERROR: There was a problem with the database.

phpnuke version: 7.9.031
CNBYA version: 442
nuke_users table:
MySQL 4.1.16-standard

# --------------------------------------------------------
#
# Table structure for table `nuke_users`
#

DROP TABLE IF EXISTS `nuke_users`;
CREATE TABLE `nuke_users` (
`user_id` int(11) NOT NULL auto_increment,
`name` varchar(60) NOT NULL default '',
`username` varchar(25) NOT NULL default '',
`user_email` varchar(255) NOT NULL default '',
`femail` varchar(255) NOT NULL default '',
`user_website` varchar(255) NOT NULL default '',
`user_avatar` varchar(255) NOT NULL default '',
`user_regdate` varchar(20) NOT NULL default '',
`user_icq` varchar(15) default NULL,
`user_occ` varchar(100) default NULL,
`user_from` varchar(100) default NULL,
`user_interests` varchar(150) NOT NULL default '',
`user_sig` varchar(255) default NULL,
`user_viewemail` tinyint(2) default NULL,
`user_theme` int(3) default NULL,
`user_aim` varchar(18) default NULL,
`user_yim` varchar(25) default NULL,
`user_msnm` varchar(25) default NULL,
`user_password` varchar(40) NOT NULL default '',
`storynum` tinyint(4) NOT NULL default '10',
`umode` varchar(10) NOT NULL default '',
`uorder` tinyint(1) NOT NULL default '0',
`thold` tinyint(1) NOT NULL default '0',
`noscore` tinyint(1) NOT NULL default '0',
`bio` tinytext NOT NULL,
`ublockon` tinyint(1) NOT NULL default '0',
`ublock` tinytext NOT NULL,
`theme` varchar(255) NOT NULL default '',
`commentmax` int(11) NOT NULL default '4096',
`counter` int(11) NOT NULL default '0',
`newsletter` int(1) NOT NULL default '0',
`user_posts` int(10) NOT NULL default '0',
`user_attachsig` int(2) NOT NULL default '0',
`user_rank` int(10) NOT NULL default '0',
`user_level` int(10) NOT NULL default '1',
`broadcast` tinyint(1) NOT NULL default '1',
`popmeson` tinyint(1) NOT NULL default '0',
`user_active` tinyint(1) default '1',
`user_session_time` int(11) NOT NULL default '0',
`user_session_page` smallint(5) NOT NULL default '0',
`user_lastvisit` int(11) NOT NULL default '0',
`user_timezone` tinyint(4) NOT NULL default '10',
`user_style` tinyint(4) default NULL,
`user_lang` varchar(255) NOT NULL default 'english',
`user_dateformat` varchar(14) NOT NULL default 'D M d, Y g:i a',
`user_new_privmsg` smallint(5) unsigned NOT NULL default '0',
`user_unread_privmsg` smallint(5) unsigned NOT NULL default '0',
`user_last_privmsg` int(11) NOT NULL default '0',
`user_emailtime` int(11) default NULL,
`user_allowhtml` tinyint(1) default '1',
`user_allowbbcode` tinyint(1) default '1',
`user_allowsmile` tinyint(1) default '1',
`user_allowavatar` tinyint(1) NOT NULL default '1',
`user_allow_pm` tinyint(1) NOT NULL default '1',
`user_allow_viewonline` tinyint(1) NOT NULL default '1',
`user_notify` tinyint(1) NOT NULL default '0',
`user_notify_pm` tinyint(1) NOT NULL default '0',
`user_popup_pm` tinyint(1) NOT NULL default '0',
`user_avatar_type` tinyint(4) NOT NULL default '3',
`user_sig_bbcode_uid` varchar(10) default NULL,
`user_actkey` varchar(32) default NULL,
`user_newpasswd` varchar(32) default NULL,
`points` int(10) default '0',
`last_ip` varchar(15) NOT NULL default '0',
`karma` tinyint(1) default '0',
PRIMARY KEY (`user_id`),
KEY `uid` (`user_id`),
KEY `uname` (`username`),
KEY `user_session_time` (`user_session_time`),
KEY `karma` (`karma`)
) TYPE=MyISAM AUTO_INCREMENT=3 ;

#
# Dumping data for table `nuke_users`
#
# --------------------------------------------------------
 
View user's profile Send private message
hitwalker
Sells PC To Pay For Divorce



Joined:
Posts: 5661

PostPosted: Mon Jan 23, 2006 1:04 pm Reply with quote

Huh?
What you mean by "PROMOTE any user" ?
And why the posting of the table?
And btw...cnb your account isnt originally for 7.9 ....
 
View user's profile Send private message
mpt55







PostPosted: Tue Jan 24, 2006 1:17 am Reply with quote

Well I'm using PC-Nuke.. and they told me to come ask in here.

I thought you might be able to help me on this problem.. and the only thing that dont work in that module is the Promote user function.

everything else works.. Was hoping you could find the problem and let me know..

If i'm wrong then i'm sorry for bugging you.. I was just looking for alittle support on this ..
I'm sure it's a coding problem.. cause I only get it when I go to Promote someone to Admin. and it's sql error like it's not talk to the sql database right.
 
hitwalker







PostPosted: Tue Jan 24, 2006 7:32 am Reply with quote

Huh?
well pc-nuke is another nuke version from outaspace,and combining it with cnbya that is original for the nuke 7.5 but also works with 7.6 isnt such a great idea cause you will run into problems like your having now.
The new version of cnbya should be released by now but its still not..Sad
 
mpt55







PostPosted: Tue Jan 24, 2006 9:29 am Reply with quote

Well Pc-Nuke is the people that placed it in thier nuke verison and it's the fersion I posted at the top.... if it's not compatible with phpnuke version: 7.9.031
Then i'm just going to have to wait till the come out with a compatible version I can use..

Thank for all the help.. I know now that there is nothing I can do but wait for the code change to work with 7.9 phpnuke...
 
hitwalker







PostPosted: Tue Jan 24, 2006 9:48 am Reply with quote

well it sure is better to wait for the new version,at this mnoment you only have a problem with one function so its not so bad.
 
mpt55







PostPosted: Tue Jan 24, 2006 9:50 am Reply with quote

This is true, and we can all use the main account I trust them enough to let them use the god account..

just would be nice to have it all working.. and for them to have there own login..

oh well...
 
sixonetonoffun
Spouse Contemplates Divorce



Joined: Jan 02, 2003
Posts: 2496

PostPosted: Tue Jan 24, 2006 4:28 pm Reply with quote

It should be fairly easy to fix the Promote function but you'll have to compare the authors table of pcnuke to the insert statement for the function.

_________________
[b][size=5]openSUSE 11.4-x86 | Linux 2.6.37.1-1.2desktop i686 | KDE: 4.6.41>=4.7 | XFCE 4.8 | AMD Athlon(tm) XP 3000+ | MSI K7N2 Delta-L | 3GB Black Diamond DDR
| GeForce 6200@433Mhz 512MB | Xorg 1.9.3 | NVIDIA 270.30[/size:2b8 
View user's profile Send private message
hitwalker







PostPosted: Tue Jan 24, 2006 4:32 pm Reply with quote

He..sixonetonoffun,nice to see your still around... Smile
Well about this....a lot of people asked by now when the new version is released...
if the waiting continues its old compared to the current nuke..
 
mpt55







PostPosted: Wed Jan 25, 2006 8:00 am Reply with quote

sixonetonoffun wrote:
It should be fairly easy to fix the Promote function but you'll have to compare the authors table of pcnuke to the insert statement for the function.


thanks... However I'm not sure on how to do this. o if there is anyway you could help me or find a walk through To help me figure it out..

I would appreciate very much..

sorry for sounding like a noob.. I'm not great wih the coding stuff..
I can change it but I need more info on where to find the authors tables
and then on where to insert it once I have it..

I know there are statements in the promoteconf.php file that tell it what it is doing.. and in the promote.php..... the authors told me to place a few lines in the englishlang.php that wasn't put in the file.. but it didn't help to much.
If you need something from the author posted to figure it out please let me know iand i'll be glad to do so..

Thanks again..
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> CNB Your Account

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 ©