Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> v2.30.01 RN Upgrade Issues
Author Message
ginxeng
New Member
New Member



Joined: Jul 04, 2009
Posts: 14

PostPosted: Tue Aug 25, 2009 3:07 am Reply with quote

Ok so this is a fresh install of Raven Nuke 2.30.02. I used to have phpnuke 8.0. Now my question is, how to use I use the nuke_users database from phpnuke 8.0 to work with this raven nuke. I have tried importing the nuke_users database but it seems there are errors and the database table that raven nuke uses is different. I am not good with this sort of stuff and barely learning how to do all this.

_________________
Programming is like sex make one mistake and you have to support it for the rest of your life. 
View user's profile Send private message
jakec
Site Admin



Joined: Feb 06, 2006
Posts: 3048
Location: United Kingdom

PostPosted: Tue Aug 25, 2009 5:48 am Reply with quote

You need to ensure your two database structures are the same. This is where a tool such as mySQLDiff comes in useful. Wink
 
View user's profile Send private message
ginxeng







PostPosted: Tue Aug 25, 2009 6:04 am Reply with quote

I have tried that but when in the source page when I click next after entering all the correct information I get this error.

Warning: trim() expects parameter 1 to be string, resource given in C:\xampp\htdocs\mysqldiff-1.5.0\library\database.lib.php on line 73

Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\mysqldiff-1.5.0\library\database.lib.php:73) in C:\xampp\htdocs\mysqldiff-1.5.0\save.php on line 168
 
wHiTeHaT
Life Cycles Becoming CPU Cycles



Joined: Jul 18, 2004
Posts: 579

PostPosted: Tue Aug 25, 2009 9:43 am Reply with quote

you can also use a php-nuke downgrader , you need to downgrade from 8.0 to 7.6
 
View user's profile Send private message Send e-mail
ginxeng







PostPosted: Tue Aug 25, 2009 2:52 pm Reply with quote

Where can I find this down grader? I have searched and only found as high as 7.8
 
wHiTeHaT







PostPosted: Tue Aug 25, 2009 3:05 pm Reply with quote

http://svn2.assembla.com/svn/evoturkish/upgrades/PHP-Nuke%20Standard%206.5%20-%208.0/Nuke%20DOWNgrade%20to%207.6/
 
ginxeng







PostPosted: Tue Aug 25, 2009 3:28 pm Reply with quote

Ok I did the downgrade but my Table structure for table `nuke_users` still doesn't work right. Nothing changed with the downgrade. Members still cant register, they get this error after activating "Something screwed up... don't you hate that?" Then there account disapears as if they never even registered.
Since I'm kinda new to this stuff, is there any way I can send my Table structure for table `nuke_users` that is from phpnuke 8.0 to RavenNuke 7.6 to somebody to make them compatible? This is all I need, I dont care about anything since I already lost but I want to keep my users acccounts.


Last edited by ginxeng on Tue Aug 25, 2009 3:31 pm; edited 1 time in total 
wHiTeHaT







PostPosted: Tue Aug 25, 2009 3:31 pm Reply with quote

did you checked the user preferences in: http://www.yourdomain.com/admin.php?op=yaAdmin
 
wHiTeHaT







PostPosted: Tue Aug 25, 2009 3:34 pm Reply with quote

you can post your nuke_user table in here + the insert from the anomynous user
 
ginxeng







PostPosted: Tue Aug 25, 2009 3:35 pm Reply with quote

Yes I have, it works right with the Table structure for table `nuke_users` that ravennuke came with. But I want to keep the accounts from my phpnuke 8.0 so what I did was take the 'nuke_user' from phpnuke and dropped it into the ravennuke DB. It seemed to work fine at first, members logins works perfect and thought I was fine untill new members try to register.
 
wHiTeHaT







PostPosted: Tue Aug 25, 2009 3:39 pm Reply with quote

So it work now or not?
 
ginxeng







PostPosted: Tue Aug 25, 2009 3:40 pm Reply with quote

No it doesn't work, new members cant register if I use the DB from phpnuke 8.0
 
wHiTeHaT







PostPosted: Tue Aug 25, 2009 3:41 pm Reply with quote

can you please post the INSERT of the anomynous user you currently use , so from your phpnuke 8 to 7.6 converted database
 
ginxeng







PostPosted: Tue Aug 25, 2009 4:02 pm Reply with quote

Ok here they are
http://phatco.netne.net/phpnuke8.0.sql
http://phatco.netne.net/Raven7.6.sql
 
wHiTeHaT







PostPosted: Tue Aug 25, 2009 4:15 pm Reply with quote

with your 7.6 database all seems fine atleast it is usable.
 
wHiTeHaT







PostPosted: Tue Aug 25, 2009 4:17 pm Reply with quote

you might not got the whole downgrade idea...
you need to put the downgrade file into your working phpnuke 8 version and run it ( make a backup first)
then your database should already be excact the same as a ravennuke db , except the aditional tables you need to load , like the ones for sentinel,nukeseo etc etc... it is al described in the install documentation.
 
ginxeng







PostPosted: Tue Aug 25, 2009 4:18 pm Reply with quote

OK now how to I get my phpnuke user DB to work with ravennuke DB. Do you want the to see the phpnuke user DB with all the accounts loaded in it? All I want is the phpnuke DB loaded into the ravennuke DB.
 
wHiTeHaT







PostPosted: Tue Aug 25, 2009 4:21 pm Reply with quote

then put the downgrade file into your running php-nuke 8 site and execute it.
make a BACKUP first of your database with ALL tables and its content.
The only thing you have to do after is add the EXTRA ravennuke tables as described in the installation instructions...
load the new converted 7.6 ravennuke database for your ravennuke site and that's it.
 
wHiTeHaT







PostPosted: Tue Aug 25, 2009 4:21 pm Reply with quote

you can send me the file.. i send you a PM how to... but i need to get to sleep now.. tomorrow i must work.

PS: i hope it isnt in hebrew or other alien language lol


Last edited by wHiTeHaT on Tue Aug 25, 2009 4:23 pm; edited 1 time in total 
ginxeng







PostPosted: Tue Aug 25, 2009 4:23 pm Reply with quote

I forgot to give you the downgraded file
Here it is after the downgrade http://phatco.netne.net/phpnukeDowngrade.sql
 
wHiTeHaT







PostPosted: Tue Aug 25, 2009 4:27 pm Reply with quote

ok i see your problem .. gotyo your downgraded database , the one where you executed the downgrade file for... yes?
Open the table nuke users ( assuming phpmyadmin) and delete all for:
Quote:
`user_items` text,
`user_effects` varchar(255) default NULL,
`user_privs` varchar(255) default NULL,
`user_custitle` text,
`user_specmsg` text,


Then all should work.

The problem is you use an edited nuke_users table , it uses stuff not default nuke 8
 
wHiTeHaT







PostPosted: Tue Aug 25, 2009 4:34 pm Reply with quote

it would not hurt to TRY to run the downgrader AGAIN after you removed these table value's
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> v2.30.01 RN Upgrade Issues

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 ©