Advanced search  

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

Pages: [1]   Go Down

Author Topic: Help with the installation!  (Read 6344 times)

0 Members and 1 Guest are viewing this topic.

Vini

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 55
Help with the installation!
« on: February 22, 2008, 12:11:06 am »

I've installed everything according to the DOCS Basic Manual
But however when I was running the install.php The first images didn't show, I mean they shown In a wrong URL, like they were shown like this: http://www.sparkling-diamond.net/albums/.../name.jpg being these url my old coppermine url, I've back up everything into a new URL that is not these, So WHAT WILL I DO NOW?
Logged

Vini

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 55
Re: Help with the installation!
« Reply #1 on: February 22, 2008, 12:27:06 am »

ok, I tried editing the cpmfetch config editing the old url changing into the new one

But however, When I tried creating a file I called random.php and placed onto my cpg first url It showed an error on line 4, being line 4 these:

Code: [Select]
  $options = array(?subtitle? => ?File name : {{pFilename}}?);
the entire "thing" is these:
Code: [Select]
<?php
  
include_once "/home/brits/public_html/photos/cpmfetch/cpmfetch.php";
  
$objCpm = new cpm("/home/brits/public_html/photos/cpmfetch/cpmfetch_config.php");
  
$options = array(?subtitle? => ?File name : {{pFilename}}?);
  
$objCpm->cpm_viewLastAddedMedia(14$options);
  
$objCpm->cpm_viewRandomMediaFrom(?cat=1?,14$options);
  
$objCpm->cpm_close(); 
?>

Can some one HELP ME PLEASE?
Logged

Nibbler

  • Guest
Re: Help with the installation!
« Reply #2 on: February 22, 2008, 12:33:57 am »

Those question marks should be quotes. Stop shouting.
Logged

Vini

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 55
Re: Help with the installation!
« Reply #3 on: February 22, 2008, 12:38:46 am »

Those question marks should be quotes. Stop shouting.
ok, i'm sorry...  :-\
Logged

Vini

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 55
Re: Help with the installation!
« Reply #4 on: February 22, 2008, 01:00:00 am »

I've solve the problems by myself
But I haven't found the docs How can I show the latest update albums... and the random pictures from only a selected category, Can anybody help me?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Help with the installation!
« Reply #5 on: February 22, 2008, 08:11:48 am »

I've solve the problems by myself
Then resolve the thread you started by posting what you actually did.

But I haven't found the docs How can I show the latest update albums... and the random pictures from only a selected category, Can anybody help me?
One question per thread. Marking thread as solved. Use better subject lines in the future. As suggested in the other thread: you have a notorious reputation of not respecting board rules. Either respect them from now on or you'll get banned. I mean it.
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 19 queries.