CpmFetch & CPG 1.5.x CpmFetch & CPG 1.5.x
 

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

CpmFetch & CPG 1.5.x

Started by sterud, October 10, 2010, 11:10:25 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

sterud

ciao ragazzi ho dei problemi con CpmFetch. qualcuno può spiegarmi i passaggi per come installare CpmFetch nella nuova e ultima versione di Coppermine Gallery 1.5.8??? grazie in anticipo

Davide Renda

Anzitutto, trattandosi di un dubbio sulla versione 1.5.x era meglio postare direttamente su questo forum. Poco male, ho spostato la discussione e, trattandosi di un argomento che potrebbe interessare molti, l'ho pure messo in evidenza!

Per quanto concerne CpmFetch, non esiste ancora una versione aggiornata per l'ultima versione CPG 1.5.8, esiste però un semplice workaround per farla quantomeno funzionare.

Cerca la linea di codice nel file install.php
'cfSQLPictureSelect' => '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',
e sostituiscila con
'cfSQLPictureSelect' => '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_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',
Phill Luckhurst è l'autore di questa modifica. A lui le lodi :-)

sterud

OK ti ringrazio per la risposta provo a vedere se riesco a farlo funzionare ^^ grazie

Tano*87

Questo giochino l'ho fatto e sono stato contattato dall'hosting un sacco di volte perchè rallentava la risposta da parte del server.
Non ci sono altri modi per visualizzare le gli ultimi album aggiornati in un'altra pagina di un sito?