 | |  | | | Photopost Pro Bug Reports Post post installation PhotoPost Pro problems here. |
May 31st, 2005, 01:16 AM
|
#1 (permalink)
| | Junior Member Verified Customer
Join Date: Feb 2005
Posts: 19
| pp 5.1 sql error (not a bug)
I keep gettting these errors in my email, what is going on with them ?
An error was encountered during execution of the query:
SELECT id,catname,thumbs,cattype,parent,password,theme,ratingtype FROM pp_categories WHERE id=
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 '' 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.
|
| |
May 31st, 2005, 05:18 AM
|
#2 (permalink)
| | Member Verified Customer
Join Date: Mar 2005
Posts: 52
|
I'm also keep geting these errors and receive about 50 emails every day:
----------------------
An error was encountered during execution of the query:
SELECT id,catname,description,catorder,parent,thumbs,children,cattype,albums FROM
pp_categories WHERE id IN (500) ORDER BY id DESC
The query returned with an errorcode of:
Unknown column 'albums' in 'field list'
----------------------
|
| |
May 31st, 2005, 07:56 AM
|
#3 (permalink)
| | PhotoPost Developer Verified Customer
Join Date: Jan 2002
Posts: 11,858
|
albums was a field missing in the early install.php script; you can either run the upgrade.php for 5.0 and ignore the duplicate errors or you can add it manually:
ALTER TABLE categories ADD albums TEXT AFTER children;
Be sure to add any table prefix onto categories if you have them.
__________________ Please do not PM me for support or sales questions. Thank you for your understanding. |
| |
May 31st, 2005, 10:19 AM
|
#4 (permalink)
| | Member Verified Customer
Join Date: Mar 2005
Posts: 52
|
Thank you, I've run the upgrade.php for 5.0 and ignored the duplicate errors |
| |
June 3rd, 2005, 02:52 AM
|
#5 (permalink)
| | Member Verified Customer
Join Date: Mar 2005
Posts: 52
|
My error disappeared, but appeared the error like Filipv described in the first message:
-----------------
An error was encountered during execution of the query:
SELECT id,catname,thumbs,cattype,parent,password,theme,ratingtype FROM pp_categories WHERE id=
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 '' at line 1
---------------
Please, help to correct it.
|
| |
June 3rd, 2005, 06:20 AM
|
#6 (permalink)
| | Junior Member Verified Customer
Join Date: Feb 2005
Posts: 19
|
I still have the same errors now an then
|
| |
June 3rd, 2005, 07:38 AM
|
#7 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,794
|
You mean your still missing the album field?
|
| |
June 3rd, 2005, 09:45 AM
|
#8 (permalink)
| | Junior Member Verified Customer
Join Date: Feb 2005
Posts: 19
|
I mean I still get those emails
An error was encountered during execution of the query:
SELECT id,catname,thumbs,cattype,parent,password,theme,ratingtype FROM pp_categories WHERE id=
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 '' 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.
|
| |
June 4th, 2005, 03:13 AM
|
#9 (permalink)
| | Member Verified Customer
Join Date: Mar 2005
Posts: 52
|
omegatron, the problem with missing the album field has been fixed, but now we have next mysql error:
--------------
An error was encountered during execution of the query:
SELECT id,catname,thumbs,cattype,parent,password,theme,ratingtype FROM pp_categories WHERE id=
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 '' at line 1
--------------
|
| |
June 5th, 2005, 06:08 AM
|
#10 (permalink)
| | Junior Member Verified Customer
Join Date: Feb 2005
Posts: 19
|
Anyone yet, the error still occurs sometimes when a user places a comment, the comment doe snot show on the recent comments section also
|
| |
June 5th, 2005, 08:21 AM
|
#11 (permalink)
| | Member Verified Customer
Join Date: Mar 2005
Posts: 52
|
I've discovered that the final version of the 5.1 has been renewed and now we have 5/31/05 8:48 AM Build (before it was 5/25/05). It seems in this build problem has been fixed. I don't receive errors anymore.
|
| |
June 5th, 2005, 08:22 AM
|
#12 (permalink)
| | PhotoPost Developer Verified Customer
Join Date: Jan 2002
Posts: 11,858
|
The error is probably the result of a spider calling a script with a blanbk variable and not indictive of an actual bug, just the lack of a parameter being passed. For example, calling showgallery.php with no cat variable. We can add more checks in to pop up an error message (not that it would matter to a spider) until then you can just ignore the message.
__________________ Please do not PM me for support or sales questions. Thank you for your understanding. |
| | |
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 | | |
Similar Threads | | Thread | Thread Starter | Forum | Replies | Last Post | | SQL Error | digitalpoint | Bugs - vBulletin 3.5.X | 2 | July 24th, 2005 10:21 PM | | pp 5.1.1 sql error | Fenriz | Photopost Pro Bug Reports | 5 | June 11th, 2005 12:36 PM | | SQL Bug - Installer | mr.gamesbay | Installs and Upgrade - vBulletin 3.0.X | 3 | March 2nd, 2005 01:41 PM | | SQL Bug Reports being generated | flavoflav | Classifieds Bug Reports | 1 | February 17th, 2005 08:46 PM | | SQL Bug - Installer | mr.gamesbay | Before You Buy | 1 | February 5th, 2005 01:26 PM | All times are GMT -5. The time now is 09:20 AM. | |