1.3.2 ssi.php not working help 1.3.2 ssi.php not working help
 

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

1.3.2 ssi.php not working help

Started by ohfishing, October 31, 2004, 04:41:23 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ohfishing

hello ,first I hope this is the correct forum , here goes...  I have installed 1.3.2, everything works great and i love it !! I am on my final step and i am stumped for hours now, I installed ssi.php , edited the file, and tried the foollowing code                                                                                                           <? include_once("/home/ohfishing.com/stl-web/bulletin/phpBB2/cpg132/ssi.php"); ?>                                                                                                                     <? print cpg_single(); ?> <? print cpg_random(); ?>
 in my index_body.tpl file and in my template overall_header file. I see nothing , Can someone tell me what I have done incorrectly? for refrence here is my edited ssi.php file /////////////////// edit the following lines //////////////////////////////
$url_of_cpg_dir='http://ohfishing.com/stl-web/bulletin/phpBB2/cpg132/';    // full path to your coppermine gallery (with trailing slash)
$absolute_path_to_coppermine='/.panel/web/bulletin/phpBB2/cpg132/'; // absolute path on your server to coppermine gallery (with trailing slash)
// to find more about absolute paths, check http://www.php.net/manual/en/function.phpinfo.php and look for 'DOCUMENT_ROOT' in your phpinfo.php
$cpg_decimal_point="."; //what character is used to separate decimals in your country, e.g. in Germany ",", in GB "."
$cpg_thousands_separator=","; //what character is used to separate thousands in your country, e.g. in Germany ".", in GB & US ",", in France " "
$cpg_lang_pics = "Pictures"; //translate this
$cpg_lang_views = "view"; //translate this
$cpg_lang_random = "Random pic of this album"; //translate this
$cpg_lang_keywords = "Keywords"; //translate this
/////// don't edit below this line unless you know what your're doing /////////

include_once( $absolute_path_to_coppermine.'/include/config.inc.php');

print <<<EOT
<script language="javascript" type="text/javascript">
function MM_openBrWindow(theURL,winName,features) { //v2.0
 window.open(theURL,winName,features);
}
    copper veterans help please
OHfishing

Joachim Müller

re-read the instructions of the ssi mod: there are two bits of code you have to insert on a page you want pics from coppermine to appear: the include line (you did that now) and the actual function call (something along the lines print cpg_thumb(1,0,1,"173",1);). I also recommend re-reading the ssi mod thread: I clearly posted there several times that using it is not recommended and that the mod goes unsupported!

Joachim

ohfishing

GauGau , I read what you said and I deleted ssi mod, could you point me in the direction of adding the "most recent " gallery to my forum index? i know im a pain in the arse... I have to admit i never tried something like this..I installed the coppermine gallery bug free, its integrated with my forums and I uploaded 1000 or so pictures 3 at a time includion captions (12 hours) im happy i got a great gallery, but stumped on how to add it to my forum
OHfishing

Joachim Müller

take a look at the rss feeds mod

Joachim