PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > PhotoPost Pro Support Forums > Photopost Pro How Do I...?

Photopost Pro How Do I...? Wondering how to do things in PhotoPost?

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old November 7th, 2006, 03:54 PM   #1 (permalink)
Senior Member
Verified Customer
 
Join Date: Dec 2002
Location: San Francisco
Posts: 600
sql sessions errors

I got many error notifications like this lately:

---------------------
An error was encountered during execution of the query:

REPLACE INTO phpbb_sessions (session_id,session_user_id,session_start,session_time,session_ip,session_page,session_logged_in)
VALUES ('357c23a64544764a6834c265c38f662f',, 1162932489, 1162932489, '46a79de2', '0', '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 ' 1162932489, 1162932489, '46a79de2', '0', '1')' at line 2

--------------------------------

Any idea what caused this?

Thanks!
__________________
SP
Photopost 5.62
pengrus is offline   Reply With Quote
Old November 7th, 2006, 05:05 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,788
You can edit your phpbb2.php integration file and encapsulate the userid variable like this

Code:
Content visible to verified customers only.
__________________
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 7th, 2006, 05:57 PM   #3 (permalink)
Senior Member
Verified Customer
 
Join Date: Dec 2002
Location: San Francisco
Posts: 600
Thanks Chuck. I have applied that per your instruction.
__________________
SP
Photopost 5.62
pengrus is offline   Reply With Quote
Old November 7th, 2006, 10:33 PM   #4 (permalink)
Senior Member
Verified Customer
 
Join Date: Dec 2002
Location: San Francisco
Posts: 600
I now get this error after the code change:

------------------------------------------

An error was encountered during execution of the query:

DELETE FROM phpbb_sessions WHERE session_user_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
__________________
SP
Photopost 5.62
pengrus is offline   Reply With Quote
Old November 9th, 2006, 09:06 AM   #5 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,788
do the same sort of thing this is not because of the patch only related

place single quotes around the userid variable in the delete query.
__________________
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 10th, 2006, 01:17 PM   #6 (permalink)
Senior Member
Verified Customer
 
Join Date: Dec 2002
Location: San Francisco
Posts: 600
Hi Chuck,

Could you please let me know the details of codes need to be changed? I am not very good at. Thanks!
__________________
SP
Photopost 5.62
pengrus is offline   Reply With Quote
Old November 10th, 2006, 05:08 PM   #7 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,788
Code:
Content visible to verified customers only.
__________________
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
Just upgraded to 33 and get two sql errors wacnstac ReviewPost Installation & Upgrades 6 July 2nd, 2006 09:47 PM
SQL Errors during install NoTx Classifieds Installation & Upgrades 16 June 4th, 2006 03:08 PM
SQL errors being emailed after upgrade to 5.3 oldford Photopost Pro Installation & Upgrades 3 May 1st, 2006 05:12 PM
SQL Errors Exitilus Photopost Pro Installation & Upgrades 2 March 24th, 2006 12:59 PM
SQL errors rogerl Photopost Pro Bug Reports 3 September 13th, 2005 04:31 PM


All times are GMT -5. The time now is 06:05 AM.

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