PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > PhotoPost Pro Support Forums > Photopost Pro How Do I...?

Photopost Pro How Do I...? Wondering how to do things in PhotoPost?

Closed Thread
 
LinkBack (1) Thread Tools Rating: Thread Rating: 18 votes, 5.00 average. Display Modes
Old January 20th, 2007, 01:35 PM   1 links from elsewhere to this Post. Click to view. #1 (permalink)
Member
Verified Customer
 
Join Date: Jan 2002
Location: Albany, Oregon
Posts: 152
How to Move Servers and/or Change Directories

This is a document I am assembling based on my experience moving Photopost to a new server and also changing directory structures. Please keep in mind this may be a work in progress and I will continue to edit this first post as I find more.

How to move to a new host:

1) Archive and move your Photopost files.
- Before you do this, you'll want to close your gallery.
- In my case I was able to use the Plesk migration feature between servers.
- You can also archive all of your files to a TAR.GZ file and transfer using SFTP or (god forbid) regular FTP.

2) Copy/move the files to your new location.
- Usually you will put them on your website under /photopost or /gallery or similar. I believe /photopost is the default.

3) Re-establish all of the permissions.
- This is a VERY important step because sometimes the permissions are overwritten during the archive and transfer process. It was my biggest headache.
- Follow the basic permissions from the Photopost install guide: http://www.photopost.com/installphp.html
- Instead of using the traditional "chmod 777 directory" append a -R to the end so it now looks like this "chmod 777 directory -R"
- This will also change all of the files and sub-folders underneath.

4) Backup and transfer your database.

5) Restore your database.
- Create a new database file on the new server and restore the data from the file you just transferred into it.
- Typically: "mysql -u username -p databasename < databasebackup.sql"

6) Edit the main config files.
- Modify config-inc.php to reflect your new server and/or directory settings.
- Modify config-int.php to reflect your new server and/or directory settings.
- If you changed database user ID's, change this as well.

7) Open your Photopost gallery and modify confgs.
- Using a web browser, open your gallery and enter the Admin console.
- Click on GLOBAL OPTIONS and change the following to your new path:
- Full SERVER PATH
- Full path to Header
- PATH to UPLOADS
- Directory to backups
- Save
- Click on WATERMARK OPTIONS
- Full server path to watermark image
- Save

8) Change storage options.
- Be CAREFUL here.
- If you changed directories you should see the NEW directory listed in "Default PATH setting".... This is where I got confused.
- The OLD path (from the previous server) should be listed under "Current PATH setting"
- DON'T TYPE ANYTHING IN NEW PATH OR NEW URL SETTING
- Click on the box "check here to revert values back to default"
- Click UPDATE
- One more time, Click on the box "check here to revert values back to default"... (I believe it does this to confirm)
- Click UPDATE
- Verify that CURRENT PATH and DEFAULT PATH now match.

9) Check the config files.
- From the admin panel, pick Edit Config from the left menu.
- Verify that your information is correct.
- Also check the integration if applicable. Pick Edit Integration.

10) Verify your gallery functionality.
- Open a web browser and check the functionality as admin.
- Upload a few files on your own (very important to test).
- Re-open your gallery to the public.

Notes:
- Don't forget to change your DNS information on for your selected host.
- If you just changed DNS information, it will take 24 hours for any links to your old URL to start working on the new server. Ie: http://www.yoursite.com may be in the configuration and links may not work properly until DNS points to the new host IP address.
gholsie is offline  
Closed Thread


LinkBacks (?)
LinkBack to this Thread: http://www.photopost.com/forum/photopost-pro-how-do-i/130048-how-move-servers-change-directories.html
Posted By For Type Date
Photopost - Comunità di supporto vBulletin-Italia.it This thread Refback May 19th, 2008 11:02 AM

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Moving Servers / Directory Change gholsie Photopost Pro How Do I...? 4 January 18th, 2007 07:58 PM
How To Move Servers MikeJeffs How Do I? - vBulletin 3.5.X 4 August 11th, 2005 02:57 PM
Best way to move photos between servers? CO Photopost Pro How Do I...? 3 March 19th, 2005 04:55 AM
Error when trying to move servers... WebDork Photopost Pro Installation & Upgrades 1 June 21st, 2004 12:17 PM


All times are GMT -5. The time now is 03:03 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0