PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |
Old November 22nd, 2009, 09:53 AM   #1 (permalink)
Member
Verified Customer
 
Join Date: Dec 2004
Location: Toronto, Ontario
Posts: 30
Getting this wierd new error

When clicking to look at a new member I am getting this

Database error in vBulletin 3.8.4:
Invalid SQL:
SELECT MAX(dateline) AS lastpost, COUNT(*) AS total
FROM hc1usernote 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

But I have no problem looking at a user profile

I created a ticket at VB.com
and this is the response

Try disabling your modifications/plugins and see if you still have this problem.
Note: To temporarily disable the plugin system, edit config.php and add this line right under <?php


PHP Code:
define('DISABLE_HOOKS', true);

_______________________________

So I have done that then retraced my steps back to disableing the gallery and the problem has gone away.

When I enable the gallery again it returns.

So I am going to asume that it is somewehere in the gallery code, but I am not sure where.
marinefiend is offline   Reply With Quote
Old November 22nd, 2009, 10:14 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,802
well what version of the gallery are you running. I dont know why the gallery would affect some query thats not part of the gallery but anyway some more info would be needed here. like specifically what action your doing script name etc. I am assuming its member.php right
__________________
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 November 22nd, 2009, 11:04 AM   #3 (permalink)
Member
Verified Customer
 
Join Date: Dec 2004
Location: Toronto, Ontario
Posts: 30
K, Chuck

here is the complete error, I am running PhotoPost vBGallery v2.5

Database error in vBulletin 3.8.4:

Invalid SQL:

SELECT MAX(dateline) AS lastpost, COUNT(*) AS total
FROM hc1usernote 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 : Sunday, November 22nd 2009 @ 09:57:23 AM
Error Date : Sunday, November 22nd 2009 @ 09:57:23 AM
Script : Hardcore Aquatics Inc. - A dedicated place for Responsible Aquarium Husbandry.
Referrer : Hardcore Aquatics Inc. - A dedicated place for Responsible Aquarium Husbandry.

Classname : vB_Database
MySQL Version : 5.0.81-community


Everything else is fine. I only get this erro when trying to click on Welcome to our newest member, USERNAME HERE

Now this is really weird. When I click the previous user 1235 it shows the member info no problem. when I go and click on 1236 I get that error.

When I diable the gallery in the pluggins section I can see the member no problem.
marinefiend is offline   Reply With Quote
Old November 22nd, 2009, 11:12 AM   #4 (permalink)
Member
Verified Customer
 
Join Date: Dec 2004
Location: Toronto, Ontario
Posts: 30
Chuck maybe it has something to do with the CMPS block, because when i turn off the pluggin for the gallery the block gets turned off as well, and than I can see the user again.
marinefiend is offline   Reply With Quote
Old November 22nd, 2009, 11:56 AM   #5 (permalink)
Member
Verified Customer
 
Join Date: Dec 2004
Location: Toronto, Ontario
Posts: 30
Now to make this work I have to disable the ppvbgallery in the Pluggin and Products section...Oh and it only happens on the last member that signed up.
marinefiend is offline   Reply With Quote
Old November 22nd, 2009, 12:51 PM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,802
I will search and see if I can find anything

Now you can send admin login ftp info through the contact us link so I can look into 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 November 22nd, 2009, 04:46 PM   #7 (permalink)
Member
Verified Customer
 
Join Date: Dec 2004
Location: Toronto, Ontario
Posts: 30
OK will do, and message sent
marinefiend is offline   Reply With Quote
Old November 23rd, 2009, 05:16 PM   #8 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,802
No problem I emailed you back
__________________
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 December 22nd, 2009, 09:24 AM   #9 (permalink)
Junior Member
Verified Customer
 
Join Date: Aug 2009
Posts: 4
I have this same problem - the exact same problem.

When I disable PhotoPost vBGallery 2.5 this problem goes away.
when I re-enable problem comes back.

Only produces error for some users, not all.

Forum is internal, so error message is scrubbed.

text of error is:
------------------------------

Database error in vBulletin 3.8.4:

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 : Tuesday, December 22nd 2009 @ 08:15:22 AM
Error Date : Tuesday, December 22nd 2009 @ 08:15:22 AM
Script : http://***/member.php?u=114
Referrer : https://***/
IP Address : *.*.*.*
Username : Larry
Classname : vB_Database_MySQLi
MySQL Version : 5.0.84
Larry is offline   Reply With Quote
Old December 22nd, 2009, 09:29 AM   #10 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,802
You can send us an actual admin login to view things and I will see if I can help
__________________
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 December 22nd, 2009, 09:57 AM   #11 (permalink)
Junior Member
Verified Customer
 
Join Date: Aug 2009
Posts: 4
Disabled Userinfo Merge - OK now

Disabled Userinfo Merge - OK now

It is an internal forum, you would not be able to get through the firewall.

Thanks for the offer.
Larry is offline   Reply With Quote
Old December 22nd, 2009, 10:07 AM   #12 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,802
You can try this post

http://www.photopost.com/forum/1253725-post28.html
__________________
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
Classifieds offline wierd d base error blueknight Classifieds Bug Reports 32 October 13th, 2006 11:25 AM
Kind of wierd problem after VB 3.5 upgrade coloradok5 Photopost Pro Installation & Upgrades 2 November 2nd, 2005 10:27 AM
Wierd subcat link bug(FIXED) Arnie ReviewPost Bug Reports 7 August 29th, 2005 10:51 AM
Wierd templating problem in upgrade crazy4bass Installs and Upgrade - vBulletin 3.0.X 2 May 24th, 2005 05:45 PM
I have a few wierd problems Delw Installs and Upgrade - vBulletin 3.0.X 5 February 13th, 2005 03:18 PM


All times are GMT -5. The time now is 02:23 PM.

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