PHP Web Host - Quality Web Hosting For All PHP Applications Free RavenNuke(tm) Add Ons
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
Author Message
ozbutcher
Worker
Worker


Joined: Jan 17, 2007
Posts: 170

PostPosted: Wed Mar 14, 2007 10:11 pm Reply with quote Back to top

I did a fresh install of 2.10 instead of upgrading. Can I import the whole table data from 2.02 or have the table structures changed in 2.10?

Also whats the best way to import a whole table using phpmyadmin if somebody has some tips please.
View user's profile Send private message
montego
Former Admin in Good Standing


Joined: Aug 29, 2004
Posts: 9071
Location: Arizona

PostPosted: Thu Mar 15, 2007 6:54 am Reply with quote Back to top

ozbutcher, see the following script to get an idea of what has changed:

INSTALLATION\rndb_upgrade.php

My personal recommendation? I would have done the upgrade as per the HowToInstall manual regarding upgrades. It has now been tested on many live production sites.

Sorry, but I have to run...
View user's profile Send private message Visit poster's website
fkelly
Moderator


Joined: Aug 30, 2005
Posts: 3136
Location: near Albany NY

PostPosted: Thu Mar 15, 2007 7:30 am Reply with quote Back to top

If your 2.02 tables are still separate from your 2.10 tables you could just run the rndb_upgrade.php against your 2.02 tables and then change your 2.10 copy of config.php to point to your upgraded 2.02 tables. I think. I'm always cautious about making "ad hoc" recommendations like this because there may be some angle I'm not thinking of. So have a backup.

Where you will get with phpmyadmin and importing a table varies depending on your server but most have a limit on the size of the SQL file that can be imported. There is a recent thread on bigdump that might be of interest to you in this regard, it is really a superior tool to get around size limits on restores and it's easy to set up. Even with it though you can run into size limits on some servers.
View user's profile Send private message Visit poster's website
ozbutcher
Worker
Worker


Joined: Jan 17, 2007
Posts: 170

PostPosted: Thu Mar 15, 2007 8:20 am Reply with quote Back to top

Thanks guys.

Reason I didn't do the upgrade was because I mucked up some core files when I applied a mod (long time ago, too many mods) which stuffed up my user profile screen.

I did try the update on a duplicate site but it didn't fix the problem. Thats why I wanted to do a clean install and just bring in the data from my main site.

What I ended up doing was updating the duplicate site and then saving the table data from there and importing it into my clean install. Bit of mucking around but hey!
View user's profile Send private message
montego
Former Admin in Good Standing


Joined: Aug 29, 2004
Posts: 9071
Location: Arizona

PostPosted: Fri Mar 16, 2007 8:32 am Reply with quote Back to top

Great job!
View user's profile Send private message Visit poster's website
spasticdonkey
RavenNuke(tm) Development Team


Joined: Dec 02, 2006
Posts: 1251
Location: Texas, USA

PostPosted: Mon Mar 19, 2007 8:51 pm Reply with quote Back to top

I happen to be in the midst of a host change (to RavenHosting of course) and also did a clean install, hoping to "import" part/most of my database into the new one. Had planned to leave the old site running while i worked on the new one, but I can't do the database upgrade on old site without upgrading the old site, which will cause several of my blocks, themes, and features to not function properly. Would be alot of extra work....

I'm not familiar enough with SQL syntax to apply the changes i see in INSTALLATION\rndb_upgrade.php

so.... would there happen to be an sql upgrade script out there?? I didnt see one in the distro....
View user's profile Send private message
ozbutcher
Worker
Worker


Joined: Jan 17, 2007
Posts: 170

PostPosted: Mon Mar 19, 2007 11:11 pm Reply with quote Back to top

You could do it the same way I did spasticdonkey...

I created a duplicated of my old website. copied \burntsite into say \testforum
and I also duplicated the mysql database.

Then I upgraded the duplicate site \testforum and exported the database from that site for the fresh install!

haha. sounds like a lengthy process but it works! Smile

PS: if you have some webserver software installed on your home computer its even easier and much quicker! you could use software such as
Only registered users can see links on this board!
Get registered or login to the forums!
.
View user's profile Send private message
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.

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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum