Go Back   Pligg Forum > Pligg Help > Wiki Articles
 
 
LinkBack Article Tools Display Modes
  #1 (permalink)  
Old 09-03-2007, 04:10 PM
Yankidank's Avatar
Yankidank Yankidank is offline
Send a message via AIM to Yankidank Send a message via Skype™ to Yankidank
Pligg Founder
Pligg Version: 9.8.2
Pligg Template: Blue Green Stripes
 
Join Date: Dec 2005
Location: Savannah, GA
Posts: 1,347
Downloads: 58
Uploads: 6
Thanks: 87
Thanked 139 Times in 93 Posts
Moving Pligg Installations

Reserved for future use.
__________________
Need a Pligg Host?
Get 3 free months
when you buy a year of hosting.
Use the coupon PLIGG at either...
MidPhase hosting starting at $7.95/month.
ANhosting hosting starting as low as $4.95/month.

Last edited by Yankidank : 09-03-2007 at 05:13 PM.
Reply With Quote
Sponsored Links
  #2  

Moving Pligg Installations

After changing a template, I wanted to install Pligg in a test location, mixing together different elements:
  1. The new template from the dev environment (with standard Pligg code)
  2. Existing installation's user-viewable text (libs/lang.conf)
  3. New database, but...
  4. Existing installation's database data
  5. Existing installation's avatars
  6. New base URL
Here is what I did
  1. From Pligg admin interface, back up database, database structure, files, and avatars; save to local disk.
  2. Save database structure and database backups as SQL files to your local disk.
  3. Editing the database SQL file, change the two Location Installed lines
  4. Open the MySQL console (GoDaddy offers one from Starfield Technologies) on this new database.
  5. With the MySQL console, create a new database.
  6. With the MySQL console, import the db structure and db with standard options.
  7. Adjust settings.php in your local Pligg files to reflect base location.
  8. Adjust libs/dbconnect.php in your local Pligg files to reflect database connection info.
  9. Move your local Pligg file directories into the test installation from your development environment.
  10. Take the avatars backup from your local disk, and upload to new location; or else move the avatars directly from your existing installation to the test installation. You may have to download to local disk, then re-upload.
  11. Take lang.conf file from your files backup or online host (you may have to use your local disk as an intermediary) and place in libs of testinstallation.
  12. Fix the 'category' internal database ids with a database editing tool. See the forum for details.


Contributors: PierreB
Created by Yankidank, 09-03-2007 at 04:10 PM
Last edited by PierreB, 10-14-2007 at 02:55 PM
1 Comments , 918 Views
 



Article Tools
Display Modes
Posting Rules
You may not create new articles
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On
Similar Threads
Thread Thread Starter Forum Replies Last Post
SuperGu Attempting to Copyright Pligg Code, Sends C&D Yankidank Pligg News 30 04-29-2007 09:33 AM
Page titles & breadcrumbs AshDigg Core Development 11 06-30-2006 06:35 PM


LinkBacks Enabled by vBSEO 3.0.0