PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Photopost Pro How Do I...? (http://www.photopost.com/forum/photopost-pro-how-do-i/)
-   -   Getting Errors (http://www.photopost.com/forum/photopost-pro-how-do-i/122264-getting-errors.html)

italks January 15th, 2006 06:49 AM

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.

Chuck S January 15th, 2006 09:51 AM

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.

italks January 15th, 2006 11:55 PM

i did as you said and it worked .... I dont know why i missed that.

Anyways thanks a lot for your help.

italks January 18th, 2006 01:30 AM

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

Chuck S January 18th, 2006 07:11 AM

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

italks January 18th, 2006 10:13 AM

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/

Chuck S January 18th, 2006 12:35 PM

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.

italks January 20th, 2006 12:06 PM

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.

Chuck S January 20th, 2006 01:34 PM

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

italks January 20th, 2006 02:09 PM

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.

Chuck S January 20th, 2006 02:41 PM

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

italks January 20th, 2006 02:59 PM

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


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