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 January 9th, 2009, 06:55 PM   #1 (permalink)
Member
Verified Customer
 
Join Date: Apr 2002
Posts: 147
Send a message via AIM to CaddisNJF
pp-inc issue

I'm getting the following:

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /hsphere/local/home/xxx/njflyfishing.com/photopost/pp-inc.php on line 3270

Where as the following line: list( $msgs ) = mysql_fetch_row($q);

in the following section is line #3270. Any ideas?


if ( $User['userid'] > 0 && $Globals['usemsg'] == "yes" )
{
$q = ppmysql_query("SELECT count(*) FROM {$Globals['pp_db_prefix']}messages WHERE userid={$User['userid']} AND status=0", $link);
list( $msgs ) = mysql_fetch_row($q);

if ( $msgs )
{
if ( $msgs == 1 )
{
$menu2 .= "<br />&nbsp;[ <a href=\"{$Globals['maindir']}/member.php?protype=6\">$msgs {$Globals['pp_lang']['lcmessage']}</a> ]";
}
else
{
$menu2 .= "<br />&nbsp;[ <a href=\"{$Globals['maindir']}/member.php?protype=6\">$msgs {$Globals['pp_lang']['lcmessages']}</a> ]";
}
}
else
{
$menu2 .= "<br />&nbsp;[ {$Globals['pp_lang']['lcnomessages']} ]";
}
}
__________________
HTTP://www.njflyfishing.com
CaddisNJF is offline   Reply With Quote
Old January 9th, 2009, 07:07 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 52,666
Have you upgraded recently?

Does that table exist or have you checked to make sure its not crashed?
__________________
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 January 9th, 2009, 07:57 PM   #3 (permalink)
Member
Verified Customer
 
Join Date: Apr 2002
Posts: 147
Send a message via AIM to CaddisNJF
Quote:
Originally Posted by Chuck S View Post
Have you upgraded recently?

Does that table exist or have you checked to make sure its not crashed?
I'm not sure which table {$Globals['pp_db_prefix']} is?

I did upgrade today, but only thinking that maybe it would get rid of this error. No luck
__________________
HTTP://www.njflyfishing.com
CaddisNJF is offline   Reply With Quote
Old January 9th, 2009, 08:08 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 52,666
the table would most likely be pp_messages. That error would suggest your table is crashed and you need to repair it in like phpmyamin or that table is missing. If its missing its because you upgraded and did not run the upgrade script. That table was added in version 5.61 so I would more suspect mysql corruption.

REPAIR TABLE pp_messages;
__________________
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 January 9th, 2009, 08:22 PM   #5 (permalink)
Member
Verified Customer
 
Join Date: Apr 2002
Posts: 147
Send a message via AIM to CaddisNJF
The table is there and I ran a repair on it. No good though. I'm sure this is something simple that i'm just overlooking.
__________________
HTTP://www.njflyfishing.com
CaddisNJF is offline   Reply With Quote
Old January 10th, 2009, 09:04 AM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 52,666
while logged in as admin in global options turn the debug option to display errors and then tell me the error
__________________
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 January 10th, 2009, 10:51 AM   #7 (permalink)
Member
Verified Customer
 
Join Date: Apr 2002
Posts: 147
Send a message via AIM to CaddisNJF
Quote:
Originally Posted by Chuck S View Post
while logged in as admin in global options turn the debug option to display errors and then tell me the error
I either get a white screen (but vbulletin header and navbar is still there) or If I go directly to photopost/ (with 0r without the /), i get the page not found thing "IE Cannot display the webpage".
__________________
HTTP://www.njflyfishing.com
CaddisNJF is offline   Reply With Quote
Old January 10th, 2009, 04:43 PM   #8 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 52,666
You get a white screen with debug set to display errors that sounds odd to me.

Main Index - North Eastern Fly Fishing's Online Photo Gallery

Is this the site your talking about?

do you have a test user login?
__________________
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 January 10th, 2009, 05:58 PM   #9 (permalink)
Member
Verified Customer
 
Join Date: Apr 2002
Posts: 147
Send a message via AIM to CaddisNJF
here is a plain user test login. If you need admin, Ill PM it to you.

ChuckS
ChuckS111
__________________
HTTP://www.njflyfishing.com
CaddisNJF is offline   Reply With Quote
Old January 10th, 2009, 06:31 PM   #10 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 52,666
I see your site fine except that myql error.

