Posts Tagged ‘coppermine’

Coppermine character encoding vs MySQL charset / collation 12Apr08 | 0 Comments

If you have in MySQL charset which is not in Coppermine settings, then your visitors see in your photo gallery broken characters. For this problem exists simple FIX, which set correct charset and connection collation for communication with MySQL.
This fix is just add mysql_query(“SET NAMES ‘charset’ COLLATE ‘connection_collation’”); to functions.inc.php to cpg_db_connect function (before last row of function return $result;)

cpg.mysql.charset.fix

upgrade galerie 06Dec05 | 0 Comments

Po cirka dvou mesicich jsem zavital na stranky coppermine.sf.net a co nevidim, novinku hlasajici verzi 1.4.2, verzi odladenou, verzi doporucenou.
Ihned jsem ji tedy stahnul, odzalohoval vse co update doporucuje a tesil se na vysledek. Ovsem co nenasledovalo, v nove verzi opet nefunguje po instalaci kodovani cestiny, cestina je neuplna a do tretice neni v poradku ani oblibene tematko… Nepomohl ani nespocet kombinaci nastaveni kodovani v souboru s cestinou a v nastaveni cpg, koukam tedy jak na downgrade, ale nejak se mi do nej nechce. Budiz tedy galerie docasne s nakopanym tematkem a cestinou.