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 May 8th, 2008, 11:02 PM   #1 (permalink)
Member
Verified Customer
 
Join Date: Jun 2005
Posts: 62
Recap - 6.02 To 6.1 My Upgrade Issues & Fixes

Issue: templates/vb3enhanced/register.tmpl This file in the 6.1 release package is not there when you download it. But, it shows it as a updated file in the release post.

Resolution: So if you use PhotoPost with vB3 enhanced mode, there is no register.tmpl script used; all registrations occur through vBulletin, so there is no need to worry about this missing file in the doiwnload package.

Issue: Some user avatars do not show up, but others do.

Resolution: In forum/vb3.php find this code: if ( $hasav ) and replace with this code: if ( $hasav != "" ) then find this code: elseif ( $vboptions['usefileavatar'] && $hasav == 1 ) and replace with this code:
elseif ( $vboptions['usefileavatar'] && $hasav != "" )

Issue: Upon uploading of photos you may see this error sent via email: An error was encountered during execution of the query:
UPDATE pp_categories SET thumbnail= WHERE id=34
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 'WHERE id=34' at line 1


Resolution: In adm-misc.php Line 560 find this code: ppmysql_query("UPDATE {$Globals['pp_db_prefix']}categories SET thumbnail=$lastphotoid WHERE id=$origcat", $link); and replace with this code: ppmysql_query("UPDATE {$Globals['pp_db_prefix']}categories SET thumbnail=$pid WHERE id=$origcat", $link);

Issue: If you get this error sent to your email address, An error was encountered during execution of the query:

SELECT * FROM pp_photos WHERE cat IN (****,Array) ORDER BY date DESC LIMIT 50

The query returned with an errorcode of:

Unknown column 'Array' in 'where clause'


Resolution: There is a code fix needed for the external.php, find this code:
if ( $ppuser )
{
$cats = "WHERE userid=$ppuser";
}
else
{
if ( $cat )
{
$children = ppmysql_query_one("SELECT children FROM {$Globals['pp_db_prefix']}categories WHERE id=$cat LIMIT 1", $link);

if ( $children )
{
$cat = "$cat,$children";
}

$cats = ( $cat ? "WHERE cat IN ($cat)" : null );
}
}

and replace with this code:
if ( $ppuser )
{
$cats = "WHERE userid=$ppuser";
}
else
{
if ( $cat )
{
list( $children ) = ppmysql_query_onerow("SELECT children FROM {$Globals['pp_db_prefix']}categories WHERE id=$cat LIMIT 1", $link);

if ( $children )
{
$cat = "$cat,$children";
}

$cats = "WHERE cat IN ($cat)";
}
}

Last edited by TEAMBAJAMARINE; May 15th, 2008 at 09:01 PM.
TEAMBAJAMARINE is offline   Reply With Quote
Old May 9th, 2008, 08:32 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,653
Thanks I do beleive we have responded to this in other support threads.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old May 9th, 2008, 09:42 AM   #3 (permalink)
Member
Verified Customer
 
Join Date: Jun 2005
Posts: 62
Chuck, Yes both you and Michael have been great with support and I just wanted to compress these issues into one thread. Thought it would be helpful for others.
TEAMBAJAMARINE is offline   Reply With Quote
Old May 9th, 2008, 10:49 AM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,653
Got ya have a good weekend.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   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
adm-index.php & submitting issues. MitchSchaft ReviewPost How do I...? 2 July 23rd, 2006 10:37 AM
Upgrade v2.9 to v3.11 - & is now being shown as &amp criscokid ReviewPost Installation & Upgrades 25 June 18th, 2006 09:20 PM
2 issues: IP adresses & colors dutchbb Photopost Pro Installation & Upgrades 6 May 4th, 2006 11:10 PM
Will there be a 4.86x upgrade for fixes mjm Photopost Pro Installation & Upgrades 2 February 7th, 2005 09:37 AM


All times are GMT -5. The time now is 05:21 PM.

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