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: [Resuelto:] Error al agregar cpmfetch en wordpress  (Read 6249 times)

0 Members and 1 Guest are viewing this topic.

diegodk

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 68
[Resuelto:] Error al agregar cpmfetch en wordpress
« on: October 02, 2009, 02:48:53 am »

hola trato de agregar el last images con el cpmfetch  a mi wordpress y me sale error

Warning: include() [function.include]: URL file-access is disabled in the server configuration in /home/demilova/public_html/sitio/wp-content/themes/Infinity-theme/left.php on line 5

Warning: include(http://demilovato.com.mx/galeria/cpmfetch/cpmfetch.php) [function.include]: failed to open stream: no suitable wrapper could be found in /home/demilova/public_html/sitio/wp-content/themes/Infinity-theme/left.php on line 5

Warning: include() [function.include]: Failed opening 'http://demilovato.com.mx/galeria/cpmfetch/cpmfetch.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/demilova/public_html/sitio/wp-content/themes/Infinity-theme/left.php on line 5

Fatal error: Class 'cpm' not found in /home/demilova/public_html/sitio/wp-content/themes/Infinity-theme/left.php on line 6


y el codigo que pongo es este

<?php
  include "http://demilovato.com.mx/galeria/cpmfetch/cpmfetch.php";
  $objCpm = new cpm("http://demilovato.com.mx/galeria/cpmfetch/cpmfetch_config.php");
  $objCpm->cpm_viewLastAddedMedia(1,4);
  $objCpm->cpm_close();
?>

espero me peudan ayudar gracias
« Last Edit: October 13, 2009, 05:11:42 pm by Fabricio Ferrero »
Logged

diegodk

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 68
Re: Error al agregar cpmfetch en wordpress
« Reply #1 on: October 02, 2009, 11:18:13 pm »

lo pude solucionar solo agregue este código
<?php
  include "/home/demilova/public_html/galeria/cpmfetch/cpmfetch.php";
  $objCpm = new cpm("/home/demilova/public_html/galeria/cpmfetch/cpmfetch_config.php");
  $objCpm->cpm_viewLastAddedMedia(2,2);
  $objCpm->cpm_close();
?>

de todos modos gracias
Saludos
Logged

Fabricio Ferrero

  • Moderator
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 1996
  • From San Juan, Argentina, to the World!
    • http://fabricioferrero.com/
Re: Error al agregar cpmfetch en wordpress
« Reply #2 on: October 13, 2009, 05:10:41 pm »

Hola diegodk,

Disculpá la demora en contestar. Muchas gracias por volver y solucionar el tema, sirve para futuras referencias.

Saludos!
Logged
Read Docs and Search the Forum before posting. - Soporte en español
--*--
Fabricio Ferrero's Website

Catching up! :)
Pages: [1]   Go Up
 

Page created in 0.047 seconds with 18 queries.