View Full Version : Having issues after moving hosts
November 29th, 2008, 11:30 PM
Hopefully someone can help out here.
I'm receiving the following after changing hosts:
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /hsphere/local/home/xxxx/njflyfishing.com/photopost/pp-inc.php on line 3187
3187 = list( $msgs ) = mysql_fetch_row($q);
Warning: require_once(./global.php): failed to open stream: No such file or directory in /hsphere/local/home/xxxx/njflyfishing.com/photopost/ajax.php on line 37 Fatal error: require_once(): Failed opening required './global.php' (include_path='.:/hsphere/shared/apache/libexec/php5ext/php/') in /hsphere/local/home/dennis1/njflyfishing.com/photopost/ajax.php on line 37
Thanks for any assistance.
November 30th, 2008, 08:54 AM
well the ajax file is not our file so its hard to assist with that one ;) I can only assume you have some link in a header footer to that file
Looking at your site you have hacks or something and your storing wrong paths somewhere.
I can tell you how you fix paths in photopost
As far as the msg error make sure your logged in as admin and set debug setting in photopost to display errors that should tell you the real mysql error so we can assist.
November 30th, 2008, 04:43 PM
I turned on the display errors thing but then got a page not found.
I'm also getting this one:
Warning: require_once(/hsphere/local/home/xxxx/njflyfishing.com/photopost/includes/config.php): failed to open stream: No such file or directory in /hsphere/local/home/dennis1/njflyfishing.com/photopost/global.php on line 109 Fatal error: require_once(): Failed opening required '/hsphere/local/home/xxxx/njflyfishing.com/photopost/includes/config.php' (include_path='.:/hsphere/shared/apache/libexec/php5ext/php/') in /hsphere/local/home/xxxx/njflyfishing.com/photopost/global.php on line 109
November 30th, 2008, 06:04 PM
These errors are all about vbulletin files. It appears some hack or something in vb is looking for your vb files in the photopost directory.
The place we tell where vb is installed at is in config-int.php on the $vbpath. However you dont have a photopost issue because your photopost is loading fine with the vb header it looks to me like your issue is with vb hacks.
try turning off the vb plugin system
November 30th, 2008, 06:39 PM
Ok, no problem. I'll look deeper into this. You're most likely right.
December 1st, 2008, 10:06 AM
Yeah if you had a specific issue with photopost the page should not display and you should get an error such as this on number 2 on this post
You can feel free to email us through the contact link in the header a url and admin login to make sure photopost is set correct.
vBulletin® v3.8.1, Copyright ©2000-2014, Jelsoft Enterprises Ltd.