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 Installation & Upgrades

Photopost Pro Installation & Upgrades If you're having install or upgrade problems

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old December 8th, 2006, 07:30 AM   #1 (permalink)
Member
Verified Customer
 
Join Date: Nov 2006
Posts: 31
MySQL errors?

Forgive me, I know absolutely diddly about MySQL, but I'm hoping someone can help me out here...

Two issues:
1) People going back and forth between the gallery and the forums are finding themselves being logged out of one or the other in the switch? I'm assuming it's a cookie issue?

2) Got a handful of MySQL errors:

Got this one four times:
Quote:
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 ('5ff6a413640f9c99f14a92eb0b9c8b44',, 1165515224, 1165515224, '1896383a', '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 ' 1165515224, 1165515224, '1896383a', '0', '1')' at line 2
Got this one twice
Quote:
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
Before I pull what's left of my hair out, can anyone tell me if my two problem are related and how I might go about correcting them?
gdaybloke is offline   Reply With Quote
Old December 8th, 2006, 09:45 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 52,666
In phpbb2.php make sure your login and logout function are 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 December 8th, 2006, 10:51 PM   #3 (permalink)
Member
Verified Customer
 
Join Date: Nov 2006
Posts: 31
Copied and pasted, thanks Chuck.

Now if I can just work out why it's not keeping people logged in when they bounce between gallery and forum I'll be happy.
gdaybloke is offline   Reply With Quote
Old December 9th, 2006, 11:04 AM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 52,666
Make sure your cookies are set the same between apps.

cookie path /

cookie prefix phpbb2mysql

cookie domain .domain.com
__________________
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 December 9th, 2006, 11:57 AM   #5 (permalink)
Member
Verified Customer
 
Join Date: Nov 2006
Posts: 31
That's what I was trying to to last night... but now it won't let me log in at all, so I can't get to the admin control panel.
gdaybloke is offline   Reply With Quote
Old December 9th, 2006, 11:58 AM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 52,666
You need to see how you are writing your cookie as something is not set correct as noted above. If both applications are set the way noted above the cookie is readable sitewide
__________________
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 December 9th, 2006, 12:02 PM   #7 (permalink)
Member
Verified Customer
 
Join Date: Nov 2006
Posts: 31
I know there's something up with the cookies, but I can't get into the Admin panel in Photopost to adjust the cookie settings there, as it won't let me log in at all.
gdaybloke 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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
MySQL-Errors during install (MySQL 5.0) noox General Discussion 1 October 7th, 2006 09:48 AM
mysql errors jaffy Photopost Pro Installation & Upgrades 1 November 18th, 2005 06:29 PM
MYSQL Errors garybrun Photopost Pro Installation & Upgrades 7 December 18th, 2004 05:37 AM


All times are GMT -5. The time now is 08:48 AM.

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