![]() |
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: |
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. |
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 |
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? |
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 |
well then do what i posted before as you restored a backup of the database and you need to reedit your paths again. ;) |
I got it working, thank you Chuck <3 |
Yep glad to help enjoy let us know if you need anything else. |
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 |
Did you change the path in both config files? The master path for the script is set in the config-inc.php file. |
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 :/ |
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. |
bingo! thank you Chuck!!! |
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