hawk259 wrote: The script works great once I converted it to work off a postgres database, but one thing is missing, search. You can't search on messages imported from the phorum. I think because it is not putting the info in the search index table. Any chance you can add this to the script?
Thanks,
Brian
Just a few minor probs....
1. I had to edit the sql file and change all newlines to <br> to import in
otherwise the posts would have been fairly mixed up.
2. I think it has also bought across some of the posts which I had marked
"N" in the approved column in Phorum
Jason
Code: Select all
// The database package keeps every sql query statment around.
// this is bad as it will eat up memory until PHP dies
// This clears the cache and clears up the memory.
unset( $db->last_query_text );
unset( $db->row );
$db->num_queries = 0;
$db->in_transaction = 0;
hawk259 wrote: Or is there a way to force a search re-index? That would be even better![]()
jdiver wrote: I'm attempting to use hawk259's Phorum converter script and it seems it doesn't allow me to create two instances of two different db's (the phpBB db as defined by the variable $db and the phorum db as defined by the variable $phorum_db). Is it possible to have two connections open to two different db's? Any ideas on what the problem may be and any possible solution would be greatly appreciated.