file galleries broken (db error) for some registered users on upgraded 1.10 site
- Status
- Closed
- Subject
- file galleries broken (db error) for some registered users on upgraded 1.10 site
- Version
- 2.x
- Category
- Error
- Feature
- File Gallery (elFinder or standard UI)
- Resolution status
- Fixed or Solved
- Submitted by
- Xavier de Pedro
- Lastmod by
- Xavi (as xavidp - admin)
- Rating
- Description
Since some weeks (maybe a couple of months?) file galleries return db error when users logs in tiki. (Using updated 1.10)
Example:
http://uniwiki.ourproject.org/tiki-file_galleries.php
When logging in as user sylvie (or Xavier.dePedro, for instance), I get
Copy to clipboardAn error occured in a database query! Context: File tiki-file_galleries.php Url tiki-file_galleries.php Query: select * from (select u.* , f.`friend` from `users_users` u left join `tiki_friends` as f on (u.`login` = f.`friend` and f.`user`=?) order by `login` asc) as tab Values: 0 sylvie Message: Error Message You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'select u.* , f.`friend` from `users_users` u left join `tiki_
If you try as anonymous, or as newly created plain registered users (try with user/pass: prova/prova ), everything is shown fine.FYI: friendship is toggled off as feature.
- Importance
- 8
- Priority
- 40
- Demonstrate Bug on Tiki 19+
-
This bug has been demonstrated on show2.tiki.org
Please demonstrate your bug on show2.tiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show2.tiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Demonstrate Bug (older Tiki versions)
-
This bug has been demonstrated on show.tikiwiki.org
Please demonstrate your bug on show.tikiwiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show.tikiwiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Ticket ID
- 1326
- Created
- Wednesday 22 August, 2007 15:23:59 UTC
by Unknown - LastModif
- Thursday 10 September, 2009 11:06:32 UTC