PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Photopost Pro How Do I...? (http://www.photopost.com/forum/photopost-pro-how-do-i/)
-   -   Server Move / Site Restore On New Server (http://www.photopost.com/forum/photopost-pro-how-do-i/130844-server-move-site-restore-new-server.html)

aaronp March 8th, 2007 05:55 PM

Server Move / Site Restore On New Server
 
Hi,

My server somehow became compromised and I was forced to move my site (forums and photopost) to another server. All files and databases were directly copied by the web host.

My site is only accessed via IP address (I have my reasons). This presents a problem as many of the settings in photopost and vbulletin point to the old IP address.

I am running photopost 5.5 with vb3 integration (vb 3.5).

I made several changes to the configuration of both photopost and vbulletin, to reflect the new IP address (including config-int.php). Vbulletin appears to be working fine. I am not sure if the changes in the photopost admin cp were saved however, as I am getting lots of problems.

The Photopost gallery appears to be displaying properly (front page). However when clicking on any links to photos or galleries, it directs me back to my old server. I am having difficulty making IP address setting changes and even logging into the admin control panel. It continuously wants to redirect me to the photopost version residing on my old server. When I force a log on by typing in the address manually it says:

"In order to accept POST request originating from this domain, the admin must add this domain to the whitelist."

I added the new IP address to the whitelist in vbulletin on the NEW server but that did not seem to help. I cant think of what else to do.

The new gallery is located here: http://209.200.225.217/mediacenter/index.php


The old gallery is located here:
http://209.200.226.154/mediacenter/index.php

Please help!

aaronp March 8th, 2007 06:00 PM

In another thread you suggested that a user change:

"photopost settings table in the database and in the config-int.php"

How does one change the photopost settings table in the database?

aaronp March 8th, 2007 07:40 PM

Through searching I figured out that I needed to make modifications through phpmyadmin. I went to the photopost database and changed the properties within:

pp_settings >settings

to reflect the new IP address. This seems to have corrected the problem (in case anyone else runs into a similar problem). Though I have a lot more testing to do.

Chuck S March 8th, 2007 07:56 PM

There is a sticky thread also that states how to move servers in the install forum

aaronp March 8th, 2007 09:47 PM

I searched a little before I posted anything. I checked the installation forums of both PP Pro and photopost vbGallery.

I could not find the sticky post you mentioned.

http://www.photopost.com/forum/photopost-pro-installation-upgrades/
http://www.photopost.com/forum/installs-upgrade-vbulletin-3-5-x/

Maybe I was looking in the wrong place?

Regardless, now I am having a new problem when uploading an image. The settings are such that a medium image should be triggered when the image is over 700pixels. max height and width are 1500 pixels and the program is set to resize to max dimensions, if the image is over max dimensions. On the old server it did this flawlessly. But now, upon uploading a few images, they are processed, and the medium size image displays, but when you click on the medium sized image to show the full size, there is only the title of the image in a box. It does not display the full size image. I have tried this with images exceeding 1500 pixels and not exceeding 1500 pixels, to no avail.

example:

http://209.200.225.217/mediacenter/s...0/limit/recent

ideas?

Chuck S March 9th, 2007 07:54 AM

right in this forum my friend

http://www.photopost.com/forum/photopost-pro-how-do-i/130048-how-move-servers-change-directories.html

your storage path is wrong. Go to Storage Options in admin and click revert and save twice to load the server path you changed earlier. That storage path is still old

aaronp March 10th, 2007 07:10 PM

great. that worked like a charm. I am having one more problem uploading larger zip files.

I am pretty sure (from previous experience) this is due to my upload_max_filesize being set to 2M. I think changing that will fix the problem. My question is, what other php.ini settings should I change or consider changing?

Is there some list of recommended settings for php.ini? It seems like there should be but I searched a fair amount and couldnt find anything.

I am not sure what all those settings do, but it seems like I should consider changing:

upload_max_filesize
post_max_size
max_execution_time
max_input_time

but I have no real understanding of what reasonable settings would be, as I dont understand specifically what each one does.

- The times are in seconds right? Is 15 minutes each reasonable??

- Is there any limit for maximum file sizes within PHP? I remember reading a long time ago that there was a PHP limit around 20 megabytes. Has that changed? Can I set these to 50 megabytes?

- Should I leave any of these settings alone?

- Are there other settings I should change?

It seems like answers to all these questions would be in the installation manual or in the forums but I was unable to find it either place... if I am missing it please tell me where to look, otherwise, I appreciate you getting back to me when you have a chance.

Chuck S March 10th, 2007 07:35 PM

upload_max_filesize 20M
max_execution_time 0
memory_limit 32M

Those should be okay


All times are GMT -5. The time now is 04:55 PM.

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


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97