- Status Closed
- Percent Complete
- 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
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.
2006-12-10 15:15
Reason for closing: Fixed
Additional comments about closing: It was already fixed post-rc4.
Loading...
Available keyboard shortcuts
- Alt + ⇧ Shift + l Login Dialog / Logout
- Alt + ⇧ Shift + a Add new task
- Alt + ⇧ Shift + m My searches
- Alt + ⇧ Shift + t focus taskid search
Tasklist
- o open selected task
- j move cursor down
- k move cursor up
Task Details
- n Next task
- p Previous task
- Alt + ⇧ Shift + e ↵ Enter Edit this task
- Alt + ⇧ Shift + w watch task
- Alt + ⇧ Shift + y Close Task
Task Editing
- Alt + ⇧ Shift + s save task
I can't recreate this at all -- as an anonymous user or otherwise.
Is this the only error that image.display.php throws? If this is failing, it would seem to indicate the actual error lies earlier.
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.
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. :)