Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: ProblemS cpmfetch !  (Read 3889 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.018 seconds with 19 queries.