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 July 18th, 2012, 01:01 PM   #1 (permalink)
Junior Member
Verified Customer
 
Join Date: Apr 2012
Posts: 22
Dir Error help

i moved my gallery to a new server and when i log in to the admin section i get this error:

Warning: opendir(/home/content/xx/xxxxxxxxx/html/{site}/gallery/data/) [function.opendir]: failed to open dir: No such file or directory in /home/{site}/public_html/gallery/adm-inc.php on line 690

which is followed by a gazillion of this same error:
Warning: readdir() expects parameter 1 to be resource, boolean given in /home/{site}/public_html/gallery/adm-inc.php on line 693

this dir: (/home/content/xx/xxxxxxxxx/html/{site}/gallery/data/)
is the old server.

what am i missing? i can click on most all of the links in the admin section (the statistics link shows the above errors) and i've gone through each one to check settings and db u/p's and i'm not seeing anything that lists the path to the old server.


jenyurko is offline   Reply With Quote
Old July 18th, 2012, 01:05 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
My suggestion would be view your phpinfo under your admin panel and then click global options. Make sure all the paths and urls are correct there. You will also want make sure to click Storage Options and make sure the path is correct there. If it is not you can check revert and save twice to load the global path.

That should do it.
__________________
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 July 18th, 2012, 01:32 PM   #3 (permalink)
Junior Member
Verified Customer
 
Join Date: Apr 2012
Posts: 22
Thank you, that got rid of the error but the images are still not showing up in any of the categories It looks like the comments are there, but no images at all
jenyurko is offline   Reply With Quote
Old July 18th, 2012, 02:28 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
Did you happen to try and rebuild images with a wrong directory path? That would result in you deleting all the records in the photos table which means you would have to restore a backup of your mysql pp_photos table in the database. You do perform regular site maintenance and backups?
__________________
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 July 18th, 2012, 02:50 PM   #5 (permalink)
Junior Member
Verified Customer
 
Join Date: Apr 2012
Posts: 22
BAH, probably... and yes I do

I restored a backup, changed the paths again and voila, i have images again... but the error is back. In Storage Options the Current PATH setting has the old server path listed, while the Default PATH setting has the new server path. Before I go pushing any more buttons, hahaha, do I enter the new sever PATH and check the revert box then hit the update button, or just check the revert box then hit the update button
jenyurko is offline   Reply With Quote
Old July 18th, 2012, 03:25 PM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
well then do what i posted before as you restored a backup of the database and you need to reedit your paths again.
__________________
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 July 18th, 2012, 07:33 PM   #7 (permalink)
Junior Member
Verified Customer
 
Join Date: Apr 2012
Posts: 22
I got it working, thank you Chuck <3
jenyurko is offline   Reply With Quote
Old July 18th, 2012, 07:35 PM   #8 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
Yep glad to help enjoy let us know if you need anything else.
__________________
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 July 18th, 2012, 10:55 PM   #9 (permalink)
Junior Member
Verified Customer
 
Join Date: Apr 2012
Posts: 22
ugh, i do. sorry :/ i got that fixed, then found i didn't have mogrify or gd, so i installed gd. now when you click on the "my profile" link i'm getting this error:

Warning: require(/home/content/.../html/.../gallery/config-int.php) [function.require]: failed to open stream: No such file or directory in [path]/member.php(515) : eval()'d code on line 41

Fatal error: require() [function.require]: Failed opening required '/home/content/.../html/.../gallery/config-int.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/.../public_html/forum/member.php(515) : eval()'d code on line 41

again with the old server path. the config-int.php has the new server path on it
jenyurko is offline   Reply With Quote
Old July 19th, 2012, 09:50 AM   #10 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
Did you change the path in both config files? The master path for the script is set in the config-inc.php file.
__________________
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 July 19th, 2012, 03:11 PM   #11 (permalink)
Junior Member
Verified Customer
 
Join Date: Apr 2012
Posts: 22
yessir... config-inc and config-int both have the new server path, as well as the config.php for the vb forum. i also checked the edit config link in the admin, it's correct there, and in the edit integration section.... and in the storage options. i don't know where else to look :/
jenyurko is offline   Reply With Quote
Old July 19th, 2012, 03:35 PM   #12 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
Your talking about in your forum not our script.

My suggestion would be to redo any plugins you might have running in the forum or if your familiar with the vb plugin manager find the photopost global variables plugin and change any server paths in there.
__________________
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 July 19th, 2012, 03:54 PM   #13 (permalink)
Junior Member
Verified Customer
 
Join Date: Apr 2012
Posts: 22
bingo! thank you Chuck!!!
jenyurko is offline   Reply With Quote
Old July 19th, 2012, 03:59 PM   #14 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
No problem glad to help.
__________________
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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to rename photopost dir?? Luis Larios Photopost Pro How Do I...? 9 January 17th, 2010 05:40 AM
hi need help move images dir appsfinder How Do I? - vBulletin 3.6x 4 October 11th, 2008 01:01 PM
New Install - Dir questions and more aem Photopost Pro Installation & Upgrades 1 September 7th, 2005 06:51 AM
Backup dir permissions firstrebel Photopost Pro Installation & Upgrades 4 May 26th, 2005 08:30 AM
Data Dir Problems davidthornton Photopost Pro Installation & Upgrades 1 December 29th, 2004 10:16 PM


All times are GMT -5. The time now is 08:32 PM.

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