![]() |
Getting Errors I installed Photopost 5.2.1 and want to integrate with my vbulletin version 3.5.3 Now the problem is when i installed the script everything went fine.I tried to check photopost script and pointed URL to its location i got following errors : Warning: main(./global.php): failed to open stream: No such file or directory in /home/rawfoodc/public_html/photopost/header-inc.php on line 61 Warning: main(./global.php): failed to open stream: No such file or directory in /home/rawfoodc/public_html/photopost/header-inc.php on line 61 Fatal error: main(): Failed opening required './global.php' (include_path='.:/usr/local/lib/php') in /home/rawfoodc/public_html/photopost/header-inc.php on line 61 How can i fix that.I think that needs to be worked in order to integrate with vbulletin. Please help.Thanks in advance. |
Hello in your config-int.php file edit the $vbpath and point to the correct server path to your vbulletin forums. Right now that path is incorrect and correcting the path will solve your issue. |
i did as you said and it worked .... I dont know why i missed that. Anyways thanks a lot for your help. |
i tried to fix that and made little changes in path in 'inc_photopost" file now i get following errors : Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/rawfoodc/public_html/photopost/inc_features.php on line 54 Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/rawfoodc/public_html/photopost/inc_features.php on line 119 Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/rawfoodc/public_html/photopost/inc_photopost.php on line 107 Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /home/rawfoodc/public_html/photopost/inc_photopost.php on line 118 |
Hello please read this thread which deals with that hack. Especially the paragraph in bold which is the number one mistake people make. http://www.photopost.com/forum/photopost-product-faqs/110527-photopost-enhanced-vb3-index-integration.html |
well i completed everything ... i am not getting errors but the images are not being displayed on the forumhome page.just have a look here http://www.rawfoodchat.com/forums/ |
Well granted the members gallery photos are not shown on the forum you should have at least one file showing which is this one which is in a category http://rawfoodchat.com/photopost/sho...?photo=6&cat=2 If you want members gallery photos to show you can remove this statement from the queries in inc_features.php Code: Content visible to verified customers only. |
also i have cookies problems.I can login on forums as well as photopost but when i try to access photopost admin panel it just brings me to main photopost page without logging in. |
many posts here about that one. here is one such post that should help here as your cookie settings between the forum and photopost must be exaxt as well as the correct license number http://www.photopost.com/forum/showp...06&postcount=5 |
the cookies problem also got solved as per your instructions but there is still same problem no image on Forumhome i double checked everything sir. |
Well with these errors here please read the attached thread because it would appear you have photopost and the forums in separate databases. There are instructions on what to do in the thread linked here Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/rawfoodc/public_html/photopost/inc_features.php on line 54 Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/rawfoodc/public_html/photopost/inc_features.php on line 119 Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/rawfoodc/public_html/photopost/inc_photopost.php on line 107 Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /home/rawfoodc/public_html/photopost/inc_photopost.php on line 118 http://www.photopost.com/forum/showthread.php?t=110527 |
i dont think i am able to do that.As i did fixed that earlier but again i have the same problem can you do it for me please. |
| All times are GMT -5. The time now is 12:43 AM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0