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 Installation & Upgrades

Photopost Pro Installation & Upgrades If you're having install or upgrade problems

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old July 16th, 2009, 10:30 AM   #1 (permalink)
Member
Verified Customer
 
Join Date: Jan 2002
Posts: 54
Upgrade from 6 to latest - problem with inc_features.php on home page

After the upgrade, my homepage just displays this when I try to show the random pics as I always have:

Quote:
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in F:\Inetpub\wwwroot\clubcobra\photopost\inc_features.php on line 67
Table 'clubcobra.photos' doesn't exist
When I change to the old inc_features.php my page displays at least but where the random pics are I just get:

Quote:
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in F:\Inetpub\wwwroot\clubcobra\photopost\inc_features.php on line 67

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in F:\Inetpub\wwwroot\clubcobra\photopost\inc_features.php on line 143

Any help would be appreciated. Thanks.
cobradude is offline   Reply With Quote
Old July 16th, 2009, 10:33 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,654
If you overwrote your file have you reedited that file and uncommented the $link and mysql_select_db lines and filled them out with the proper info?
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old July 16th, 2009, 10:51 AM   #3 (permalink)
Member
Verified Customer
 
Join Date: Jan 2002
Posts: 54
I'm using the same db for both photopost and vb. I didn't have those lines uncommented before or on my other sites.
cobradude is offline   Reply With Quote
Old July 16th, 2009, 10:54 AM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,654
clubcobra.photos

Okay then so do you have a table prefix on your photopost tables and forgot to enter it in edit integration settings under admin?
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old July 16th, 2009, 09:51 PM   #5 (permalink)
Member
Verified Customer
 
Join Date: Jan 2002
Posts: 54
Just double checked. The pp_ is in there appropriately. The photopost site Main Index - Club Cobra Photo Gallery works fine...Just have the problem on my home page clubcobra.com where I had random pics showing. Right now I have the old inc_features.php in there so the page at least loads with a couple of errors. The new inc_features.php breaks the whole page with the error noted above.

Thanks for your help by the way.
cobradude is offline   Reply With Quote
Old July 17th, 2009, 08:30 AM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,654
The inc_features.php is an enclosed file so you need to set things correctly

1. In the edit integration settings in admin you must have properly entered the correct table prefix for your photopost tables.

Based on the error your posting that it is looking for the photos table not pp_photos table then your settings have to be off.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old July 17th, 2009, 10:28 AM   #7 (permalink)
Member
Verified Customer
 
Join Date: Jan 2002
Posts: 54
When in the admin mode and looking at edit config, it shows: PhotoPost Database Prefix (cannot be changed once set) pp_

When I opened config-int.php I did miss $pp_db_prefix = "";

Thanks for the help it's working now.
cobradude is offline   Reply With Quote
Old July 17th, 2009, 02:12 PM   #8 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,654
You can edit config-int.php by Admin => Edit Integration which is what I was posting. It appeared you kept going to edit config
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old February 6th, 2010, 10:05 AM   #9 (permalink)
Member
Verified Customer
 
Join Date: Sep 2004
Posts: 123
I have the same problem. I can go to photopost main but when I go to my forum I have this problem on inc_features.php on line 67.


Quote:
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/myaccountname/public_html/photo/inc_features.php on line 67
Table 'vb_databasename.pt_photos' doesn't exist
How can i fix?

Edit:
I fixed it!

Last edited by ttnb; February 6th, 2010 at 10:12 AM.
ttnb is offline   Reply With Quote
Old February 6th, 2010, 11:09 AM   #10 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,654
http://www.photopost.com/forum/photo...3-5-3-8-a.html

This is the instructions for that little mod.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
problem with inc_features.php and "featured photos" integration into main page Absurdum Photopost Pro How Do I...? 6 February 19th, 2007 10:36 AM


All times are GMT -5. The time now is 12:30 AM.

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