Moving Pligg Installations

Register an Account
 
 
Article Tools Display Modes
  #1 (permalink)  
Old 09-03-2007, 06:10 PM
Yankidank's Avatar
Pligg Founder/Coder/Designer
Pligg Version: SVN
Pligg Template: Wistie
 
Join Date: Dec 2005
Location: Ocala, FL
Posts: 4,934
Send a message via AIM to Yankidank
Reserved for future use.

The Twitter Module for Pligg CMS!
Register, Login, and Submit Stories with Twitter. An absolute MUST HAVE for all Pligg sites!

Last edited by Yankidank; 09-03-2007 at 07:13 PM.
Reply With Quote
  #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, Yankidank
Created by Yankidank, 09-03-2007 at 06:10 PM
Last edited by PierreB, 10-14-2007 at 04:55 PM
3 Comments , 3254 Views
 

Article Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Pligg integration with SMF Forum autoinc Questions and Comments 66 08-27-2010 04:04 AM
Pligg Donation Drive 2009 chuckroast Questions and Comments 0 03-23-2009 05:42 PM


Pligg Modules and Pligg Templates from Pligg Pro Find support on the Pligg CMS Forum - 24 hours a day! Make a donation to support Pligg CMS development