[Solved]: Properties, editing pictures [Solved]: Properties, editing pictures
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

[Solved]: Properties, editing pictures

Started by Kajoke, April 20, 2008, 06:22:33 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Kajoke

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

Kajoke

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.