 | |  | | | Photopost Pro How Do I...? Wondering how to do things in PhotoPost? |
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.  |
| |
July 18th, 2012, 01:05 PM
|
#2 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,687
|
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.
|
| |
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
|
| |
July 18th, 2012, 02:28 PM
|
#4 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,687
|
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?
|
| |
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
|
| |
July 18th, 2012, 03:25 PM
|
#6 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,687
|
well then do what i posted before as you restored a backup of the database and you need to reedit your paths again. |
| |
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
|
| |
July 18th, 2012, 07:35 PM
|
#8 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,687
|
Yep glad to help enjoy let us know if you need anything else.
|
| |
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
|
| |
July 19th, 2012, 09:50 AM
|
#10 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,687
|
Did you change the path in both config files? The master path for the script is set in the config-inc.php file.
|
| |
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 :/
|
| |
July 19th, 2012, 03:35 PM
|
#12 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,687
|
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.
|
| |
July 19th, 2012, 03:54 PM
|
#13 (permalink)
| | Junior Member Verified Customer
Join Date: Apr 2012
Posts: 22
|
bingo! thank you Chuck!!!
|
| |
July 19th, 2012, 03:59 PM
|
#14 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,687
|
No problem glad to help.
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 05:00 PM. | |