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 January 8th, 2010, 12:58 PM   #1 (permalink)
Member
Verified Customer
 
Join Date: Nov 2009
Location: Bucks County, PA
Posts: 323
Showphoto error

Receiving an error on a showphoto page. It appears that if a photo does not have exif data, this error appears.

It is ... Warning: Variable passed to each() is not an array or object in /home/byte/public_html/photopost/showphoto.php on line 651
taylorpiano is offline   Reply With Quote
Old January 8th, 2010, 01:01 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,070
Well thats highly strange indeed. I dont see any problems viewing photos that have no exif

Lux readings on my 58 - ReefTalk Gallery

Actually where your getting an error seems to be maybe your exifinfo for a photo is corrupt? The line your reporting an error from tells me your photo has exif info because its within an if clause that says only run this if you have exifinfo

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 January 10th, 2010, 04:02 PM   #3 (permalink)
Member
Verified Customer
 
Join Date: Nov 2009
Location: Bucks County, PA
Posts: 323
Just in case this issue should be relevant to anyone else ...

We were getting errors on some individual image pages that did not have exif data attached (vb 3.8.4 pl2 and pp 7.01). The fix was to add a statement checking for empty exif data before and not after the 'list' exif data.

In showphoto.php find ...

Code:
Content visible to verified customers only.
and replace with this ...

Code:
Content visible to verified customers only.
Then find this ...

Code:
Content visible to verified customers only.
and replace with this ...

Code:
Content visible to verified customers only.
taylorpiano is offline   Reply With Quote
Old January 10th, 2010, 08:16 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,070
Well that code does not look valid. You can not add an if clause checking for a variable say $k when $k is not even defined until the line after your if clause. I hope you follow what I mean. Your clause would never be valid because $k would ALWAYS be empty.
__________________
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
Showphoto Changes skidpics General Discussion 0 October 6th, 2008 11:32 PM
showphoto: System error, unable to generate request form at this time. dumoulin Photopost Pro Bug Reports 4 August 3rd, 2008 12:32 PM
showphoto error Sarah8558 Photopost Pro Installation & Upgrades 3 December 19th, 2007 06:14 AM


All times are GMT -5. The time now is 11:03 AM.

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