ProblemS cpmfetch ! ProblemS cpmfetch !
 

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

ProblemS cpmfetch !

Started by uRZuZ, July 22, 2008, 06:12:13 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

uRZuZ

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.

poubao

May be you have a typo mistake somewhere !!!
Fatal error: main() [function.require]: Failed opening required 'cpmfetch_dao.php' (include_path='.:') in

poubao :D
L'incohérence de ceux qui nous dirigent, l'incompétence de ceux qui nous commandent,sont un vibrant hommage pour ceux qui exécutent.
                                          **Général Patton**