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 Bug Reports

Photopost Pro Bug Reports Post post installation PhotoPost Pro problems here.

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old September 9th, 2007, 07:37 PM   #1 (permalink)
Member
Verified Customer
 
Join Date: Nov 2006
Posts: 31
MySQL errors

Okay, since I installed PhotoPost on my client's site I've had difficulty getting it to integrate successfully with phpBB.

1. We're running phpBB 2.0.22. Every time someone switches between the forum and the gallery, it logs them out of the gallery, forcing them to manually log in again every time. This is a significant inconvenience to my client and her patrons.

I can only assume this is directly linked to only a dozen or so of the members showing up when clicking the Personal Galleries link from the gallery index.

In the past when I've brought this up I've received some advice on setting the cookies, but each time it's caused other problems - including denying access to the admin panels of the forum when using IE7, which I'm sure you can understand is not acceptable.

2. We've also periodically been receiving mySQL errors. Since I know diddly about mySQL, I'm hoping someone here can provide some insight.

The most recent two batches of errors:
Quote:
Originally Posted by September 2nd
Quote:
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
Quote:
REPLACE INTO phpbb_sessions (session_id,session_user_id,session_start,session_time,session_ip,session_page,session_logged_in)
VALUES ('6e3c3f72d079a4ed57b35cf4a875a894',, 1188772819, 1188772819, '1896cbbe', '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 ' 1188772819, 1188772819, '1896cbbe', '0', '1')' at line 2
Quote:
REPLACE INTO phpbb_sessions (session_id,session_user_id,session_start,session_time,session_ip,session_page,session_logged_in)
VALUES ('6e3c3f72d079a4ed57b35cf4a875a894',, 1188772819, 1188772819, '1896cbbe', '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 ' 1188772819, 1188772819, '1896cbbe', '0', '1')' at line 2
Quote:
Originally Posted by September 9th
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 ('ca5e965344526e346ca50bc9ae4d9f09',, 1189373721, 1189373721, '415c33eb', '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 ' 1189373721, 1189373721, '415c33eb', '0', '1')' at line 2
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 ('ca5e965344526e346ca50bc9ae4d9f09',, 1189373721, 1189373721, '415c33eb', '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 ' 1189373721, 1189373721, '415c33eb', '0', '1')' at line 2
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
I would appreciate any help anyone can provide. If a PhotoPost staff member could take a look at things, that would be a huge help.
gdaybloke is offline   Reply With Quote
Old September 9th, 2007, 08:19 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,720
Line 214-221 those two queries in your phpbb2.php file replace with this.

Code:
Content visible to verified customers only.
Make sure to upload this changed file to your forums subdirectory under photopost and that should resolve your mysql error

As far as your first issue I suggest you set your cookies like this and this is the prefered way on any site.

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
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 Cre8ive Photopost Pro Bug Reports 9 April 6th, 2007 04:43 PM
MySQL errors? gdaybloke Photopost Pro Installation & Upgrades 6 December 9th, 2006 12:02 PM
MySQL-Errors during install (MySQL 5.0) noox General Discussion 1 October 7th, 2006 09:48 AM


All times are GMT -5. The time now is 04:00 AM.

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