Photo Organizer

  • Status Closed
  • Percent Complete
    100%
  • Task Type Bug Report
  • Category Backend / Core
  • Assigned To No-one
  • Operating System All
  • Severity Low
  • Priority Very Low
  • Reported Version 2.33-rc4
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Photo Organizer
Opened by gerd - 2006-12-10

FS#154 - sql error in image.display.php ?

accessing photos like http://www.thyscom.ch/po/image.display.php?image=5988&size=2 (search engines do it quite often ;-)
creates a error message (apache error.log)

[error] PHP Warning: pg_query(): 16 is not a valid PostgreSQL link resource in /home/www/doc/po/image.display.php on line 135

Closed by  pizza
2006-12-10 15:15
Reason for closing:  Fixed
Additional comments about closing:  It was already fixed post-rc4.
Admin
pizza commented on 2006-12-10 14:37

I can't recreate this at all -- as an anonymous user or otherwise.

Admin
pizza commented on 2006-12-10 14:53

Is this the only error that image.display.php throws? If this is failing, it would seem to indicate the actual error lies earlier.

gerd commented on 2006-12-10 15:06

yes this is the only error.
I can reproduce it by accessing photos (which are displayed randomly on the front page) by a click o the thumbnail. Independent from the choosen photo php always complains about pg_query(): 16 ...
Nevertheless, I can see the error in the log, but the photos are shown correctly.

Admin
pizza commented on 2006-12-10 15:14

Okay, it seems I fixed this bug already; I could have sworn it was fixed before I did the -rc4 tag. It just so happens that the line numbers are identical. :)

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing