Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> How To's
Author Message
majk
New Member
New Member



Joined: Dec 10, 2004
Posts: 15

PostPosted: Wed Jan 26, 2005 3:01 pm Reply with quote

So have I got this right, I copied the script Raven posted and named it convert.php and uploaded it into my phpNuke site.
Then I entered the adress to in my browser, [ Only registered users can see links on this board! Get registered or login! ]
But nothing happens?!
Must the forum and the phpNuke site use the same database?

Or is it just me that are totally lost now?
 
View user's profile Send private message
Grillo
New Member
New Member



Joined: Jan 30, 2005
Posts: 2

PostPosted: Sun Jan 30, 2005 5:47 am Reply with quote

I did everthing (i guess) and i have this messages:

On the memberlist:
Quote:
phpBB : Critical Error

Could not get theme data for themes_id [1]


and on the forums:
Quote:
phpBB : Critical Error

Could not get theme data for themes_id [1]
2

Can someone help me out? Smile Thx
 
View user's profile Send private message
Grillo







PostPosted: Mon Jan 31, 2005 1:46 am Reply with quote

Bump
 
chatserv
Member Emeritus



Joined: May 02, 2003
Posts: 1389
Location: Puerto Rico

PostPosted: Mon Jan 31, 2005 1:16 pm Reply with quote

Through phpMyAdmin check the bbconfig db table and make sure default_style is set to 1, if it isn't change it, if it is rebuild the bbtheme tables, drop both and recreate using the code below.
Code:
CREATE TABLE nuke_bbthemes (

  themes_id mediumint(8) unsigned NOT NULL auto_increment,
  template_name varchar(30) NOT NULL default '',
  style_name varchar(30) NOT NULL default '',
  head_stylesheet varchar(100) default NULL,
  body_background varchar(100) default NULL,
  body_bgcolor varchar(6) default NULL,
  body_text varchar(6) default NULL,
  body_link varchar(6) default NULL,
  body_vlink varchar(6) default NULL,
  body_alink varchar(6) default NULL,
  body_hlink varchar(6) default NULL,
  tr_color1 varchar(6) default NULL,
  tr_color2 varchar(6) default NULL,
  tr_color3 varchar(6) default NULL,
  tr_class1 varchar(25) default NULL,
  tr_class2 varchar(25) default NULL,
  tr_class3 varchar(25) default NULL,
  th_color1 varchar(6) default NULL,
  th_color2 varchar(6) default NULL,
  th_color3 varchar(6) default NULL,
  th_class1 varchar(25) default NULL,
  th_class2 varchar(25) default NULL,
  th_class3 varchar(25) default NULL,
  td_color1 varchar(6) default NULL,
  td_color2 varchar(6) default NULL,
  td_color3 varchar(6) default NULL,
  td_class1 varchar(25) default NULL,
  td_class2 varchar(25) default NULL,
  td_class3 varchar(25) default NULL,
  fontface1 varchar(50) default NULL,
  fontface2 varchar(50) default NULL,
  fontface3 varchar(50) default NULL,
  fontsize1 tinyint(4) default NULL,
  fontsize2 tinyint(4) default NULL,
  fontsize3 tinyint(4) default NULL,
  fontcolor1 varchar(6) default NULL,
  fontcolor2 varchar(6) default NULL,
  fontcolor3 varchar(6) default NULL,
  span_class1 varchar(25) default NULL,
  span_class2 varchar(25) default NULL,
  span_class3 varchar(25) default NULL,
  img_size_poll smallint(5) unsigned default NULL,
  img_size_privmsg smallint(5) unsigned default NULL,
  PRIMARY KEY  (themes_id)
) TYPE=MyISAM;

INSERT INTO nuke_bbthemes VALUES (1, 'subSilver', 'subSilver', 'subSilver.css', '', '0E3259', '000000', '006699', '5493B4', '', 'DD6900', 'EFEFEF', 'DEE3E7', 'D1D7DC', '', '', '', '98AAB1', '006699', 'FFFFFF', 'cellpic1.gif', 'cellpic3.gif', 'cellpic2.jpg', 'FAFAFA', 'FFFFFF', '', 'row1', 'row2', '', 'Verdana, Arial, Helvetica, sans-serif', 'Trebuchet MS', 'Courier, \'Courier New\', sans-serif', 10, 11, 12, '444444', '006600', 'FFA34F', '', '', '', NULL, NULL);

CREATE TABLE nuke_bbthemes_name (
  themes_id smallint(5) unsigned NOT NULL default '0',
  tr_color1_name char(50) default NULL,
  tr_color2_name char(50) default NULL,
  tr_color3_name char(50) default NULL,
  tr_class1_name char(50) default NULL,
  tr_class2_name char(50) default NULL,
  tr_class3_name char(50) default NULL,
  th_color1_name char(50) default NULL,
  th_color2_name char(50) default NULL,
  th_color3_name char(50) default NULL,
  th_class1_name char(50) default NULL,
  th_class2_name char(50) default NULL,
  th_class3_name char(50) default NULL,
  td_color1_name char(50) default NULL,
  td_color2_name char(50) default NULL,
  td_color3_name char(50) default NULL,
  td_class1_name char(50) default NULL,
  td_class2_name char(50) default NULL,
  td_class3_name char(50) default NULL,
  fontface1_name char(50) default NULL,
  fontface2_name char(50) default NULL,
  fontface3_name char(50) default NULL,
  fontsize1_name char(50) default NULL,
  fontsize2_name char(50) default NULL,
  fontsize3_name char(50) default NULL,
  fontcolor1_name char(50) default NULL,
  fontcolor2_name char(50) default NULL,
  fontcolor3_name char(50) default NULL,
  span_class1_name char(50) default NULL,
  span_class2_name char(50) default NULL,
  span_class3_name char(50) default NULL,
  PRIMARY KEY  (themes_id)
) TYPE=MyISAM;

INSERT INTO nuke_bbthemes_name VALUES (1, 'The lightest row colour', 'The medium row color', 'The darkest row colour', '', '', '', 'Border round the whole page', 'Outer table border', 'Inner table border', 'Silver gradient picture', 'Blue gradient picture', 'Fade-out gradient on index', 'Background for quote boxes', 'All white areas', '', 'Background for topic posts', '2nd background for topic posts', '', 'Main fonts', 'Additional topic title font', 'Form fonts', 'Smallest font size', 'Medium font size', 'Normal font size (post body etc)', 'Quote & copyright text', 'Code text colour', 'Main table header text colour', '', '', '');
 
View user's profile Send private message Visit poster's website
gammo
New Member
New Member



Joined: Feb 15, 2005
Posts: 13

