PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Photopost Pro Bug Reports (http://www.photopost.com/forum/photopost-pro-bug-reports/)
-   -   MySQL error in Version 6.0 (http://www.photopost.com/forum/photopost-pro-bug-reports/133375-mysql-error-version-6-0-a.html)

gargoyl September 21st, 2007 03:44 PM

MySQL error in Version 6.0
 
hi,
here is an sql error in version 6.0 with vbulletin 3.6.8 integration.


An error was encountered during execution of the query:

UPDATE photo_photos SET username='XXXXXX' WHERE userid=XXXXX

The query returned with an errorcode of:

Unknown column 'username' in 'field list'




Peter

Arcade King September 21st, 2007 06:29 PM

I get the same error.

Chuck S September 21st, 2007 06:53 PM

Can you please explain what action you are taking in the program when you get this error.

I dont know if there are other areas but line 4273 of pp-inc.php should be this in bold user not username for the query. If there is anything else you need let me know.

Code:

Content visible to verified customers only.

Arcade King September 21st, 2007 07:29 PM

Seems to happen when a user enters the gallery who hasn't viewed the Gallery since the upgrade and only seems to happen once from what i can tell.
BTW my photopost is integrated with VB 3.6.8.

Michael P September 21st, 2007 07:41 PM

in pp-inc.php around line 4283:

Code:

Content visible to verified customers only.
username should be user

Arcade King September 21st, 2007 09:03 PM

ok will do

Theres quite a few lines there with users too? should all instances of users be user?

Arcade King September 23rd, 2007 06:49 PM

Still having the same problem.

Code:

Content visible to verified customers only.
Code:

Content visible to verified customers only.

Chuck S September 23rd, 2007 07:04 PM

If you edit the line Michael and I both pointed out in pp-inc.php your error should be corrected and I beleive Michael has also updated the build download on this issue.


All times are GMT -5. The time now is 07:50 PM.

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