mySQL error: Column 'visibility' in field list is ambiguous mySQL error: Column 'visibility' in field list is ambiguous
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

mySQL error: Column 'visibility' in field list is ambiguous

Started by rixter, April 23, 2010, 09:28:09 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

rixter

Greetings, I have updated from cpg14x to the latest and greatest and the initial install was flawless. I am however encountering the following issue when attempting to view the HOME page:

While executing query 'SELECT title, r.description, keyword, category, aid, alb_hits, visibility, r.thumb, r.owner
        FROM cpg14x_categories AS c
        INNER JOIN cpg14x_albums AS r ON r.category = c.cid
        WHERE c.depth = 0 + 1
ORDER BY r.pos, r.aid' in index.php on line 370

mySQL error: Column 'visibility' in field list is ambiguous

Link to the site: http://lastnitespix.com/archive/index.php

Any help with the issue would be greatly appreciated and thank you in advance!

-Rixter
Live long and prosper.

Αndré

There is no column 'visibility' in the category table by default. Seems that you have modified your cpg1.4.x database. Remove that column and everything should work fine.

rixter

You are awesome! All fixed.

I am puzzled by how that field was inserted in the first place...I didn't do it! lol
Live long and prosper.

Joachim Müller