Advanced search  

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]

Pages: [1]   Go Down

Author Topic: ProblemS cpmfetch !  (Read 3719 times)

0 Members and 1 Guest are viewing this topic.

uRZuZ

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
ProblemS cpmfetch !
« 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.
Logged

poubao

  • Contributor
  • Coppermine frequent poster
  • ***
  • Country: la
  • Offline Offline
  • Gender: Male
  • Posts: 277
    • Collections du Laos
Re: ProblemS cpmfetch !
« Reply #1 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
Logged
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**
Pages: [1]   Go Up
 

Page created in 0.015 seconds with 15 queries.