coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: Kajoke on April 20, 2008, 06:22:33 PM

Title: [Solved]: Properties, editing pictures
Post by: Kajoke on April 20, 2008, 06:22:33 PM
I get an error when i try to edit album files, edit album properties and edit a singel picture.

Error under searcing in data base.

QuoteWhile executing query "SELECT aid, CONCAT('(', user_name, ') ', a.title) AS title
                                                        FROM cpg14x_albums AS a
                                                        INNER JOIN `harmonien`.cpg14x_users AS u
                                                        ON category = (10000 + user_id)
                                                        ORDER BY title" on 0

mySQL error: Illegal mix of collations for operation 'concat'
Fil: /usr/local/psa/home/vhosts/homepage/httpdocs/galleri/include/functions.inc.php - Linie: 249

QuoteWhile executing query "SELECT DISTINCT aid, title, IF(category = 0, CONCAT('&gt; ', title), CONCAT(name,' &lt; ',title)) AS cat_title FROM cpg14x_albums, cpg14x_categories WHERE category < '10000' AND (category = 0 OR category = cid) ORDER BY cat_title" on 0

mySQL error: Illegal mix of collations (latin1_swedish_ci,COERCIBLE) and (utf8_general_ci,IMPLICIT) for operation 'concat'
Fil: /usr/local/psa/home/vhosts/homepage/httpdocs/galleri/include/functions.inc.php - Linie: 249

QuoteWhile executing query "SELECT DISTINCT aid, title, IF(category = 0, CONCAT('&gt; ', title), CONCAT(name,' &lt; ',title)) AS cat_title FROM cpg14x_albums LEFT JOIN cpg14x_categories ON category = cid WHERE category < '10000' ORDER BY cat_title" on 0

mySQL error: Illegal mix of collations (latin1_swedish_ci,COERCIBLE) and (utf8_general_ci,IMPLICIT) for operation 'concat'
Fil: /usr/local/psa/home/vhosts/homepage/httpdocs/galleri/include/functions.inc.php - Linie: 249
Title: Re: Properties, editing pictures
Post by: Kajoke on April 21, 2008, 10:01:28 PM
I have found out what was wrong.

My CMS and coppermine had the same data base, and that was the reason for the problems.

To day i got 2 data bases an coppermine is running with no problems.

So this tread is solved.