PostPosted: Tue Feb 15, 2005 10:50 pm Reply with quote

I did everything it says here, using the posted conversion/transfer script, everything has worked fine.

At first I got this error:

Code:
phpBB : Critical Error 


Could not get theme data for themes_id [1]


So I used the updated tables code that chatserv posted, and it worked fine, I set about configuring the general options of the forum, when I hit the submit button down the bottom it gave me this:

Code:
phpBB : Critical Error 


Could not get theme data for themes_id [14]


Wich in fact closes down anythign to do with the forums. Now they do not work.

I did a fresh install on Nuke portal, the first install I used it as a testing ground as I never used one before. In it I had installed around 14 different themes, but when i felt confident enought to go for real I deleted all SQL tables and ALL files off the server, before doing a fresh reinstall, even the SQL database is named differently.

Can anyone help me please.
 
View user's profile Send private message Visit poster's website
chatserv







PostPosted: Wed Feb 16, 2005 12:08 am Reply with quote

Run the following through phpMyAdmin:

Code:
UPDATE nuke_bbconfig SET config_value='1' where config_name='default_style';
 
gammo







PostPosted: Wed Feb 16, 2005 12:20 am Reply with quote

I'm not sure were to run that, on wich table, so I ran it on the whole database I guess and then specificlly ran it on nuke_bbconfig. (My skill level in all of this, is quite low).

It gave me this return:

Code:
Affected rows: 0 (Query took 0.0003 sec)  

SQL-query:
UPDATE nuke_bbconfig SET config_value = '1' WHERE config_name = 'default_style'


To me it looks like the entry for 'default_style' does not exist and I still get this error when trying to open up the forums:


Code:
phpBB : Critical Error 


Could not get theme data for themes_id [14]


Also I have noticed that I can not change into a different theme from the nuke Admin area in the preferences section.

Did I input the data correctly?

++++++
Edit:

I tried to insert the "default_style" row into nuke_bbconfig and I got this return:

Code:
SQL-query: 


INSERT INTO `nuke_bbconfig` ( `config_name` , `config_value` )
VALUES (

'default_style', '1'
)
MySQL said: 

#1062 - Duplicate entry 'default_style' for key 1


This is getting way beyond me.
 
chatserv







PostPosted: Wed Feb 16, 2005 12:39 am Reply with quote

PM me the site url, add a temp user and an admin with access to the forums to the site and include the login name and pass in the PM.
 
gammo







PostPosted: Wed Feb 16, 2005 12:55 am Reply with quote

chatserv, PM sent.
 
chatserv







PostPosted: Wed Feb 16, 2005 8:56 am Reply with quote

Neither of the logins worked but i was able to see the forum, it doesn't have any data though
 
gammo







PostPosted: Wed Feb 16, 2005 8:59 am Reply with quote

Yes I deleted it...

Im trying it again... now




once I do i will send you a PM with a temp user and Admin user login...

Just thouoght I'd give it one more go....
 
gammo







PostPosted: Wed Feb 16, 2005 9:13 am Reply with quote

No, no luck, now back to theme error

Code:
phpBB : Critical Error 


Could not get theme data for themes_id [1]


I just sent you a PM with login details.
 
chatserv







PostPosted: Wed Feb 16, 2005 11:28 am Reply with quote

Ok forums are now up
 
Naquadah
New Member
New Member



Joined: Feb 16, 2005
Posts: 12

PostPosted: Wed Feb 16, 2005 1:05 pm Reply with quote

Hi! I'm having a similar problem. I want to put my phpBB2 forum into a 7.5 php nuke but I must admit that I have read this thread a lot of times and I even don't get it. Do I have to restore the backup first in the phpbb forum from Nuke (although it gives problems) ?
May someone do it for me if I give him admin rights? Sad

Thanks a lot.
 
View user's profile Send private message
Naquadah







PostPosted: Wed Feb 16, 2005 4:00 pm Reply with quote

This is my site [ Only registered users can see links on this board! Get registered or login! ]
and this is the nuke where i want to put it
usuarios.lycos.es/naqua/html/

thanks, plz help Sad
 
gammo







PostPosted: Wed Feb 16, 2005 5:55 pm Reply with quote

YES!

It is up thank you chatserv...

There WILL be a donation to this site, in the next few days.

I can not express just how greatfull I am.

THANK YOU!!

=]


Last edited by gammo on Wed Feb 16, 2005 6:17 pm; edited 1 time in total 
chatserv







PostPosted: Wed Feb 16, 2005 6:13 pm Reply with quote

Wink
 
gammo







PostPosted: Wed Feb 16, 2005 6:32 pm Reply with quote

May I ask how did you fix it, what was the problem with it, why did it continue to give me that error?

Thanks

=]
 
chatserv







PostPosted: Wed Feb 16, 2005 6:48 pm Reply with quote

the bbthemes db table had an uneven number of fields and the bbthemes_name table had no data
 
gammo







PostPosted: Wed Feb 16, 2005 9:56 pm Reply with quote

ahhh ok... it's like double Ducth to me, but I kinda know what it means.

Thanks you for helping me chatserv, I really appreciate it.

=]
 
gammo







PostPosted: Thu Feb 17, 2005 6:12 am Reply with quote

Sorry about this, but there now seems to be aproblem with Group, Forum and User permissions.

Basically, I can not assign full time clan members to view, edit, etc.. private forums.

In the User Permissions Control area I'm not getting any drop down boxes that allow me to assing certain user permissions for the forums that I set up as private or for moderator access only in the Forum Permissions Control.

Before the transfer it was all set up correctly and everyone had the appropiate access rights. Some of our members are restricted based on their status been of recruit.


In the User Permissions Control I'm getting the categories (Forum | Simple Permissions | Moderator status ) but in the Simple permissions area there is no drop down boxes to assing variebles to that particular player for any particular forum, wich in Forum Permissions Control i set to Private, or Moderator or Admin only access.

Í think the tables might be corrupt, so I looked in MyphpAdmin and all the particular forums I want privatised and I found they are marked with number 3.

Any suggestions as to how to retify these permissions for Forums and users?

Thanks.

=]
 
Naquadah







PostPosted: Thu Feb 17, 2005 7:01 am Reply with quote

what do i have to do first ? I have saved that script into script.php in my desktop.
Do i have to make a backup from the other forum first and restore in it?
I would gladly give the backup and admin if someone could help me Sad
thanks
 
chatserv







PostPosted: Thu Feb 17, 2005 9:29 am Reply with quote

Gammo, pm me ftp details and i'll attempt running a fix group file to see if it helps and could you please post the steps you took to transfer the data for Naquada and any other user's benefit.
 
gammo







