I need some help ! I need some help !
 

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

I need some help !

Started by lazlo, August 18, 2011, 01:58:17 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

lazlo

After the code working beautifully for years, we are getting the following error message:

Unknown column 'p.owner_name' in 'field list'

SELECT p.filepath AS pFilepath, p.filename AS pFilename, p.aid AS pAid, p.filesize AS pFilesize, p.title AS pTitle, p.caption AS pCaption, p.owner_name AS pOwner_name, p.owner_id as pOwnerId, p.ctime AS pCtime, p.hits AS pHits, p.pid AS pPid, p.pic_rating AS pPic_Rating, p.votes AS pVotes, p.pwidth AS pWidth, p.pheight AS pHeight, p.user1 as pUser1, p.user2 as pUser2, p.user3 as pUser3, p.user4 as pUser4, c.cid as cCid, c.name as cName, c.description as cDescription, c.pos as cPos, c.parent as cParent, c.thumb as cThumb, a.aid AS aAid, a.title AS aTitle, a.description AS aDescription, a.visibility as aVisibility, a.pos as aPos, a.category as aCategory, a.thumb as aThumb, a.keyword as aKeyword FROM cpg_pictures AS p LEFT JOIN cpg_albums AS a ON p.aid = a.aid LEFT JOIN cpg_categories AS c ON a.category = c.cid WHERE 1 AND p.approved='YES' AND ((a.visibility = 0 OR a.visibility IS NULL) AND (a.alb_password IS NULL OR a.alb_password = "")) ORDER BY p.ctime DESC LIMIT 0,10
[phpBB Debug] PHP Notice: in file /home7/davrodig/public_html/galleries/cpmfetch/cpmfetch_dao.php on line 1260: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource
[phpBB Debug] PHP Notice: in file /home7/davrodig/public_html/galleries/cpmfetch/cpmfetch_dao.php on line 1264: mysql_free_result(): supplied argument is not a valid MySQL result resource

The site is here:
http://www.davrodigitalonline.com/imageforum/
Coppermine Gallery is here:
http://www.davrodigitalonline.com/galleries/index.php
Using Coppermine  1.4.19
cpmfetch 2.0 is used
I am not sure about the webserver.

I need some help with this please.