When i choose Turkish as my language i get this error
Parse error: parse error, expecting `')'' in /home/groups/c/co/coppermine/htdocs/demo/lang/turkish.php on line 328
this is the error from your demo.
also when i list my photos by rating, a photo with 3.5 rating comes before a photo with rating 4 but with less votes.
Quote from: "tempzerg"When i choose Turkish as my language i get this error
Parse error: parse error, expecting `')'' in /home/groups/c/co/coppermine/htdocs/demo/lang/turkish.php on line 328
this is the error from your demo.
Thanks for letting us know - has been fixed in the demo (http://coppermine.sourceforge.net/demo/?lang=turkish), will go into the next release. I uploaded a fixed turkish language version to the download area (http://sourceforge.net/project/showfiles.php?group_id=89658&package_id=98540&release_id=205317). To solve this issue for you, edit /lang/turkish.php with a plain text editor (notepad will do), find the line starting with
Quote'date_d' =>
and remove the last ","
--------------------------------
Quote from: "tempzerg"also when i list my photos by rating, a photo with 3.5 rating comes before a photo with rating 4 but with less votes.
Please provide a deep link, so we can take a look.
GauGau
P.S. next time, please post two separate threads for different issues
i had already corrected the bug with the turkish language file...
about the secound bug
http://coppermine.sourceforge.net/demo/thumbnails.php?album=toprated&cat=-6
the first photo has a rating of 3.5 and the second 4, so ranking is wrong...
i changed
ORDER BY ROUND((pic_rating+1)/2000) DESC
on line 647 in functions.inc.php
with
ORDER BY pic_rating DESC
now the ratings work fine for me...
while sorting the script shouldn't round the rating...
created tracker #875865 (http://sourceforge.net/tracker/index.php?func=detail&aid=875865&group_id=89658&atid=590907) on this issue.
GauGau