Hey guys im getting this error when i go to intilize the module. can someone give me some advice on how to fix it..
CREATETABLEFAILED Error: Table 'nuke_membersonline_groups' already exists
Watch
GitHub Core
Show your support for Zikula! Sign up at Github account and watch the Core project!
GitHub Modules
- mesteele101 responded to »ERR (3): E_USER_ERROR: Smarty error: [in pagesvar:pagesitem2en line XXX]…« 07:01 AM
- mazdev responded to »Pages 2.5.0 and updating - Page not found« 06:41 AM
- ehdwma created topic »Hide "Register new account" and change template to 3 col« 06:27 AM
- mesteele101 responded to »Zikula 1.3.3 - Selecting a category in Pages not working« 01:29 AM
- mdee created topic »How to implement returnpage ?« 01:00 AM
- nestormateo responded to »Fillters in Clip« 24. May
- damon responded to »Can the Updated Version Check be Turned Off (Z 1.3)« 24. May
Zikula Blog
- Anatomy of Open Source Projects on Mar 07
- Continuous Review on Mar 01
- Not Invented Here on Feb 24
- How to Contribute Your Code at Github on Jan 13
- 10 Steps to Coding-Nirvana: Tips for Successful Module Writing on Nov 12
- Submitting Bug Report Tickets That Get Results on Aug 17
- Cozi Tricks #1: Syntax Highlighting on Aug 07
Login
I-Mod Members Online Module Problem
-
**unknown user**
- Rank: Freshman
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 78
Log into your database via a database editor (i.e. phpMyAdmin), go into your PostNuke database, and scroll until you find the table called "nuke_membersonline_groups"...
Does it exist? It probably does, as the error above suggests.
Then click on "Browse" to see what data is in the table...Is it empty? It may or may not be.
Now, open up a text editor, and open the file on your harddrive called "install.php" in the module directory that you're trying to initialize...Scroll through that file until you find something that looks like this...
Code
"CREATE TABLE ".$mon_prefix."_membersonline_groups (
root_id int(5) unsigned NOT NULL auto_increment,
papa_id int(5) unsigned NOT NULL default '0',
cat_name varchar(50) NOT NULL,
cat_desc varchar(50) NOT NULL,
cat_add_date int(11) NOT NULL default '0',
cat_img text NOT NULL,
nbads int(11) NOT NULL default '0',
lang varchar(5) NOT NULL default '0',
PRIMARY KEY ( root_id )
root_id, papa_id, etc...Will all be different, but there will be a create table block similar to the above. Compare the list of fields in install.php with the field names in the table in phpMyAdmin...If they are identical...Identical...Then you can probably delete the table in phpMyAdmin and initialize the module with no problems. :)
Now, be careful you only delete the nuke_membersonline_groups table, not the entire database!!! Probably wouldn't be a bad idea to back up your database before doing any of this, too.
- Moderated by:
- Support
