Photo Organizer

Notice: Undefined index: tasklist_type in /var/www/flyspray/includes/class.tpl.php(128) : eval()'d code on line 85 Notice: Undefined index: tasklist_type in /var/www/flyspray/includes/class.tpl.php(128) : eval()'d code on line 90
  • Status Closed
  • Percent Complete
  • Task Type Bug Report
  • Category Backend / Core
  • Assigned To No-one
  • Operating System All
  • Severity Low
  • Priority Normal
  • Reported Version 2.34-rc1
  • Due in Version Undecided
  • Due Date Undecided
  • Votes 0
  • Private No
Attached to Project: Photo Organizer
Opened by Gerd Schreiter (gerd) - 2007-08-03
Last edited by Solomon Peachy (pizza) - 2007-08-04

FS#227 - DB with site_display_random_photos

Using the function site_display_random_photos an the frontpage I'm getting postgresql error like:
ERROR: syntax error at or near "photo" at character 94. No photos are displayed on the frontpage.

So far I've seen you have changed the function:

2.33: $database,$type,$identifier,$rows,$columns,$framed
2.34-rc1: $database,$type,$identifier, $num_of_photos, $framed

Can you define it a little bit, what is the correct syntax now to use ?

best regards, Gerd

This task does not depend on any other tasks.

Closed by  Solomon Peachy (pizza)
Saturday, 04 August 2007, 13:32 GMT
Reason for closing:  Fixed
Additional comments about closing:  I've also updated the on-line documentation to reflect the new command syntax. The bundled documentation will be updated or eliminated by 2.34-final.
Gerd Schreiter (gerd)
Friday, 03 August 2007, 18:21 GMT
sorry, the error is on 2.34-rc1 !
Solomon Peachy (pizza)
Friday, 03 August 2007, 19:38 GMT
  • Field changed: Reported Version (2.33 → 2.34-rc1)
site_display_random_photos($dbh, $type, $id, $count, $framed)

$dbh -- Datebase handle
$type -- 'user', 'folder', or 'album'
$id -- the userid/folderid/albumid
$count -- number of images to display
$framed -- boolean, true if you want a "slide frame" drawn arount each image.
Solomon Peachy (pizza)
Friday, 03 August 2007, 19:39 GMT
The function is actually broken, though.. in several different areas. I'm working on a fix.
Solomon Peachy (pizza)
Friday, 03 August 2007, 19:52 GMT
I've checked in a fix in r1479 on the 2.34_release branch, as well as the trunk.

It'll go into the next -rc, or you can grab the fix directly out of subversion with:

svn diff -r1478:1479 svn://