PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |
Old January 13th, 2009, 01:21 PM   #1 (permalink)
Junior Member
Verified Customer
 
Join Date: Jul 2004
Posts: 16
Database error when viewing user profile

Only when vbgallery is enabled, I get a database error when trying to see userprofile for (only) one of my users. This user has not uploaded any pictures in the vbgallery.

Database error in vBulletin 3.8.0 Release Candidate 2:
Invalid SQL:
SELECT MAX(dateline) AS lastpost, COUNT(*) AS total
FROM usernote AS usernote
WHERE userid =;

No database error when trying to see other users. What might be the problem?
When I disable vbgallery, the problem disappears.
HenrikHansen is offline   Reply With Quote
Old January 13th, 2009, 01:39 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,705
what version of vbgallery are you using and when did you last update it?
__________________
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 15th, 2009, 01:55 PM   #3 (permalink)
Junior Member
Verified Customer
 
Join Date: Jul 2004
Posts: 16
I am using 2.4.3. I guess it was last updated shortly after this version was released.
HenrikHansen is offline   Reply With Quote
Old February 5th, 2009, 05:47 PM   #4 (permalink)
Junior Member
Verified Customer
 
Join Date: Aug 2008
Posts: 8
any resolution to this bug???
swordfish01 is offline   Reply With Quote
Old February 5th, 2009, 08:55 PM   #5 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,705
I beleive there is another thread I posted on this issue. Have you tried disabling plugins other than vbulletin and vbgallery maybe another hack is your issue?

I have a stock vbgallery installed as a test with vbulletin 3.81 and I do not see any issues try looking here as an example

Reeftalk Forums - View Profile: Chuck S

Reeftalk Forums - View Profile: testing

Is there some other action we are unaware of? Those are links of a user who has no gallery pictures and me who has many.
__________________
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, 2009, 10:05 AM   #6 (permalink)
Junior Member
Verified Customer
 
Join Date: Aug 2008
Posts: 8
yes I tried disabling vbseo.. the only other mod I have installed.

This is on VB 3.8.1
Quote:
Database error in vBulletin 3.8.1:

Invalid SQL:

SELECT MAX(dateline) AS lastpost, COUNT(*) AS total
FROM usernote AS usernote
WHERE userid =;

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 3
Error Number : 1064
Request Date : Friday, February 6th 2009 @ 10:52:59 AM
Error Date : Friday, February 6th 2009 @ 10:52:59 AM
Script : Braces Forums - View Profile: jenn773
Referrer : Braces Before and After Photo Gallery
IP Address : *********
Username : *********
Classname : *********
MySQL Version : 4.1.22-standard
swordfish01 is offline   Reply With Quote
Old February 6th, 2009, 10:09 AM   #7 (permalink)
Junior Member
Verified Customer
 
Join Date: Aug 2008
Posts: 8
apparently when I disable this plugin, everything works OK.

When enabled, I get that mysql error and also notice a bunch of member are showing as usergroup GUEST

The gallery however is still live even when disable...? and seems to work normally...
swordfish01 is offline   Reply With Quote
Old February 6th, 2009, 10:23 AM   #8 (permalink)
Junior Member
Verified Customer
 
Join Date: Aug 2008
Posts: 8
I updated User Counts through the maintenance and all works well now...
swordfish01 is offline   Reply With Quote
Old February 6th, 2009, 10:38 AM   #9 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,705
Not a problem glad you sorted it.
__________________
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
Database error when viewing user profile HenrikHansen Photopost Pro How Do I...? 0 December 29th, 2008 01:11 PM
Error if I view a profile of new user jazde86 Bugs - vBulletin 3.6x 3 May 8th, 2008 04:55 AM
Database error when viewing images jgommel Installs and Upgrade - vBulletin 3.6x 4 February 21st, 2007 10:11 AM
Getting error when viewing one member's profile in vB convergent Installs and Upgrade - vBulletin 3.5.X 4 August 23rd, 2006 10:16 AM
error message: cannot connect to the user database asherariel Photopost Pro Installation & Upgrades 1 July 24th, 2004 11:13 AM


All times are GMT -5. The time now is 10:24 PM.

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