If you turn off the vb3 boxes in edit integration in admin do you get this error on a plain loaded photopost page?
__________________
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 January 10th, 2009, 06:43 PM   #11 (permalink)
Member
Verified Customer
 
Join Date: Apr 2002
Posts: 147
Send a message via AIM to CaddisNJF
I disabled the debug mode, that's why you're seeing it fine now (with the 1 exception).

I set all 3 boxes to "NO" and don't receive the error anymore.
__________________
HTTP://www.njflyfishing.com
CaddisNJF is offline   Reply With Quote
Old January 10th, 2009, 06:48 PM   #12 (permalink)
Member
Verified Customer
 
Join Date: Apr 2002
Posts: 147
Send a message via AIM to CaddisNJF
Leaving the top box Off and keeping the others ON, kinda of eliminates this problem too but then of course Photopost looks like crapola.
__________________
HTTP://www.njflyfishing.com
CaddisNJF is offline   Reply With Quote
Old January 10th, 2009, 08:14 PM   #13 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 52,666
Okay so this looks like an issue when your vb is on. I wonder what types of hacks do you have in your vbulletin? The evidence the error is not present when you turn off that vb header narrows it down to really an issue with vbulletin and thats why I am pointing to maybe a hack interference.
__________________
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 January 10th, 2009, 08:19 PM   #14 (permalink)
Member
Verified Customer
 
Join Date: Apr 2002
Posts: 147
Send a message via AIM to CaddisNJF
Here's the thing... I've disabled all hacks and reverted all templates. Ok, that's only partly true. VBSEO and VBAdvanced are still running.

If you look on my site, you can see that it's really as basic as it comes, with those two exceptions in mind.
__________________
HTTP://www.njflyfishing.com
CaddisNJF is offline   Reply With Quote
Old January 10th, 2009, 08:22 PM   #15 (permalink)
Member
Verified Customer
 
Join Date: Apr 2002
Posts: 147
Send a message via AIM to CaddisNJF
I'll also add that before yesterday, I was running VB 3.67 and was having the same issue. Yesterday I took the leap and upgraded to 3.80 and still having the issue.
__________________
HTTP://www.njflyfishing.com
CaddisNJF is offline   Reply With Quote
Old January 10th, 2009, 08:23 PM   #16 (permalink)
Member
Verified Customer
 
Join Date: Apr 2002
Posts: 147
Send a message via AIM to CaddisNJF
What exactly is this looking for? Maybe I can dig deeper into the actual table? Maybe a field is missing or something? Maybe I skipped a photopost version during an upgrade?
__________________
HTTP://www.njflyfishing.com
CaddisNJF is offline   Reply With Quote
Old January 10th, 2009, 08:24 PM   #17 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 52,666
Well yes I would say disable all hacks. Something in vbulletin is interefering with this query

Code:
Content visible to verified customers only.
You can email us server logins and admin login to look at your site if you wish
__________________
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 January 10th, 2009, 08:32 PM   #18 (permalink)
Member
Verified Customer
 
Join Date: Apr 2002
Posts: 147
Send a message via AIM to CaddisNJF
Quote:
Originally Posted by Chuck S View Post
Well yes I would say disable all hacks. Something in vbulletin is interefering with this query

Code:
Content visible to verified customers only.
You can email us server logins and admin login to look at your site if you wish
I don't understand why it's vBulletin though. Not doubting you but vBulletin appears to be working just fine.

Who should I email with the login details?
__________________
HTTP://www.njflyfishing.com
CaddisNJF is offline   Reply With Quote
Old January 11th, 2009, 10:21 AM   #19 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 52,666
email the contact us link in the header.

Yeah it appears to be something in vb if the error disappears when you turn off your vb enhanced integration and photopost alone displays fine. It could be the vbadvanced or vbseo who knows at this point.
__________________
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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
issue. Jaysmine Photopost Pro Installation & Upgrades 16 September 25th, 2006 01:21 PM
PP v5.31 issue Zigw Photopost Pro Installation & Upgrades 4 July 11th, 2006 09:28 AM
integration issue Skip2 Photopost Pro Installation & Upgrades 2 June 25th, 2006 06:58 PM
upload issue Devboy Photopost Pro Installation & Upgrades 1 October 10th, 2005 08:05 PM
Another What's New Issue Xil Ze Installs and Upgrade - vBulletin 3.0.X 3 July 10th, 2005 10:37 PM


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

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