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?

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old September 16th, 2006, 10:02 AM   #1 (permalink)
Member
 
Join Date: Jul 2006
Posts: 54
Error after server move, please help

I moved the site from on host to another and made required changes in config file. but still i am getting following error.

It seems it is still pointing to old host files (in red) somewhere, please help

Quote:
Warning: opendir(/hsphere/local/home/sjoshi/see-photo.com/photos/data/): failed to open dir: No such file or directory in /home/joshisa/public_html/photos/adm-inc.php on line 588

Warning: readdir(): supplied argument is not a valid Directory resource in /home/joshisa/public_html/photos/adm-inc.php on line 591

Warning: closedir(): supplied argument is not a valid Directory resource in /home/joshisa/public_html/photos/adm-inc.php on line 608
camel is offline   Reply With Quote
Old September 16th, 2006, 10:20 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,689
You get that logging into the admin so in global options update your server paths and save then go to storage options and hit revert and save twice and your good to go.
__________________
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 September 16th, 2006, 10:34 AM   #3 (permalink)
Member
 
Join Date: Jul 2006
Posts: 54
thanks Chuck that did the trick
camel is offline   Reply With Quote
Old March 30th, 2007, 11:51 PM   #4 (permalink)
Member
Verified Customer
 
Join Date: Dec 2005
Location: Texas
Posts: 30
Chuck,

I have my forum (VB 3.5.3) and photopost (5.3) up and running perfectly at twtex.com.

I created a subdomain (with its own IP address) on the same server named twttestvb.twtex.com (password protected to keep the VB people happy) and made a copy of my live site. I created new DB files for the copy to use so I would not be messing with the live databases. I then updated the config.php for VB and the config-int.php and config-inc.php files for photopost to point everything to the subdomain and the new databases. The forum works fine and sees the subdomain and new database files. However, ALL of the links in photopost still point to the live domain twtex.com.

From my config-int.php file...
Quote:
// We need to know the server paths to both your vB installation and your PhotoPost installation
$vbpath = "/home/vbscott/public_html/forums";
$pppath = "/home/vbscott/public_html/photopost";

// We need the URL path to your PhotoPost and vb installation
$url_path = "http://twttestvb.twtex.com/photopost";
$vb_urlpath = "http://twttestvb.twtex.com/forums";

// The URL of your photo dir where your images are stored (with / at end)
$data_dir = "http://twttestvb.twtex.com/photopost/data/";
When I click the link on my test forum navbar to open the photo gallery, the gallery opens, but there are no images and ALL of the links still point to the live domain. It is almost as if the info in the config-int.php file is not being read by the program. Thus if I try to go into the Admin panel to set all the Global Options for the new path info and also to update the Storage Options, ALL of the links still point to the live domain. Any changes affect the live site.

I used different database names and usernames to make sure I did not accidentally leave a reference to the live DB in the config files. I can't think of anything else to check. I am sure it must be something ridiculously simple, but I just don't see it!?
Tourmeister is offline   Reply With Quote
Old March 31st, 2007, 10:25 AM   #5 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,689
If you still point to the live vb check two places and only two places.

1. In Photopost Admin => Forum Settings place the proper url to the test forum.

2. In your test install of vbulletin in the admin options there for url etc make sure it has the test url not the live url

We only grab the bburl from vb on our auto rewrite code therefore your site points to the live site cause thats the url you have entered in the vb admin settings.

$vboptions['bburl']
__________________
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 March 31st, 2007, 01:59 PM   #6 (permalink)
Member
Verified Customer
 
Join Date: Dec 2005
Location: Texas
Posts: 30
Howdy Chuck,

Re #1, I could not get into the admin for the test photopost to check/change and settings. If I clicked the link to the admin panel, it immediately took me to the live site.

Re #2, I checked all URL stuff in VB and everything was set correct.

I finally just used phpmyadmin to edit the settings table in the photopost test database. That made it so that I could access the admin panel on the test site. From there, only a few paths remained to be fixed, including the storage options stuff. Once I fixed those, it all works perfect now.

Last edited by Tourmeister; March 31st, 2007 at 03:50 PM.
Tourmeister 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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Server Move Help mackers8923 Photopost Pro Installation & Upgrades 3 August 15th, 2006 07:59 PM
Server Move mackers8923 Photopost Pro How Do I...? 0 August 10th, 2006 07:25 AM
Upload error after server move bplinson Photopost Pro Installation & Upgrades 4 January 23rd, 2006 10:18 AM
Need Help move to new server**UPload Error*** mitomcua Photopost Pro Installation & Upgrades 2 December 27th, 2004 08:30 AM
How to Move to New Server? Supafly Photopost Pro Installation & Upgrades 2 October 1st, 2004 06:34 AM


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

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