coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 cpmFetch by vuud => Topic started by: Keiran on August 10, 2010, 06:40:13 PM

Title: Intalling in the same server, but different carpets.
Post by: Keiran on August 10, 2010, 06:40:13 PM
Hey guys!
I just installed CpmFetch in my gallery here http://www.vampire-diaries.es/galeria
The problem is that my site where i wanna show the latest uploads photos is here http://www.vampire-diaries.es/web (it's now in hiatus)

I put the code but the pictures won't show and i guess i know the problem, i just don't know how to fix it haha.
Ok, the code is this, isn't?

<?php
  
include "./galeria/cpmfetch/cpmfetch.php";
  
$objCpm = new cpm(./galeria/cpmfetch/cpmfetch_config.php");
  
$objCpm->cpm_viewLastAddedMedia(1,4);
  
$objCpm->cpm_close();
?>


The problem is this, i think. The code is getting this url "http://www.vampire-diaries.es/web/galeria/etc..." but i want to put this url "http://www.vampire-diaries.es/galeria" without the "/web", that's the right url...Please, anyone know something?
Title: Re: Intalling in the same server, but different carpets.
Post by: Keiran on August 11, 2010, 01:10:26 AM
Problem solved!
Just typing "../galeria/etc" with tho points goes down one level ;) but thanks anyway