PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > PhotoPost Pro Support Forums > Photopost Pro How Do I...?

Photopost Pro How Do I...? Wondering how to do things in PhotoPost?

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old February 18th, 2009, 07:34 PM   #1 (permalink)
Member
Verified Customer
 
Join Date: Dec 2006
Location: Chicago
Posts: 64
trouble integrating inc_features.php

Hello,

In this step it says to do the following:

3) In your vB index.php file, you will need to add two lines under under these four:

// ######################### REQUIRE BACK-END ############################
require_once('./global.php');
require_once('./includes/functions_bigthree.php');
require_once('./includes/functions_forumlist.php');
include('./photopost/inc_features.php');
include('./photopost/inc_photopost.php');

If I add the following line : include('./photopost/inc_photopost.php'); it is fine. However when I add the other: include('./photopost/inc_features.php');

I get errors. I tried to call up the inc_features.php page and get the following:


Warning: mysql_query() [function.mysql-query]: Access denied for user 'nobody'@'localhost' (using password: NO) in /home/cheftalk/public_html/photopost/inc_photopost.php on line 64

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /home/cheftalk/public_html/photopost/inc_photopost.php on line 64

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/cheftalk/public_html/photopost/inc_photopost.php on line 68

Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /home/cheftalk/public_html/photopost/inc_photopost.php on line 89

Warning: mysql_query() [function.mysql-query]: Access denied for user 'nobody'@'localhost' (using password: NO) in /home/cheftalk/public_html/photopost/inc_photopost.php on line 126

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /home/cheftalk/public_html/photopost/inc_photopost.php on line 126

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/cheftalk/public_html/photopost/inc_photopost.php on line 128

Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /home/cheftalk/public_html/photopost/inc_photopost.php on line 143


What am I missing.

Thanks in advance Chuck.
ChefTalk is offline   Reply With Quote
Old February 18th, 2009, 09:05 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,671
In the thread your reading on how to install it read what is in bold in that initial thread on setting the database stuff. That should solve your issue

Also there has been a plugin for some time so you dont need to edit index.php just install the plugin

http://www.photopost.com/forum/photo...tin-3-5-a.html
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old February 19th, 2009, 08:39 PM   #3 (permalink)
Member
Verified Customer
 
Join Date: Dec 2006
Location: Chicago
Posts: 64
I uploaded this plugin a while ago it does not work for me. We have a customized template and nothing shows up. Any ideas?
ChefTalk is offline   Reply With Quote
Old February 19th, 2009, 08:47 PM   #4 (permalink)
Member
Verified Customer
 
Join Date: Dec 2006
Location: Chicago
Posts: 64
Shouldn't you only need to set the database stuff if you have photopost in a different database than VB? I have them in the same db just that the pp tables are prefixed with PP_
ChefTalk is offline   Reply With Quote
Old February 19th, 2009, 08:51 PM   #5 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,671
If you have custom things that could play alot into your issue.

Code:
Content visible to verified customers only.
That issue is pretty specific in any of the photopost external files your using uncomment the mysql stuff and fill in the proper mysql info to connect.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old February 19th, 2009, 09:05 PM   #6 (permalink)
Member
Verified Customer
 
Join Date: Dec 2006
Location: Chicago
Posts: 64
Even if I use the default template from VB this does not show up.
ChefTalk is offline   Reply With Quote
Old February 19th, 2009, 09:20 PM   #7 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,671
Have you solved your mysql issues?

Once you solve your mysql issues its a matter of editing the forumhome template and placing the proper variables to print the stuff.

The plugins is the way to go to get photos on the forum.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old February 22nd, 2009, 08:10 AM   #8 (permalink)
Member
Verified Customer
 
Join Date: Dec 2006
Location: Chicago
Posts: 64
Can I open a support ticket to get some help with this? I can't get this to work.
ChefTalk is offline   Reply With Quote
Old February 22nd, 2009, 10:25 AM   #9 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,671
If you sent your site info ftp url and admin login to the contact link above in the header sure I will look at it.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old May 2nd, 2009, 03:07 PM   #10 (permalink)
Member
Verified Customer
 
Join Date: Apr 2002
Posts: 423
Hi, I just did a simple upgrade (or so I thought) from 6.0 to 6.22. Ported all my customizations over using Beyond Compare and now when I try to execute inc_features.php, I get:

Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'nobody'@'localhost' (using password: NO) in /home/osports/public_html/photopost/inc_features.php on line 25
I cannot connect to the database.

This is hard to understand. I have uncommented lines 25 and 26 and put the same information in them as I had under version 6.0. The database and or username have not changed. This was a simple upgrade.
wacnstac is offline   Reply With Quote
Old May 2nd, 2009, 09:41 PM   #11 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,671
nobody is your mysql user?

It would appear the lines in that file are not uncommented and filled out with the correct mysql information based on that error.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old May 2nd, 2009, 10:02 PM   #12 (permalink)
Member
Verified Customer
 
Join Date: Apr 2002
Posts: 423
I don't think so. I submitted a support request on this issue.
wacnstac is offline   Reply With Quote
Old May 3rd, 2009, 06:56 AM   #13 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,671
Ok did you check those lines all 3 of them?

The proper mysql information is on all 3 and the // removed?
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old May 3rd, 2009, 08:58 AM   #14 (permalink)
Member
Verified Customer
 
Join Date: Apr 2002
Posts: 423
Yes, everything is the same as I had it in version 6.0 which was working.
wacnstac is offline   Reply With Quote
Old May 3rd, 2009, 08:55 PM   #15 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,671
I sent a reply you had $ on the front of your username and password on the link line which is incorrect.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old May 6th, 2009, 05:14 PM   #16 (permalink)
Junior Member
Verified Customer
 
Join Date: Mar 2009
Posts: 7
I have the same problem. I have photopost in the same database as vb and I have the error "Access denied for user 'online'@'localhost' (using password: NO)"

All the lines about a database connection are commented as explained.

I used the xml file without modifing the index.php file and also I tried modifying the files as you can se here PhotoPost Enhanced vB3 Index Integration

What's wrong?
coiotet is offline   Reply With Quote
Old May 6th, 2009, 09:40 PM   #17 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,671
Try uncommenting those link and mysql lines and using the correct information, It appears to me based on the error one of the lines is uncommented or maybe you have a conflict with another hack. At any rate filling out the proper mysql info should help.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
inc_features.php trackpads Photopost Pro Bug Reports 3 May 30th, 2008 08:46 PM
inc_features.php xtremetoonz Photopost Pro How Do I...? 9 November 6th, 2007 11:53 AM
inc_photopost.php and inc_features.php flavoflav Photopost Pro Installation & Upgrades 2 April 5th, 2006 12:52 AM
inc_features.php help s2kinteg916 Photopost Pro How Do I...? 15 December 19th, 2005 11:41 AM
inc_features.php hendri Photopost Pro How Do I...? 2 May 26th, 2005 06:49 PM


All times are GMT -5. The time now is 11:42 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0