browse to
tiki-list_gallery.php?galleryId=<my-unbelievably-high-galleryId>
and you'll get:
Notice: Undefined index: sortorder in /tiki-list_gallery.php on line 182
Notice: Undefined index: sortdirection in /tiki-list_gallery.php on line 182
Warning: mysql error: Unknown column '' in 'order clause' in query:
select i.`path` ,i.`imageId`,i.`name`,i.`description`,i.`created`,
d.`filename`,d.`filesize`,d.`xsize`,d.`ysize`,
i.`user`,i.`hits`
from `tiki_images` i , `tiki_images_data` d
where i.`imageId`=d.`imageId`
and d.`type`=?
and i.`galleryId`=?
order by `` desc
in /lib/tikidblib.php on line 134
Perhaps best to check for the existence of the gallery?
Then give a nice error message in the error.tpl
done.
redflo
To help developers solve the bug, we kindly request that you demonstrate your bug on a show2.tiki.org instance. To start, simply select a version and click on "Create show2.tiki.org instance". Once the instance is ready (in a minute or two), as indicated in the status window below, you can then access that instance, login (the initial admin username/password is "admin") and configure the Tiki to demonstrate your bug. Priority will be given to bugs that have been demonstrated on show2.tiki.org.
filename | created | hits | comment | version | filetype | ||
---|---|---|---|---|---|---|---|
No attachments for this item |