ProblemS cpmfetch ! ProblemS cpmfetch !
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

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**