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

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

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