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: Intalling in the same server, but different carpets.  (Read 3986 times)

0 Members and 1 Guest are viewing this topic.

Keiran

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Intalling in the same server, but different carpets.
« 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?

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

Keiran

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Intalling in the same server, but different carpets.
« Reply #1 on: August 11, 2010, 01:10:26 am »

Problem solved!
Just typing "../galeria/etc" with tho points goes down one level ;) but thanks anyway
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 19 queries.