PostPosted: Thu Feb 17, 2005 12:23 pm Reply with quote

Ok this is in no way meant the definative document on transfering data from phpBB to phpNuke Content Management Systems (NukeCMS), it is only what I have done in an effort to intergrate my old data into a new portal.

The very first thing you need to do is this:

BACK UP ALL YOUR DATA IN YOUR EXISTING phpBB FORUMS!!!!

That can not be stressed strongly enought, if you do not do it, and run into trouble, then you WILL loose everything, please make backups of your data, then procced.

Before you make the backup thou, take your forums offline and if you have any forums that are makerd as private and require special access/permission rights for certain users to access them. Unblock them, and set them up as normal fully open forums, it just keeps things simple when the transfer initiates. (This may not be a nessecesary step, but in my firts transfer attempt I lost all forums that were marked as private).

Also set your default theme to subSilver, again to keep things simple and straight foward, if you have a customized skin, then you can work on it after the trasnfer is successful, but consider that your theme may not be applicable to the version of your NukeCMS, so keeping that in mind, set your theme for the phpBB to default and inititate your backup.

The script you need to transfer over the phpBB data to the phpNuke is a modified script by RavenphpScripts an is as follows:

Code:
<?php 

/****************************************************************
* phpBB2 to BB2Nuke (c) 2003 Andareed
* Fixed June 2003 UKForums - http://www.ruleit.co.uk/nuke
*
* This converter is released under the GNU GPL license
*
* You will need to manually edit/update your config table
****************************************************************/
/****************************************************************
**
** Tweaked by Gaylen Fraley (Raven)
**
1 - Run the import script
2 - Change the -1 userid to 0 or (1 if 1 is not already used) in nuke_users.
3 - Using phpMyAdmin, change all poster_id from -1 to 0 in nuke_bbposts.
4 - Using phpMyAdmin, change all topics_poster from -1 to 0 in nuke_bbtopics.
5 - Using phpMyAdmin, change all forum_last_poster_id from -1 to 0 in nuke_bbforums.
6 - Manually export/import the wordlist and wordmatch tables.
****************************************************************/

// MODIFY THE ENTRIES BELOW TO YOU DATABASE!!!

set_time_limit(0);
include ("config.php");

//phpBB2 variables
$p_user="phpbb database uname";
$p_pass="phpbb database pass";
$p_db="phpbb database name";
$p_host="localhost";
$p_prefix="phpbb";  //BE SURE TO USE AN UNDERSCORE IF YOUR PREFIX IS phpbb_ .  It is not added in the PHPBB parameters.  It is in the Nuke parameters though.


// DO NOT MODIFY ANYTHING BELOW !!!



//PHP-Nuke Variables from config.php
$n_user="$dbuname";
$n_pass="$dbpass";
$n_db="$dbname";
$n_host="$dbhost";
$n_prefix="$prefix";

//connect to db's
$p_con=mysql_connect($p_host,$p_user,$p_pass) or die('Couldn\'t connect to '.$p_host.' - '.mysql_error());
$n_con=mysql_connect($n_host,$n_user,$n_pass) or die('Couldn\'t connect to '.$n_host.' - '.mysql_error());



error_reporting(E_ALL);

// DELETE OLD TABLE DATA

mysql_select_db($n_db,$n_con) or mysql_error();
mysql_query("DELETE FROM {$n_prefix}_bbauth_access",$n_con) or mysql_error();
mysql_query("DELETE FROM {$n_prefix}_bbbanlist",$n_con) or mysql_error();
mysql_query("DELETE FROM {$n_prefix}_bbcategories",$n_con) or mysql_error();
//mysql_query("DELETE FROM {$n_prefix}_bbconfig",$n_con) or mysql_error();
mysql_query("DELETE FROM {$n_prefix}_bbdisallow",$n_con) or mysql_error();
mysql_query("DELETE FROM {$n_prefix}_bbforum_prune",$n_con) or mysql_error();
mysql_query("DELETE FROM {$n_prefix}_bbforums",$n_con) or mysql_error();
mysql_query("DELETE FROM {$n_prefix}_bbgroups",$n_con) or mysql_error();
mysql_query("DELETE FROM {$n_prefix}_bbposts",$n_con) or mysql_error();
mysql_query("DELETE FROM {$n_prefix}_bbposts_text",$n_con) or mysql_error();
mysql_query("DELETE FROM {$n_prefix}_bbprivmsgs",$n_con) or mysql_error();
mysql_query("DELETE FROM {$n_prefix}_bbprivmsgs_text",$n_con) or mysql_error();
mysql_query("DELETE FROM {$n_prefix}_bbranks",$n_con) or mysql_error();
mysql_query("DELETE FROM {$n_prefix}_bbsearch_results",$n_con) or mysql_error();
//mysql_query("DELETE FROM {$n_prefix}_bbsearch_wordlist",$n_con) or mysql_error();
//mysql_query("DELETE FROM {$n_prefix}_bbsearch_wordmatch",$n_con) or mysql_error();
mysql_query("DELETE FROM {$n_prefix}_bbsessions",$n_con) or mysql_error();
mysql_query("DELETE FROM {$n_prefix}_bbsmilies",$n_con) or mysql_error();
mysql_query("DELETE FROM {$n_prefix}_bbthemes",$n_con) or mysql_error();
mysql_query("DELETE FROM {$n_prefix}_bbthemes_name",$n_con) or mysql_error();
mysql_query("DELETE FROM {$n_prefix}_bbtopics",$n_con) or mysql_error();
mysql_query("DELETE FROM {$n_prefix}_bbtopics_watch",$n_con) or mysql_error();
mysql_query("DELETE FROM {$n_prefix}_bbuser_group",$n_con) or mysql_error();
mysql_query("DELETE FROM {$n_prefix}_users",$n_con) or mysql_error();
mysql_query("DELETE FROM {$n_prefix}_bbvote_desc",$n_con) or mysql_error();
mysql_query("DELETE FROM {$n_prefix}_bbvote_results",$n_con) or mysql_error();
mysql_query("DELETE FROM {$n_prefix}_bbvote_voters",$n_con) or mysql_error();
mysql_query("DELETE FROM {$n_prefix}_bbwords",$n_con) or mysql_error();

// START EXPORTING/IMPORTING

global $row,$result,$count;
mysql_select_db($p_db,$p_con);

