Intalling in the same server, but different carpets. Intalling in the same server, but different carpets.
 

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

Intalling in the same server, but different carpets.

Started by Keiran, August 10, 2010, 06:40:13 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Keiran

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?

Keiran

Problem solved!
Just typing "../galeria/etc" with tho points goes down one level ;) but thanks anyway