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

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

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.