coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 cpmFetch by vuud => Topic started by: uRZuZ on July 22, 2008, 06:12:13 PM

Title: ProblemS cpmfetch !
Post by: uRZuZ on July 22, 2008, 06:12:13 PM
Hi !

I installed cpmfetch in cpg folder, run cpmfetch install script, whitout errors.

Link Install:
http://www.zona-xtreme.com.es/gallery/cpmfetch/install.php

Code:
<?php
error_reporting(E_ALL);
ini_set('display_errors',1);  // 0 is off, 1 is on

require_once "./gallery/cpmfetch/cpmfetch.php";
$objCpm = new cpm("./gallery/cpmfetch/cpmfetch_config.php");
$objCpm->cpm_viewRandomMediaFrom(1,4);
$objCpm->cpm_close();
?>

Whit these code, create a lastup.php

Error:

Warning: main() [function.main]: open_basedir restriction in effect. File(/cpmfetch_dao.php) is not within the allowed path(s): (/var/www/vhosts/zona-xtreme.com.es/httpdocs:/tmp) in /var/www/vhosts/zona-xtreme.com.es/httpdocs/gallery/cpmfetch/cpmfetch.php on line 23

Warning: main(cpmfetch_dao.php) [function.main]: failed to open stream: Operation not permitted in /var/www/vhosts/zona-xtreme.com.es/httpdocs/gallery/cpmfetch/cpmfetch.php on line 23

Fatal error: main() [function.require]: Failed opening required 'cpmfetch_dao.php' (include_path='.:') in /var/www/vhosts/zona-xtreme.com.es/httpdocs/gallery/cpmfetch/cpmfetch.php on line 23


Grettings.
Title: Re: ProblemS cpmfetch !
Post by: poubao on July 22, 2008, 10:10:44 PM
May be you have a typo mistake somewhere !!!
Fatal error: main() [function.require]: Failed opening required 'cpmfetch_dao.php' (include_path='.:') in

poubao :D