Advanced search  

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]

Pages: [1]   Go Down

Author Topic: CpmFetch & CPG 1.5.x  (Read 7690 times)

0 Members and 1 Guest are viewing this topic.

sterud

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
CpmFetch & CPG 1.5.x
« on: October 10, 2010, 11:10:25 pm »

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
« Last Edit: October 11, 2010, 08:56:56 pm by Davide Renda »
Logged

Davide Renda

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1427
  • aka "Lontano"
    • www.daviderenda.eu
Re: problemi con CpmFetch!
« Reply #1 on: October 11, 2010, 08:56:05 pm »

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
Code: [Select]
'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
Code: [Select]
'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

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: CpmFetch & CPG 1.5.x
« Reply #2 on: October 14, 2010, 04:05:52 pm »

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

Tano*87

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 38
Re: CpmFetch & CPG 1.5.x
« Reply #3 on: March 04, 2011, 05:38:21 pm »

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?
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 23 queries.