// phpbb_auth_access
mysql_select_db($p_db,$p_con);
$result=mysql_query("SELECT * FROM {$p_prefix}auth_access",$p_con);
$count=mysql_num_fields($result);
mysql_select_db($n_db,$n_con) or mysql_error();
while($row=mysql_fetch_array($result))
{
fixQuotes();
mysql_query("INSERT INTO {$n_prefix}_bbauth_access SET
group_id='{$row['group_id']}',
forum_id='{$row['forum_id']}',
auth_view='{$row['auth_view']}',
auth_read='{$row['auth_read']}',
auth_post='{$row['auth_post']}',
auth_reply='{$row['auth_reply']}',
auth_edit='{$row['auth_edit']}',
auth_delete='{$row['auth_delete']}',
auth_sticky='{$row['auth_sticky']}',
auth_announce='{$row['auth_announce']}',
auth_vote='{$row['auth_vote']}',
auth_pollcreate='{$row['auth_pollcreate']}',
auth_attachments='{$row['auth_attachments']}',
auth_mod='{$row['auth_mod']}'
",$n_con) or mysql_error();
}
mysql_free_result($result);

// phpbb_banlist
mysql_select_db($p_db,$p_con);
$result=mysql_query("SELECT * FROM {$p_prefix}banlist",$p_con);
$count=mysql_num_fields($result);
mysql_select_db($n_db,$n_con) or mysql_error();
while($row=mysql_fetch_array($result))
{
fixQuotes();
mysql_query("INSERT INTO {$n_prefix}_banlist SET
ban_id='{$row['ban_id']}',
ban_userid='{$row['ban_userid']}',
ban_ip='{$row['ban_ip']}',
ban_email='{$row['ban_email']}'
",$n_con) or mysql_error();
}
mysql_free_result($result);

// phpbb_categories
mysql_select_db($p_db,$p_con);
$result=mysql_query("SELECT * FROM {$p_prefix}categories",$p_con);
$count=mysql_num_fields($result);
mysql_select_db($n_db,$n_con) or mysql_error();
while($row=mysql_fetch_array($result))
{
fixQuotes();
mysql_query("INSERT INTO {$n_prefix}_bbcategories SET
cat_id='{$row['cat_id']}',
cat_title='{$row['cat_title']}',
cat_order='{$row['cat_order']}'
",$n_con) or mysql_error();
}
mysql_free_result($result);

// phpbb_config
/*mysql_select_db($p_db,$p_con);
$result=mysql_query("SELECT * FROM {$p_prefix}config",$p_con);
$count=mysql_num_fields($result);
mysql_select_db($n_db,$n_con) or mysql_error();
while($row=mysql_fetch_array($result))
{
fixQuotes();
mysql_query("INSERT INTO {$n_prefix}_bbconfig SET
config_name='{$row['config_name']}',
config_value='{$row['config_value']}'
",$n_con) or mysql_error();
}
mysql_free_result($result);*/

// phpbb_disallow
mysql_select_db($p_db,$p_con);
$result=mysql_query("SELECT * FROM {$p_prefix}disallow",$p_con);
$count=mysql_num_fields($result);
mysql_select_db($n_db,$n_con) or mysql_error();
while($row=mysql_fetch_array($result))
{
fixQuotes();
mysql_query("INSERT INTO {$n_prefix}_bbdisallow SET
disallow_id='{$row['disallow_id']}',
disallow_username='{$row['disallow_username']}'
",$n_con) or mysql_error();
}
mysql_free_result($result);

// phpbb_forum_prune
// FIXED BY UKFORUMS
mysql_select_db($p_db,$p_con);
$result=mysql_query("SELECT * FROM {$p_prefix}forum_prune",$p_con);
$count=mysql_num_fields($result);
mysql_select_db($n_db,$n_con) or mysql_error();
while($row=mysql_fetch_array($result))
{

fixQuotes();
mysql_query("INSERT INTO {$n_prefix}_bbforum_prune SET
prune_id='{$row['prune_id']}',
forum_id='{$row['forum_id']}',
prune_days='{$row['prune_days']}',
prune_freq='{$row['prune_freq']}'
",$n_con) or mysql_error();
}
mysql_free_result($result);

// phpbb_forums
mysql_select_db($p_db,$p_con);
$result=mysql_query("SELECT * FROM {$p_prefix}forums",$p_con);
$count=mysql_num_fields($result);
mysql_select_db($n_db,$n_con) or mysql_error();
while($row=mysql_fetch_array($result))
{
fixQuotes();
mysql_query("INSERT INTO {$n_prefix}_bbforums SET
forum_id='{$row['forum_id']}',
cat_id='{$row['cat_id']}',
forum_name='{$row['forum_name']}',
forum_desc='{$row['forum_desc']}',
forum_status='{$row['forum_status']}',
forum_order='{$row['forum_order']}',
forum_posts='{$row['forum_posts']}',
forum_topics='{$row['forum_topics']}',
forum_last_post_id='{$row['forum_last_post_id']}',
prune_next='{$row['prune_next']}',
prune_enable='{$row['prune_enable']}',
auth_view='{$row['auth_view']}',
auth_read='{$row['auth_read']}',
auth_post='{$row['auth_post']}',
auth_reply='{$row['auth_reply']}',
auth_edit='{$row['auth_edit']}',
auth_delete='{$row['auth_delete']}',
auth_sticky='{$row['auth_sticky']}',
auth_announce='{$row['auth_announce']}',
auth_vote='{$row['auth_vote']}',
auth_pollcreate ='{$row['auth_pollcreate']}',
auth_attachments ='{$row['auth_attachments']}'
",$n_con) or mysql_error();
}
mysql_free_result($result);

// phpbb_groups
mysql_select_db($p_db,$p_con);
$result=mysql_query("SELECT * FROM {$p_prefix}groups",$p_con);
$count=mysql_num_fields($result);
mysql_select_db($n_db,$n_con) or mysql_error();
while($row=mysql_fetch_array($result))
{
fixQuotes();
mysql_query("INSERT INTO {$n_prefix}_bbgroups SET
group_id='{$row['group_id']}',
group_type='{$row['group_type']}',
group_name='{$row['group_name']}',
group_description='{$row['group_description']}',
group_moderator='{$row['group_moderator']}',
group_single_user='{$row['group_single_user']}'
",$n_con) or mysql_error();
}
mysql_free_result($result);

// phpbb_posts
mysql_select_db($p_db,$p_con);
$result=mysql_query("SELECT * FROM {$p_prefix}posts",$p_con);
$count=mysql_num_fields($result);
mysql_select_db($n_db,$n_con) or mysql_error();
while($row=mysql_fetch_array($result))
{
fixQuotes();
mysql_query("INSERT INTO {$n_prefix}_bbposts SET
post_id='{$row['post_id']}',
topic_id='{$row['topic_id']}',
forum_id='{$row['forum_id']}',
poster_id='{$row['poster_id']}',
post_time='{$row['post_time']}',
poster_ip='{$row['poster_ip']}',
post_username='{$row['post_username']}',
enable_bbcode='{$row['enable_bbcode']}',
enable_html='{$row['enable_html']}',
enable_smilies='{$row['enable_smilies']}',
enable_sig='{$row['enable_sig']}',
post_edit_time='{$row['post_edit_time']}',
post_edit_count='{$row['post_edit_count']}'
",$n_con) or mysql_error();
}
mysql_free_result($result);

// phpbb_posts_text
mysql_select_db($p_db,$p_con);
$result=mysql_query("SELECT * FROM {$p_prefix}posts_text",$p_con);
$count=mysql_num_fields($result);
mysql_select_db($n_db,$n_con) or mysql_error();
while($row=mysql_fetch_array($result))
{
fixQuotes();
mysql_query("INSERT INTO {$n_prefix}_bbposts_text SET
post_id='{$row['post_id']}',
bbcode_uid='{$row['bbcode_uid']}',
post_subject='{$row['post_subject']}',
post_text='{$row['post_text']}'
",$n_con) or mysql_error();
}
mysql_free_result($result);

// phpbb_privmsgs
mysql_select_db($p_db,$p_con);
$result=mysql_query("SELECT * FROM {$p_prefix}privmsgs",$p_con);
$count=mysql_num_fields($result);
mysql_select_db($n_db,$n_con) or mysql_error();
while($row=mysql_fetch_array($result))
{
fixQuotes();

mysql_query("INSERT INTO {$n_prefix}_bbprivmsgs SET
privmsgs_id='{$row['privmsgs_id']}',
privmsgs_type='{$row['privmsgs_type']}',
privmsgs_subject='{$row['privmsgs_subject']}',
privmsgs_from_userid='{$row['privmsgs_from_userid']}',
privmsgs_to_userid='{$row['privmsgs_to_userid']}',
privmsgs_date='{$row['privmsgs_date']}',
privmsgs_ip='{$row['privmsgs_ip']}',
privmsgs_enable_bbcode='{$row['privmsgs_enable_bbcode']}',
privmsgs_enable_html='{$row['privmsgs_enable_html']}',
privmsgs_enable_smilies='{$row['privmsgs_enable_smilies']}',
privmsgs_attach_sig='{$row['privmsgs_attach_sig']}'
",$n_con) or mysql_error();
}
mysql_free_result($result);

// phpbb_privmsgs_text
mysql_select_db($p_db,$p_con);
$result=mysql_query("SELECT * FROM {$p_prefix}privmsgs_text",$p_con);
$count=mysql_num_fields($result);
mysql_select_db($n_db,$n_con) or mysql_error();
while($row=mysql_fetch_array($result))
{
fixQuotes();
mysql_query("INSERT INTO {$n_prefix}_bbprivmsgs_text SET
privmsgs_text_id='{$row['privmsgs_text_id']}',
privmsgs_bbcode_uid='{$row['privmsgs_bbcode_uid']}',
privmsgs_text='{$row['privmsgs_text']}'
",$n_con) or mysql_error();
}
mysql_free_result($result);

// phpbb_ranks
mysql_select_db($p_db,$p_con);
$result=mysql_query("SELECT * FROM {$p_prefix}ranks",$p_con);
$count=mysql_num_fields($result);
mysql_select_db($n_db,$n_con) or mysql_error();
while($row=mysql_fetch_array($result))
{
fixQuotes();
mysql_query("INSERT INTO {$n_prefix}_bbranks SET
rank_id='{$row['rank_id']}',
rank_title='{$row['rank_title']}',
rank_min='{$row['rank_min']}',
rank_special='{$row['rank_special']}',
rank_image='{$row['rank_image']}'
",$n_con) or mysql_error();
}
mysql_free_result($result);

// phpbb_search_results
mysql_select_db($p_db,$p_con);
$result=mysql_query("SELECT * FROM {$p_prefix}search_results",$p_con);
$count=mysql_num_fields($result);
mysql_select_db($n_db,$n_con) or mysql_error();
while($row=mysql_fetch_array($result))
{
fixQuotes();
mysql_query("INSERT INTO {$n_prefix}_bbsearch_results SET
search_id='{$row['search_id']}',
session_id='{$row['session_id']}',
search_array='{$row['search_array']}'
",$n_con) or mysql_error();
}
mysql_free_result($result);

// phpbb_search_wordlist
/*mysql_select_db($p_db,$p_con);
$result=mysql_query("SELECT * FROM {$p_prefix}search_wordlist",$p_con);
$count=mysql_num_fields($result);
mysql_select_db($n_db,$n_con) or mysql_error();
while($row=mysql_fetch_array($result))
{
fixQuotes();
mysql_query("INSERT INTO {$n_prefix}_bbsearch_wordlist SET
word_text='{$row['word_text']}',
word_id='{$row['word_id']}',
word_common='{$row['word_common']}'
",$n_con) or mysql_error();
}
mysql_free_result($result);*/

// phpbb_search_wordmatch
/*mysql_select_db($p_db,$p_con);
$result=mysql_query("SELECT * FROM {$p_prefix}search_wordmatch",$p_con);
$count=mysql_num_fields($result);
mysql_select_db($n_db,$n_con) or mysql_error();
while($row=mysql_fetch_array($result))
{
fixQuotes();
mysql_query("INSERT INTO {$n_prefix}_bbsearch_wordmatch SET
post_id='{$row['post_id']}',
word_id='{$row['word_id']}',
title_match='{$row['title_match']}'
",$n_con) or mysql_error();
}
mysql_free_result($result);*/

// phpbb_sessions
mysql_select_db($p_db,$p_con);
$result=mysql_query("SELECT * FROM {$p_prefix}sessions",$p_con);
$count=mysql_num_fields($result);
mysql_select_db($n_db,$n_con) or mysql_error();
while($row=mysql_fetch_array($result))
{
fixQuotes();
mysql_query("INSERT INTO {$n_prefix}_bbsessions SET
session_id='{$row['session_id']}',
session_user_id='{$row['session_user_id']}',
session_start='{$row['session_start']}',
session_time='{$row['session_time']}',
session_ip='{$row['session_ip']}',
session_page='{$row['session_page']}',
session_logged_in='{$row['session_logged_in']}'
",$n_con) or mysql_error();
}
mysql_free_result($result);

// phpbb_smilies
mysql_select_db($p_db,$p_con);
$result=mysql_query("SELECT * FROM {$p_prefix}smilies",$p_con);
$count=mysql_num_fields($result);
mysql_select_db($n_db,$n_con) or mysql_error();
while($row=mysql_fetch_array($result))
{
fixQuotes();
mysql_query("INSERT INTO {$n_prefix}_bbsmilies SET
smilies_id='{$row['smilies_id']}',
code='{$row['code']}',
smile_url='{$row['smile_url']}',
emoticon='{$row['emoticon']}'
",$n_con) or mysql_error();
}
mysql_free_result($result);

// phpbb_themes
mysql_select_db($p_db,$p_con);
$result=mysql_query("SELECT * FROM {$p_prefix}themes",$p_con);
$count=mysql_num_fields($result);
mysql_select_db($n_db,$n_con) or mysql_error();
while($row=mysql_fetch_array($result))
{
fixQuotes();
mysql_query("INSERT INTO {$n_prefix}_bbthemes SET
themes_id='{$row['themes_id']}',
template_name='{$row['template_name']}',
style_name='{$row['style_name']}',
head_stylesheet='{$row['head_stylesheet']}',
body_background='{$row['body_background']}',
body_bgcolor='{$row['body_bgcolor']}',
body_text='{$row['body_text']}',
body_link='{$row['body_link']}',
body_vlink='{$row['body_vlink']}',
body_alink='{$row['body_alink']}',
body_hlink='{$row['body_hlink']}',
tr_color1='{$row['tr_color1']}',
tr_color2='{$row['tr_color2']}',
tr_color3='{$row['tr_color3']}',
tr_class1='{$row['tr_class1']}',
tr_class2='{$row['tr_class2']}',
tr_class3='{$row['tr_class3']}',
th_color1='{$row['th_color1']}',
th_color2='{$row['th_color2']}',
th_color3='{$row['th_color3']}',
th_class1='{$row['th_class1']}',
th_class2='{$row['th_class2']}',
th_class3='{$row['th_class3']}',
td_color1='{$row['td_color1']}',
td_color2='{$row['td_color2']}',
td_color3='{$row['td_color3']}',
td_class1='{$row['td_class1']}',
td_class2='{$row['td_class2']}',
td_class3='{$row['td_class3']}',
fontface1='{$row['fontface1']}',
fontface2='{$row['fontface2']}',
fontface3='{$row['fontface3']}',
fontsize1='{$row['fontsize1']}',
fontsize2='{$row['fontsize2']}',
fontsize3='{$row['fontsize3']}',
fontcolor1='{$row['fontcolor1']}',
fontcolor2='{$row['fontcolor2']}',
fontcolor3='{$row['fontcolor3']}',
span_class1='{$row['span_class1']}',
span_class2='{$row['span_class2']}',
span_class3='{$row['span_class3']}',
img_size_poll='{$row['img_size_poll']}',
img_size_privmsg='{$row['img_size_privmsg']}'
",$n_con) or mysql_error();
}
mysql_free_result($result);

// phpbb_themes_name
mysql_select_db($p_db,$p_con);
$result=mysql_query("SELECT * FROM {$p_prefix}themes_name",$p_con);
$count=mysql_num_fields($result);
mysql_select_db($n_db,$n_con) or mysql_error();
while($row=mysql_fetch_array($result))
{
fixQuotes();
mysql_query("INSERT INTO {$n_prefix}_bbthemes_name SET
themes_id='{$row['themes_id']}',
tr_color1_name='{$row['tr_color1_name']}',
tr_color2_name='{$row['tr_color2_name']}',
tr_color3_name='{$row['tr_color3_name']}',
tr_class1_name='{$row['tr_class1_name']}',
tr_class2_name='{$row['tr_class2_name']}',
tr_class3_name='{$row['tr_class3_name']}',
th_color1_name='{$row['th_color1_name']}',
th_color2_name='{$row['th_color2_name']}',
th_color3_name='{$row['th_color3_name']}',
th_class1_name='{$row['th_class1_name']}',
th_class2_name='{$row['th_class2_name']}',
th_class3_name='{$row['th_class3_name']}',
td_color1_name='{$row['td_color1_name']}',
td_color2_name='{$row['td_color2_name']}',
td_color3_name='{$row['td_color3_name']}',
td_class1_name='{$row['td_class1_name']}',
td_class2_name='{$row['td_class2_name']}',
td_class3_name='{$row['td_class3_name']}',
fontface1_name='{$row['fontface1_name']}',
fontface2_name='{$row['fontface2_name']}',
fontface3_name='{$row['fontface3_name']}',
fontsize1_name='{$row['fontsize1_name']}',
fontsize2_name='{$row['fontsize2_name']}',
fontsize3_name='{$row['fontsize3_name']}',
fontcolor1_name='{$row['fontcolor1_name']}',
fontcolor2_name='{$row['fontcolor2_name']}',
fontcolor3_name='{$row['fontcolor3_name']}',
span_class1_name='{$row['span_class1_name']}',
span_class2_name='{$row['span_class2_name']}',
span_class3_name='{$row['span_class3_name']}'
",$n_con) or mysql_error();
}
mysql_free_result($result);

// phpbb_topics
mysql_select_db($p_db,$p_con);
$result=mysql_query("SELECT * FROM {$p_prefix}topics",$p_con);
$count=mysql_num_fields($result);
mysql_select_db($n_db,$n_con) or mysql_error();
while($row=mysql_fetch_array($result))
{
fixQuotes();
mysql_query("INSERT INTO {$n_prefix}_bbtopics SET
topic_id='{$row['topic_id']}',
forum_id='{$row['forum_id']}',
topic_title='{$row['topic_title']}',
topic_poster='{$row['topic_poster']}',
topic_time='{$row['topic_time']}',
topic_views='{$row['topic_views']}',
topic_replies='{$row['topic_replies']}',
topic_status='{$row['topic_status']}',
topic_vote='{$row['topic_vote']}',
topic_type='{$row['topic_type']}',
topic_first_post_id='{$row['topic_first_post_id']}',
topic_last_post_id='{$row['topic_last_post_id']}',
topic_moved_id='{$row['topic_moved_id']}'
",$n_con) or mysql_error();
}
mysql_free_result($result);

// phpbb_topics_watch
mysql_select_db($p_db,$p_con);
$result=mysql_query("SELECT * FROM {$p_prefix}topics_watch",$p_con);
$count=mysql_num_fields($result);
mysql_select_db($n_db,$n_con) or mysql_error();
while($row=mysql_fetch_array($result))
{
fixQuotes();
mysql_query("INSERT INTO {$n_prefix}_bbtopics_watch SET
topic_id='{$row['topic_id']}',
user_id='{$row['user_id']}',
notify_status='{$row['notify_status']}'
",$n_con) or mysql_error();
}
mysql_free_result($result);

// phpbb_user_group
mysql_select_db($p_db,$p_con);
$result=mysql_query("SELECT * FROM {$p_prefix}user_group",$p_con);
$count=mysql_num_fields($result);
mysql_select_db($n_db,$n_con) or mysql_error();
while($row=mysql_fetch_array($result))
{
fixQuotes();
mysql_query("INSERT INTO {$n_prefix}_bbuser_group SET
group_id='{$row['group_id']}',
user_id='{$row['user_id']}',
user_pending='{$row['user_pending']}'
",$n_con) or mysql_error();
}
mysql_free_result($result);

// phpbb_users
//FIXED BY UKFORUMS
mysql_select_db($p_db,$p_con);
$result=mysql_query("SELECT * FROM {$p_prefix}users",$p_con);
$count=mysql_num_fields($result);
mysql_select_db($n_db,$n_con) or mysql_error();
while($row=mysql_fetch_array($result))
{
fixQuotes();
$row['user_regdate'] = date("M j, Y", $row['user_regdate']);
mysql_query("INSERT INTO {$n_prefix}_users SET
user_id='{$row['user_id']}',
user_active='{$row['user_active']}',
name='{$row['username']}',
username='{$row['username']}',
user_password='{$row['user_password']}',
user_session_time='{$row['user_session_time']}',
user_session_page='{$row['user_session_page']}',
user_lastvisit='{$row['user_lastvisit']}',
user_regdate='{$row['user_regdate']}',
user_level='{$row['user_level']}',
user_posts='{$row['user_posts']}',
user_timezone='{$row['user_timezone']}',
user_style='{$row['user_style']}',
user_lang='{$row['user_lang']}',
user_dateformat='{$row['user_dateformat']}',
user_new_privmsg='{$row['user_new_privmsg']}',
user_unread_privmsg='{$row['user_unread_privmsg']}',
user_last_privmsg='{$row['user_last_privmsg']}',
user_emailtime='{$row['user_emailtime']}',
user_viewemail='{$row['user_viewemail']}',
user_attachsig='{$row['user_attachsig']}',
user_allowhtml='{$row['user_allowhtml']}',
user_allowbbcode='{$row['user_allowbbcode']}',
user_allowsmile='{$row['user_allowsmile']}',
user_allowavatar='{$row['user_allowavatar']}',
user_allow_pm='{$row['user_allow_pm']}',
user_allow_viewonline='{$row['user_allow_viewonline']}',
user_notify='{$row['user_notify']}',
user_notify_pm='{$row['user_notify_pm']}',
user_popup_pm='{$row['user_popup_pm']}',
user_rank='{$row['user_rank']}',
user_avatar='{$row['user_avatar']}',
user_avatar_type='{$row['user_avatar_type']}',
user_email='{$row['user_email']}',
user_icq='{$row['user_icq']}',
user_website='{$row['user_website']}',
user_from='{$row['user_from']}',
user_sig='{$row['user_sig']}',
user_sig_bbcode_uid='{$row['user_sig_bbcode_uid']}',
user_aim='{$row['user_aim']}',
user_yim='{$row['user_yim']}',
user_msnm='{$row['user_msnm']}',
user_occ='{$row['user_occ']}',
user_interests='{$row['user_interests']}',
user_actkey='{$row['user_actkey']}',
user_newpasswd='{$row['user_newpasswd']}'
",$n_con) or mysql_error();
}
mysql_free_result($result);

// phpbb_vote_desc
mysql_select_db($p_db,$p_con);
$result=mysql_query("SELECT * FROM {$p_prefix}vote_desc",$p_con);
$count=mysql_num_fields($result);
mysql_select_db($n_db,$n_con) or mysql_error();
while($row=mysql_fetch_array($result))
{
fixQuotes();
mysql_query("INSERT INTO {$n_prefix}_bbvote_desc SET
vote_id='{$row['vote_id']}',
topic_id='{$row['topic_id']}',
vote_text='{$row['vote_text']}',
vote_start='{$row['vote_start']}',
vote_length='{$row['vote_length']}'
      ",$n_con);
}
mysql_free_result($result);

// phpbb_vote_results
mysql_select_db($p_db,$p_con);
$result=mysql_query("SELECT * FROM {$p_prefix}vote_results",$p_con);
$count=mysql_num_fields($result);
mysql_select_db($n_db,$n_con);
while($row=mysql_fetch_array($result))
{
   fixQuotes();
   mysql_query("INSERT INTO {$n_prefix}bbvote_results SET
      vote_id='{$row['vote_id']}',
      vote_option_id='{$row['vote_option_id']}',
      vote_option_text='{$row['vote_option_text']}',
      vote_result='{$row['vote_result']}'
      ",$n_con);
}
mysql_free_result($result);

// phpbb_vote_voters
mysql_select_db($p_db,$p_con);
$result=mysql_query("SELECT * FROM {$p_prefix}vote_voters",$p_con);
$count=mysql_num_fields($result);
mysql_select_db($n_db,$n_con);
while($row=mysql_fetch_array($result))
{
   fixQuotes();
   mysql_query("INSERT INTO {$n_prefix}bbvote_voters SET
      vote_id='{$row['vote_id']}',
      vote_user_id='{$row['vote_user_id']}',
      vote_user_ip='{$row['vote_user_ip']}'
      ",$n_con);
}
mysql_free_result($result);

// phpbb_words
mysql_select_db($p_db,$p_con);
$result=mysql_query("SELECT * FROM {$p_prefix}words",$p_con);
$count=mysql_num_fields($result);
mysql_select_db($n_db,$n_con);
while($row=mysql_fetch_array($result))
{
   fixQuotes();
   mysql_query("INSERT INTO {$n_prefix}bbwords SET
      word_id='{$row['word_id']}',
      word='{$row['word']}',
      replacement='{$row['replacement']}'
      ",$n_con);
}
mysql_free_result($result);

function fixQuotes()
{
   global $row,$result,$count;
   for($i=0;$i<$count;$i++)
   {
      $field=mysql_field_name($result,$i);
      $row[$field]=str_replace("'","\'",$row[$i]);
   }
}

//phpinfo();
?>


Just copy and paste the encapsulated code to your notepad and then edit the following section, please pay close attention to your details, it really has to be spot on.

Code:
// MODIFY THE ENTRIES BELOW TO YOU DATABASE!!! 


set_time_limit(0);
include ("config.php");

//phpBB2 variables
$p_user="phpbb database uname"; <<---The Name of your database User.
$p_pass="phpbb database pass";  <<---The Password you use to access it
$p_db="phpbb database name"; <<---The Name of your database
$p_host="localhost"; <<---The Path MySQL server uses to access the database, Usualy "localhost"by default.
$p_prefix="phpbb";  <<---BE SURE TO USE AN UNDERSCORE IF YOUR PREFIX IS phpbb_ .  It is not added in the PHPBB parameters.  It is in the Nuke parameters though.


// DO NOT MODIFY ANYTHING BELOW !!!



The most important thing you need to take note of here, is the fact that for the transfer script to work, BOTH the phpBB tables & data and the phpNuke tables (With NO data as it is a new installation) have to be in the SAME database. It gets confusing, but look at this example:

Database were you just installed your NukeCMS is:
nukecms
The username is: homer
The pass is: doh!
The Host is default: localhost

Now because the transfer script needs you to have both the phpBB and NukeCMS tables in the ONE single database, then your phpBB information will be the same as your NukeCMS, so it will look like this:

Code:
$p_user="homer"; 

$p_pass="doh!";
$p_db="nukecms";
$p_host="localhost"; 
$p_prefix="phpbb_";


It is very important that you include the underscore in your $p_prefix= line, if your phpBB indeed uses it.

You have to use MyphpAdmin to create the NukeCMS tables and import the phpBB data into the new tables. Making sure that your NukeCMS is empty of all post and users and that your Admin (SuperUser) was not doubled as a normal user. (Depending on the version of NukeCMS you have, the option of making the SuperUser a normal user is made available during the steps of creating the SuperUser, so make sure you do not create a normal user out of the SuperUser)

When you have created and imported everything, then under the one SQL databse you will see two types of table prefixes:

nuke_
phpBB_ (If the underscore is part of your particular phpBB version, look closely)

The nuke_ tabels will be empty and the phpBB_ tabels will contain all your data from your forums. You are now ready to begin the transfer.

But just before that, on a side note that may apply to you, take notice that most host when assigning you SQL rights as part of your webhosting deal, inititally use your main log in name as a prefix to everything that follows in your SQL. So for example if the user name you used to register with your host, it may be your domain name, is "upandover" then your SQL username and databse name will look like:

upandover_nukecms
and
upandover_homer

This is particulary the case if your host uses "cPanelX" as your control interface for your webspace.

So in effect your information would then look like this:

Code:
$p_user="upandover_homer"; 

$p_pass="doh!";
$p_db="upandover_nukecms";
$p_host="localhost"; 
$p_prefix="phpbb_";


So please be sure to pay close attention to your details and particular setup.

When you run the script, it looks like nothing is happening, but the web browser continues to load a page up. When the script is finished your browser opens up a totally blank page. Depending on the size of your phpBB data (I had 3.5MB in 10,223 post + 250 Users) it can take a bit of time, patience and please DO NOT refresh or go back, let the transfer script do its work and let your browser open up a blank page.

Then go into your MyphpAdmin and open up your Nuke Database, and look for "nuke_bbposts" & "nuke_bbpoststext" and you will notice all your post from the phpBB are now imported into your new Nuke. (Of course including all the other data, be sure to check by comparing the two database listings) That's it, if you get any error's then come here and read this post and all the links from it carefully.

Finally if some of you are going to attempt this, I strongly suggest that you read up good and wide about how to do it, and do not think it's easy as pie. It is delicate and requires your utmost attention to detail. Also if you have a very big phpBB backup (MySQL dump) then you can use the following script to get around any web-servers with hard runtime limit and even those in safe mode:

Use this script http://www.ozerov.de/bigdump.php

Thanks to all for your kind help.

Cool

+++++++

What follows were some errors I encountered and the fixes applied to them, here more technically knowledgeble users can contribute data of greater depth.
---

The first error I got was:

Quote:
phpBB : Critical Error

Could not get theme data for themes_id [1]


I thought I fixed it by going into MyphpAdmin and editing the nuke_phpThemes table, changing the Theme id from 14 to 1 and the forums did show up, until I started to configure them in the Admin area for general settings, then I got;

Code:
DEBUG MODE


SQL Error : 1064 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 ') LIMIT 0, 5' at line 9

SELECT DISTINCT(t.topic_id) FROM nuke_bbsearch_wordmatch m, nuke_bbposts p, nuke_bbtopics t WHERE t.topic_id <> 1361 AND t.topic_status <> 2 AND p.topic_id = t.topic_id AND p.post_id = m.post_id AND p.forum_id IN (1, 3, 14, 19, 20, 26, 33, 34, 47, 48, 49, 50, 51, 52) AND m.title_match = 1 AND m.word_id IN () LIMIT 0, 5

Line : 92
File : /home/kaoshq/public_html/includes/functions_related.php



It turned out it had to do, with deleted post in the original phpBB, so I added this:

Code:
edit includes/functions_related.php 


find:

$word_id_sql = implode(', ', $word_ids);

After add:

if ($word_id_sql == NULL) { return; }


Thanks to Technocrat from TechGFX forums for the fix. (http://www.techgfx.com/modules.php?name=Forums&file=viewtopic&t=4076&postdays=0&postorder=asc&start=0 )

But then, once again I was configuring the forums and it came back;

Code:
phpBB : Critical Error 


Could not get theme data for themes_id [1]


To wich chatserv wrote:

Quote:
the bbthemes db table had an uneven number of fields and the bbthemes_name table had no data


He then fixed it.

Upon further configuration of the forums i found that I can not assign full time clan members to view, edit, etc.. private forums.

In the User Permissions Control area I'm not getting any drop down boxes that allow me to assing certain user permissions for the forums that I set up as private or for moderator access only in the Forum Permissions Control.

Before the transfer it was all set up correctly and everyone had the appropiate access rights. Some of our members are restricted based on their status been of recruit.

In the User Permissions Control I'm getting the categories (Forum | Simple Permissions | Moderator status ) but in the Simple permissions area there is no drop down boxes to assing variebles to that particular player for any particular forum, wich in Forum Permissions Control i set to Private, or Moderator or Admin only access.

I think the tables might be corrupt, so I looked in MyphpAdmin and all the particular forums I want privatised and I found they are marked with number the 3.

(I will update with the fix, soon)


Please consider that each transfer is unique and all of the above errors may or may not happen to your particular transfer. What ever happens post back here, so this can be developed this into a more solid script and perhaps the rrest into a Help file.


++++++++++


I do hope this helps some users with their transfer needs, but Ihtink it might just confuse them... lol

=]


Last edited by gammo on Thu Feb 17, 2005 12:41 pm; edited 1 time in total 
chatserv







PostPosted: Thu Feb 17, 2005 12:41 pm Reply with quote

gammo i ran the fixgroup file but only two users did not have a group assigned, retry to see if anything changed, i also created a test pvt forum. I did notice though you do not have core files but are using Nuke Platinum, you might need to check their support forum to see if any bugs have been reported regarding this.
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> How To's

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 ©