Author |
Message |
Naquadah
New Member
Joined: Feb 16, 2005
Posts: 12
|
Posted:
Thu Feb 17, 2005 1:48 pm |
|
so the script connects to the phpBB2 database and downloads from it the information? Or I have to upload a backup from the phpBB forum to the php NUke? |
|
|
|
|
Naquadah
|
Posted:
Thu Feb 17, 2005 3:03 pm |
|
Ok, im doing it step by step. Now I am on phpmyadmin and all nuke.sql tables are there, what do I have to upload there?
thks |
|
|
|
|
Naquadah
|
Posted:
Thu Feb 17, 2005 3:55 pm |
|
When I try to run the script this error happens. Also I dont know if I should have done something before.
Parse error: parse error in /data/members/free/tripod/es/n/a/q/naqua/htdocs/html/script.php on line 31
I think I have put the script configuration ok :
I have tried with the nuke info
uname : naqua
upw : ****
udbname: naqua_es_db
host: localhost
prefix: nuke
and also i tried with phpbb info (got from config.php from the phpbb forum)
uname: rauch_glf
upw:****
udbname: rauch_glf
host: localhost
prefix: phpbb_
but no one of them worked
Which one do I have to put? Do i have jump some step?
Plz help... |
|
|
|
|
gammo
New Member
Joined: Feb 15, 2005
Posts: 13
|
Posted:
Thu Feb 17, 2005 5:39 pm |
|
Quote: | 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. |
Quote: | so the script connects to the phpBB2 database and downloads from it the information? Or I have to upload a backup from the phpBB forum to the php NUke? |
Yes upload your phpBB tables into the NukeCMS using MyphpAdmin so both table sets are in teh ONE databse.
Quote: | so the script connects to the phpBB2 database and downloads from it the information? Or I have to upload a backup from the phpBB forum to the php NUke? |
Yes that's it. Si eso es, los dos databases tienen que estar en la misma installacion en la cual esta el NukeCMS.
Quote: | Ok, im doing it step by step. Now I am on phpmyadmin and all nuke.sql tables are there, what do I have to upload there?
thks |
Your backup of the phpBB.
As for the techinical error (Your last post) chatserv might have to help you there, I'm not to savy with the actual code side of things. But it looks like oyu have a syntax error.
Copy and paste the script again, and make sure you have entered your databse and username access correctly. |
|
|
|
|
Naquadah
|
Posted:
Thu Feb 17, 2005 6:00 pm |
|
Thank you so much for your answer . Now I'm starting to understand a bit more how the script works. I will try to follow your guide now I understand a bit more
THanks again |
|
|
|
|
Naquadah
|
Posted:
Thu Feb 17, 2005 6:39 pm |
|
Here are the steps I have completed in the right way.
I deleted all tables from phpmyadmin because i felt something could be wrong and I felt more secure starting again from zero ^^.
Then I have uploaded the nuke.sql in order to have the nuke tables.
Then, go to index. php and I added the super user account, without double user thing like you have said
Then i come back again to phpmyadmin and upload the *full* backup from my phpBB forum (about 3Mb).
When the upload is finished, I can see some more tables now (from 88 to 97 tables), the new ones have the prefix phpbb_xxxxxx in it.
What is the next step, or where do I have to run raven's script? from phpmyadmin execution window, or from uploading in through ftp and then typing the Path?
Thanks |
|
|
|
|
gammo
|
Posted:
Thu Feb 17, 2005 7:03 pm |
|
OK, so far so good....
I just realised I did not describe "were" to run the script from. OK here goes.
You have to upload via FTP the transfer.php (Raven's script) to your websites "root" directory, also called your home or main directory.
Once you have uploaded it to the root, you then type this into your Web Browser Address bar:
Example:
http://www.yoursite.com/transfer.php
And then make sure you leave it do it's work, you have a small phpBB database, so it should not take long to finish. Just look at the status bar on your browser or (in Internet Explorer) the little windows flag icon that waves about when the browser is busy. Once that stops and your browsers status bar displays the word "Done." you will see a totally blank page in front of you.
Don't panic it's ok, goto your MyphpAdmin refresh your page view for your NukeCMS, and now you will see that the phpBB has been intergrated into the nuke_ tables.
Read my guide to see wich tables you need to look for to see if the data was transfered correctly. If it has transfered correctly, you can now delete the "transfer.php" file off your root directory.
Good luck!
=] |
|
|
|
|
gammo
|
Posted:
Thu Feb 17, 2005 10:39 pm |
|
No the fixgroup did not resolve it. I tried asking in the PNP community, but I needed a relative response time, and they are quite slow at responding.
So it occured to me: Why not create new forums, and delete and transfer the post forn the old ones into the new ones, then set up the permissions that way?
It worked beutifully. lol
I will update the How-To, soon as I get on top of my very fallen behind site.
Thanks again for everything chatserv.
=] |
|
|
|
|
chatserv
Member Emeritus
Joined: May 02, 2003
Posts: 1389
Location: Puerto Rico
|
Posted:
Thu Feb 17, 2005 11:28 pm |
|
Glad you found a workaround. |
|
|
|
|
Naquadah
|
Posted:
Sat Feb 19, 2005 6:50 am |
|
I made the script working and many more tables appeared on myphpadmin.
Then i made some of the things the script said first from my php admin, and also the thing that chatserv post to the mistake that couldnt find theme [1], but after that, i can see that the forum database has grow to 1.3 mb (what i had in the past forum), but i cant see anything on the forums
just this
Warning: Cannot modify header information - headers already sent by (output started at /data/members/free/tripod/es/n/a/q/naqua/htdocs/html/header.php:32) in /data/members/free/tripod/es/n/a/q/naqua/htdocs/html/includes/page_header.php on line 492
Warning: Cannot modify header information - headers already sent by (output started at /data/members/free/tripod/es/n/a/q/naqua/htdocs/html/header.php:32) in /data/members/free/tripod/es/n/a/q/naqua/htdocs/html/includes/page_header.php on line 494
Warning: Cannot modify header information - headers already sent by (output started at /data/members/free/tripod/es/n/a/q/naqua/htdocs/html/header.php:32) in /data/members/free/tripod/es/n/a/q/naqua/htdocs/html/includes/page_header.php on line 495
And this other 2 warnings at the top of the page, but this ones were made even when everything was new
Warning: Cannot modify header information - headers already sent by (output started at /data/members/free/tripod/es/n/a/q/naqua/htdocs/html/header.php:32) in /data/members/free/tripod/es/n/a/q/naqua/htdocs/html/includes/sessions.php on line 222
Warning: Cannot modify header information - headers already sent by (output started at /data/members/free/tripod/es/n/a/q/naqua/htdocs/html/header.php:32) in /data/members/free/tripod/es/n/a/q/naqua/htdocs/html/includes/sessions.php on line 223
why the forum is not showing up? thanks |
|
|
|
|
chatserv
|
Posted:
Sat Feb 19, 2005 9:54 am |
|
|
|
|
Naquadah
|
Posted:
Tue Feb 22, 2005 8:29 am |
|
thanks a lot . I achieved doing it at last, I tried with 4 or 5 different scripts and one worked. The warning i couldnt remove them with that thing, but I commented out // that lines and worked.
So thanks all for the help provided although i was getting almost crazy on doing it ^^ |
|
|
|
|
marvex
New Member
Joined: Feb 23, 2005
Posts: 4
|
Posted:
Fri Feb 25, 2005 2:28 am |
|
hey hey -
I allready to all this but after that I have some problems -
http://www.eidapere.ee/moc
* my new messages in forum dont' show new message icon
* my registratsion data is just some numbers (1091513872)
*sometime users can't loged in or out normaly
*when I allready but my vote then next day I can put new vote (in surveys)
* and when post to forum like visitor comes some errors
* and the site don't calculate a points
meybe someone can help me - and I'm just beginner with this |
|
|
|
|
sixonetonoffun
Spouse Contemplates Divorce
Joined: Jan 02, 2003
Posts: 2496
|
Posted:
Fri Feb 25, 2005 10:01 am |
|
Try this I reversed this phpnuke to phpbb conversion script for you to try. Originall written by aUsTiN from http://phpbb-amod.com to convert to phpbb.
I removed the column fix part so all it does is convert unix time to phpnukes date format.
http://www.netflake.com/files/convert2date.zip
1) Backup database.
2) Upload the file phpnuke_regdate_fix.php to nuke root (where mainfile.php is).
3) Visit your site http://example.com/phpnuke_regdate_fix.php
With some luck you will see the number of users converted message. If its not 0 then check your database from phpmyadmin to verify the successful conversion. Delete the file phpnuke_regdate_fix.php
If it failed don't call me I'm in the Barn. |
_________________ [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 |
|
|
|
marvex
|
Posted:
Fri Feb 25, 2005 11:45 am |
|
sixonetonoffun wrote: | Try this I reversed this phpnuke to phpbb conversion script for you to try. Originall written by aUsTiN from http://phpbb-amod.com to convert to phpbb.
I removed the column fix part so all it does is convert unix time to phpnukes date format.
http://www.netflake.com/files/convert2date.zip
1) Backup database.
2) Upload the file phpnuke_regdate_fix.php to nuke root (where mainfile.php is).
3) Visit your site http://example.com/phpnuke_regdate_fix.php
With some luck you will see the number of users converted message. If its not 0 then check your database from phpmyadmin to verify the successful conversion. Delete the file phpnuke_regdate_fix.php
If it failed don't call me I'm in the Barn. |
yuhuuu with dates all right !! - when look in memberlist .thats all ok allmoust, in estonian need to be day, mounth and year, but thats all right to ..... but what gona be with all others problems !? |
|
|
|
|
PowderKeg
New Member
Joined: Mar 11, 2005
Posts: 1
|
Posted:
Fri Mar 11, 2005 2:08 pm |
|
I was able to use the script and get all my phpbb info migrated into nuke, users, posts, everything is there. However I do have one problem, if a user is browsing the forums as a guest not logged in all the forum post text is like this:
T h i s i s a t e s t
(Spaces between every character)
Now if the person logs into the nuke site the forum post text shows normal as:
This is a test
Any help would be great. Thanks! |
|
|
|
|
addy
Hangin' Around
Joined: Mar 28, 2005
Posts: 42
|
Posted:
Mon Mar 28, 2005 3:26 pm |
|
Ok here goes I'm trying this as well.
I get this same exact error as mentioned on page 2
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? Thx |
However, I do not understand this at all -
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 |
Also found on page 2.
Is he speaking of the nuke_bbconfig?
Where on that page do I find the default_style? I am painfully new to mysql/phpmyadmin
So after I change it to 1 I rebuild by deleting the whole table somehow (how do I do that?) and uploading the code he put?
Wow I'm so green it hurts lol thanks for any input anyone can give!! |
|
|
|
|
addy
|
Posted:
Mon Mar 28, 2005 7:07 pm |
|
Ok I found the default_style and it is at 1.
I'm still not following the rebuild the tables but I'll be looking at it tonight.
-**Edit - I just figured it all out and it works like a charm!!**
**edit again - I spoke to soon - I get this when I open up the forum administration page
Quote: | Error creating new session
DEBUG MODE
SQL Error : 1062 Duplicate entry 'c17b0f2ef2a335bbe1e22882bb384fc6' for key 1
INSERT INTO nuke_bbsessions (session_id, session_user_id, session_start, session_time, session_ip, session_page, session_logged_in) VALUES ('c17b0f2ef2a335bbe1e22882bb384fc6', '1', '1112063410', '1112063410', '440c7eae', '0', '0')
Line : 191
File : /home/.magenta/XX/XX.com/includes/sessions.php |
*edit - quick refresh and it's gone... |
|
|
|
|
MrArmyAnt
New Member
Joined: Mar 30, 2005
Posts: 1
|
Posted:
Wed Mar 30, 2005 9:22 pm |
|
Does anyone know how to do this with e107? I have been using e107 for my computer modding site at http://www.modlife.net, and it's just to quirky. Hod do you suggest I convert the databases? |
|
|
|
|
Raven
Site Admin/Owner
Joined: Aug 27, 2002
Posts: 17088
|
Posted:
Wed Mar 30, 2005 10:15 pm |
|
I am not aware of anyone who has done this. So, you would basically need to write your own conversion program. |
|
|
|
|
Tim186
New Member
Joined: Apr 01, 2005
Posts: 9
|
Posted:
Fri Apr 01, 2005 3:40 pm |
|
I have followed the instructions and it seems that everything has transfered when i look in the forum module in nuke, in the admin index, it shows the number of posts/ topics etc also i can see the actual forum in i click on forum admin > permissions i can see the forum itself. However when i click the forum link in the module block or forum index in the admin panel my forum isnt there it is just a the usual search,faq,login etc and a blank grey box with information in the header. so why isnt it showing there? |
|
|
|
|
Raven
|
Posted:
Fri Apr 01, 2005 4:25 pm |
|
Try going to Forum Admin Panel and selecting the ReSync option for each forum. Also, make sure that you have set the Domain Name setting correctly in the Forum Configuration. |
|
|
|
|
Tim186
|
Posted:
Fri Apr 01, 2005 5:44 pm |
|
The resync was the first thing that i had done. Anyways it seems to be showing now for some strange reason. All i had done was closed everything and left it for a while so i could wait for your response and when i went back to do the things you told me to it was all there before i could even touch anything, lol it must have been your magic words . thanks alot everthing is now working |
|
|
|
|
Tim186
|
Posted:
Fri Apr 01, 2005 6:00 pm |
|
I have just noticed one last superficial problem in that i have uploaded my members avatars to the avatars folder under the nuke forum and the standalone and they are not showing up in the posts in the nuke forums, is there a way to get them back? i have a copy of all the avatars saved. |
|
|
|
|
Raven
|
Posted:
Fri Apr 01, 2005 6:49 pm |
|
Are they showing as red x's? If so, verify that the path is correct via the properties. If the path is correct, check permissions. Also, check your server error log to see if it's recording anything. |
|
|
|
|
|