 | |  | | | Photopost Pro Installation & Upgrades If you're having install or upgrade problems |
December 14th, 2009, 07:44 AM
|
#1 (permalink)
| | Member Verified Customer
Join Date: Jan 2003 Location: London
Posts: 265
| Error emails after upgrade
I have just upgraded from PhotoPost Pro 6.23 to 7 and now getting emails with Quote:
An error was encountered during execution of the query:
SELECT COUNT(*) FROM subscriptions WHERE isactive='yes'
The query returned with an errorcode of:
Table 'photopost.subscriptions' doesn't exist
| Bob
|
| |
December 14th, 2009, 08:26 AM
|
#2 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 68,070
|
Bob well you where not running 6.23 then. The subscriptions table was added back in 6.1 so my suggestion is to run the 6.1 to 6.2 upgrade
|
| |
December 14th, 2009, 08:33 AM
|
#3 (permalink)
| | Member Verified Customer
Join Date: Jan 2003 Location: London
Posts: 265
|
6.1 to 6.2 went OK but after 6.2 to 7 got this: Quote:
Error performing MySQL command: INSERT INTO settings VALUES (251, 'Number of thumbnail preview columns?', 'previewcols', 'Can be 1 or 3.', '3', 33, 5)
Error: Duplicate entry '251' for key 1
Error performing MySQL command: INSERT INTO settings VALUES (252, 'Border color of currently showing thumbnail in thumbnail preview column?', 'selectcolor', '', '#00cc00', 34, 5)
Error: Duplicate entry '252' for key 1
Error performing MySQL command: INSERT INTO settings VALUES (254, 'Path to ffmpeg (if used)', 'ffmpeg', 'This only needs to be set if you are using ffmpeg to extract video thumbnails. Full server path.', '/usr/bin/ffmpeg', 31, 1)
Error: Duplicate entry '254' for key 1
Error performing MySQL command: INSERT INTO settings VALUES (253, 'SEO meta description for index page?', 'seoindex', '', 'A community photo gallery', 19, 3)
Error: Duplicate entry '253' for key 1
| Bob
Last edited by firstrebel; December 14th, 2009 at 08:40 AM.
|
| |
December 14th, 2009, 09:25 AM
|
#4 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 68,070
|
Are you getting that email error anymore |
| |
December 14th, 2009, 09:57 AM
|
#5 (permalink)
| | Member Verified Customer
Join Date: Jan 2003 Location: London
Posts: 265
| Quote:
Originally Posted by Chuck S Are you getting that email error anymore  | No, that has stopped.
Bob
|
| |
December 14th, 2009, 10:06 AM
|
#6 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 68,070
|
Okay then its all good then
|
| |
December 14th, 2009, 11:55 AM
|
#7 (permalink)
| | Member Verified Customer
Join Date: Jan 2003 Location: London
Posts: 265
|
Everything seems to be working OK now. Thanks
Bob
|
| |
December 14th, 2009, 12:08 PM
|
#8 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 68,070
|
no problem glad to help
|
| |
December 17th, 2009, 09:29 AM
|
#9 (permalink)
| | Member Verified Customer
Join Date: Jan 2003 Location: London
Posts: 265
| MySQL error
Got another email about a MySQL error today Quote:
An error was encountered during execution of the query:
SELECT id,user,userid,cat,storecat,date,title,description,ismature,keywords,bigimage,width,height,filesize,views,medwidth,medheight,medsize,approved,rating,votes,allowprint,numcom,lastposter FROM photos WHERE userid= AND storecat=0 ORDER BY disporder,date DESC
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 storecat=0 ORDER BY disporder,date DESC' at line 1
| Bob
|
| |
December 17th, 2009, 09:38 AM
|
#10 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 68,070
|
maybe a bot playing with urls I would think
Calling ppuser and removing the actual user id
|
| |
December 17th, 2009, 10:06 AM
|
#11 (permalink)
| | Member Verified Customer
Join Date: Jan 2003 Location: London
Posts: 265
| Quote:
Originally Posted by Chuck S Calling ppuser and removing the actual user id | Not sure I know what you mean by that comment.
Bob
|
| |
December 17th, 2009, 10:11 AM
|
#12 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 68,070
|
what I am saying is that I dont see anywhere in the program that we call showgallery with an empty ppuser statement
it would be nice to know the url this happens at as my thinking here is a bot scans urls and they can play or remove variables in the url which might result in an error
|
| |
December 20th, 2009, 04:24 PM
|
#13 (permalink)
| | Member Verified Customer
Join Date: Jul 2002 Location: MA
Posts: 61
|
I've received 18 of those messages today alone. Is there anything we can (or need) to do about them?
|
| |
December 20th, 2009, 05:08 PM
|
#14 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 68,070
|
As stated I dont see anywhere in our program we call anything without ppuser variable set.
To fix something you first need to know where its happening or how.
I can tell you to surpress the error you could encapsulte the variable in the line noted in showgallery Code: Content visible to verified customers only.
that line is only found one place so search and replace it with this Code: Content visible to verified customers only.
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 02:15 PM. | |