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 Installation & Upgrades

Photopost Pro Installation & Upgrades If you're having install or upgrade problems

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old August 17th, 2006, 01:35 PM   #1 (permalink)
Member
Verified Customer
 
Join Date: Jul 2002
Posts: 49
Moved from Windows server to Linux - help!

I just moved from a windows server to a linux server. Everything was working great on the windows server, but now all I get is a blank page when I try to open the PhotoPost gallery or the admin control panel.

I'm assuming my problem (or at least part of it) is my $PP_PATH setting in my config_inc.php file. It is currently set to:

$PP_PATH = "C:/Inetpub/vhosts/mustanggt.org/httpdocs/photopost"

Any idea what it should be now (or where I get that info from)? I believe I read somewhere that the slashes on windows vs. linux are different (i.e. forwards vs. backwards)?

I apologize if this is a dumb question. I'm a little brain-dead right now trying to get this up and running again.

Thanks!
91GT is offline   Reply With Quote
Old August 17th, 2006, 01:39 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,699
You can download a PHPINFO file from our requirements page and upload to your new server and run in the browser. You will then see your new path. You must upload the path above plus once thats done sign into admin and change all server paths in global options and storage options to the new path as well
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old August 17th, 2006, 02:58 PM   #3 (permalink)
Member
Verified Customer
 
Join Date: Jul 2002
Posts: 49
OK, I downloaded the PHPINFO file, uploaded it to the server and ran it. Based on the info I got from that I changed my $PP_PATH to this...

$PP_PATH = "/var/www/vhosts/mustanggt.org/httpdocs/photopost"

I tried to go to my admin control panel to reset the other things you said, but I'm still getting a blank screen (both for the control panel and the index.php). I realized then that I probably need to change the settings in config-int.php, too so I did that and I'm still getting a blank screen.

I was just wondering if there is a step-by-step guide somewhere on what needs to be done when you switch servers? I'm not sure I'm going about this the right way.

Thanks.
91GT is offline   Reply With Quote
Old August 17th, 2006, 03:42 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,699
well did you update your config file to include the new mysql info to connect to the database you also restored on the new server? Your mysql info would change also
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old August 17th, 2006, 05:38 PM   #5 (permalink)
Member
Verified Customer
 
Join Date: Jul 2002
Posts: 49
Quote:
Originally Posted by Chuck S View Post
well did you update your config file to include the new mysql info to connect to the database you also restored on the new server? Your mysql info would change also
The databases were set up the same way with the same database names, same users and same passwords. I will double and triple check them, but I don't see how that could be the problem.
91GT is offline   Reply With Quote
Old August 17th, 2006, 07:03 PM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,699
well if your getting a blank page your server path is wrong database info is incorrect or you are missing files or corrupt files.

Try turning on display_errors in PHP so there is some sort of info so we can assist you
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old August 17th, 2006, 07:46 PM   #7 (permalink)
Member
Verified Customer
 
Join Date: Jul 2002
Posts: 49
Quote:
Originally Posted by Chuck S View Post
Try turning on display_errors in PHP so there is some sort of info so we can assist you
I will do that if I can figure out how... I'm on a VPS now and I'm pretty unfamiliar with how to do things on it at this point in time - I'm still learning. Do I do that through my Plesk 8.0 control panel or ?

Sorry for the dumb questions.
91GT is offline   Reply With Quote
Old August 17th, 2006, 09:21 PM   #8 (permalink)
Member
Verified Customer
 
Join Date: Jul 2002
Posts: 49
OK - my host's support guy turned display_error on for me... here's the error message I get trying to open adm-index.php:

Warning: main(/var/www/vhosts/mustanggt.org/httpdocs/photopost/languages/english.php) [function.main]: failed to open stream: No such file or directory in /var/www/vhosts/mustanggt.org/httpdocs/photopost/pp-inc.php on line 131

Fatal error: main() [function.require]: Failed opening required '/var/www/vhosts/mustanggt.org/httpdocs/photopost/languages/english.php' (include_path='.:') in /var/www/vhosts/mustanggt.org/httpdocs/photopost/pp-inc.php on line 131

Can you tell me what the problem is?

Thanks!
91GT is offline   Reply With Quote
Old August 17th, 2006, 09:32 PM   #9 (permalink)
Member
Verified Customer
 
Join Date: Jul 2002
Posts: 49
OK... I think I figured out part of what's going on. It appears that many of my files did not get transferred over in the server move.

I'll re-upload the files and see if it helps.

Thanks!
91GT is offline   Reply With Quote
Old August 18th, 2006, 07:06 AM   #10 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,699
Yes exactly your missing files
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old August 18th, 2006, 09:59 PM   #11 (permalink)
Member
Verified Customer
 
Join Date: Jul 2002
Posts: 49
Well, things are looking better but still not quite right yet. I can now get into the adm-index.php file in my browser, but I get the following error messages at the top:

"Warning: opendir(C:/Inetpub/vhosts/mustanggt.org/httpdocs/photopost/data/) [function.opendir]: failed to open dir: No such file or directory in /var/www/vhosts/mustanggt.org/httpdocs/photopost/adm-inc.php on line 682

Warning: readdir(): supplied argument is not a valid Directory resource in /var/www/vhosts/mustanggt.org/httpdocs/photopost/adm-inc.php on line 684

Warning: closedir(): supplied argument is not a valid Directory resource in /var/www/vhosts/mustanggt.org/httpdocs/photopost/adm-inc.php on line 692"

Obviously, I've missed changing a path somewhere, but I can't figure out where... any idea which file to look in?

Thanks!
91GT is offline   Reply With Quote
Old August 18th, 2006, 10:18 PM   #12 (permalink)
Member
Verified Customer
 
Join Date: Jul 2002
Posts: 49
Nevermind the question above... I fixed it by doing what was explained in this thread - Wrong path but cant find where to change it.

Now I have another problem:

At the top of the photo gallery page (index.php), I'm getting the following error message - "Notice: Undefined variable: argv in /var/www/vhosts/mustanggt.org/httpdocs/photopost/index.php on line 15"

Thanks!

Last edited by 91GT; August 18th, 2006 at 11:11 PM.
91GT is offline   Reply With Quote
Old August 19th, 2006, 08:57 AM   #13 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,699
Well the correct action would be to adjust your PHP settings on the server so that error reporting is not set so high but if you can not just remove that if clause at the top of index.php

Code:
Content visible to verified customers only.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old August 19th, 2006, 09:30 AM   #14 (permalink)
Member
Verified Customer
 
Join Date: Jul 2002
Posts: 49
So will it hurt anything if I take it out completely?

In looking at my PHP info, the error_reporting is set at 2047 for both the local and master values. What would this setting have to be changed to if I were to change it?

Thanks!
91GT is offline   Reply With Quote
Old August 19th, 2006, 10:18 AM   #15 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,699
nah it wont hurt to remove it. Just set error reporting to report true errors not empty variables 341 is a normal install
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Reply


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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Photopost Performance on windows server. SaN-DeeP Before You Buy 3 March 11th, 2006 03:38 PM
Unable to read format on Windows Server dstov Photopost Pro Installation & Upgrades 13 July 19th, 2005 07:56 AM
Windows server Fiber Installs and Upgrade - vBulletin 3.0.X 4 January 27th, 2005 04:27 AM
Error code: 1 - Windows 2003 Server flumpydog General Discussion 2 August 4th, 2004 07:00 PM


All times are GMT -5. The time now is 06:15 PM.

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