PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Photopost Pro Bug Reports (http://www.photopost.com/forum/photopost-pro-bug-reports/)
-   -   MySQL Errors ! (http://www.photopost.com/forum/photopost-pro-bug-reports/134579-mysql-errors.html)

barbados December 10th, 2007 05:41 PM

MySQL Errors !
 
I received some emails that shows :

Quote:

An error was encountered during execution of the query: SELECT photo,comment FROM pp_comments WHERE userid= AND comment != '' ORDER BY date DESC LIMIT 1 The query returned with an errorcode of: 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 'AND comment != '' ORDER BY date DESC LIMIT 1' at line 1 If you need assistence or feel this is a 'bug'; please report it to our support forums at: http://www.photopost.com/members/forum/f66/index.html To turn off these emails, set $debug=0 in your config-inc.php file.
I see that in the buddy list in my profile i have 5 empty buddies that the names are not show.
What is wrong ?

Chuck S December 11th, 2007 08:58 AM

Line 364 of member.php you would change to this. Basically encapsulating the uid variable.

Code:

Content visible to verified customers only.


All times are GMT -5. The time now is 03:00 AM.

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


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97