OK I have seartches this section of the forum and i still can't seem to find what I'm looking for also check your Documents you put in the lazy section
I am not much of a computer wiz kid
I have mamaged to bridge my Portal with Coppermine
and now I want to put Coppermine previews on my front page
I have installed Coppermine to it's directory name www.site.com/events
and I have installed cpmfetch to www.site.com/events/cpmfetch
I have madfe a custom page using the following code
<?php
include './events/cpmfetch/cpmfetch.php';
$objCpm = new cpm('./events/cpmfetch/cpmfetch_config.php');
$objCpm->cpm_viewLastAddedMedia(1,4);
$objCpm->cpm_close();
?>
and i get
=============
Warning: Unknown(./events/cpmfetch/cpmfetch.php): failed to open stream: No such file or directory in /home/content/g/u/y/site/html/administration/custom_pages.php(71) : eval()'d code on line 2
Warning: Unknown(./events/cpmfetch/cpmfetch.php): failed to open stream: No such file or directory in /home/content/g/u/y/site/html/administration/custom_pages.php(71) : eval()'d code on line 2
Warning: (null)(): Failed opening './events/cpmfetch/cpmfetch.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/content/g/u/y/site/html/administration/custom_pages.php(71) : eval()'d code on line 2
Fatal error: Cannot instantiate non-existent class: cpm in /home/content/g/u/y/site/html/administration/custom_pages.php(71) : eval()'d code on line 3
==============
I'm not sure but I've tried everything I can think of or maby sometimes in anger you over look the most simple things,, I am really really really hoping you can help me out on this one
I will be greatefull :)
P.S I edited the file site name that you figure out by now cause I don't wanna get my self in trouible on the bord posting my website
Thanks in advance
That's not the correct path. Should be
<?php
include '../events/cpmfetch/cpmfetch.php';
$objCpm = new cpm('../events/cpmfetch/cpmfetch_config.php');
$objCpm->cpm_viewLastAddedMedia(1,4);
$objCpm->cpm_close();
?>
I think.
WOW your the best lmao
Thanks so much man
geese