PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Photopost Pro How Do I...? (http://www.photopost.com/forum/photopost-pro-how-do-i/)
-   -   Dir Error help (http://www.photopost.com/forum/photopost-pro-how-do-i/148476-dir-error-help.html)

jenyurko July 18th, 2012 01:01 PM

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.


:confused::confused:

Chuck S July 18th, 2012 01:05 PM

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.

jenyurko July 18th, 2012 01:32 PM

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

Chuck S July 18th, 2012 02:28 PM

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?

jenyurko July 18th, 2012 02:50 PM

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

Chuck S July 18th, 2012 03:25 PM

well then do what i posted before as you restored a backup of the database and you need to reedit your paths again. ;)

jenyurko July 18th, 2012 07:33 PM

I got it working, thank you Chuck <3

Chuck S July 18th, 2012 07:35 PM

Yep glad to help enjoy let us know if you need anything else.

jenyurko July 18th, 2012 10:55 PM

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

Chuck S July 19th, 2012 09:50 AM

Did you change the path in both config files? The master path for the script is set in the config-inc.php file.

jenyurko July 19th, 2012 03:11 PM

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 :/

Chuck S July 19th, 2012 03:35 PM

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.

jenyurko July 19th, 2012 03:54 PM

bingo! thank you Chuck!!!

Chuck S July 19th, 2012 03:59 PM

No problem glad to help.


All times are GMT -5. The time now is 02:35 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