Últimas noticias

#1 10-01-2011 02:24:15

eljimi
Miembro
Huesca
04-01-2011
16

Mensaje de error con plugin FacebookPlug

Hola

Al utilizar el diaporama con el plugin FacebookPlug instalado, me aparece este mensaje de error al inicio de la pagina:

Notice: Undefined variable: tpls in /home/alegrial/public_html/piwigo/plugins/FacebookPlug/include/picture.inc.php on line 72

Warning: Invalid argument supplied for foreach() in /home/alegrial/public_html/piwigo/plugins/FacebookPlug/include/picture.inc.php on line 72

Warning: Cannot modify header information - headers already sent by (output started at /home/alegrial/public_html/piwigo/plugins/FacebookPlug/include/picture.inc.php:72) in /home/alegrial/public_html/piwigo/include/page_header.php on line 98


Como lo corrigo?

Gracias

Offline

#2 10-01-2011 02:42:49

eljimi
Miembro
Huesca
04-01-2011
16

Re: Mensaje de error con plugin FacebookPlug

Me respondo yo mismo.

He cambiado una de las opciones del plugin y ya no aparece el error

Offline

#3 10-01-2011 06:32:47

ddtddt
Piwigo Team
Quetigny (Francia)
27-07-2007
3206

Re: Mensaje de error con plugin FacebookPlug

eljimi ha escrito:

He cambiado una de las opciones del plugin y ya no aparece el error

Hola :-)

¿Se puede aclarar?

el plugin todavía no está traducida al español.
Si un voluntario pasa por ella, puede ponerse en contacto conmigo ;-)

Offline

#4 06-02-2012 21:37:09

melvin
Invitado

Re: Mensaje de error con plugin FacebookPlug

como corregiste ese error, mi sitio www.queseyoque.com funciona bien sin el plugin, cuando lo activo en el server se desconfigura y no deja activar el comando de identifciacón, tienes alguna sugerencia de como resolverlo, gracias

#5 15-02-2012 19:59:17

ddtddt
Piwigo Team
Quetigny (Francia)
27-07-2007
3206

Re: Mensaje de error con plugin FacebookPlug

puede intentar quitar y volver a instalar el plugin

Offline

#6 25-02-2012 12:02:04

eljimi
Miembro
Huesca
04-01-2011
16

Re: Mensaje de error con plugin FacebookPlug

Hola,

Vuelvo a tener problemas con este plugin me da este mensaje de error al activarlo

Warning: Cannot modify header information - headers already sent by (output started at /home/alegrial/public_html/piwigo/plugins/FacebookPlug/language/es_ES/common.lang.php:1) in /home/alegrial/public_html/piwigo/include/page_header.php on line 103

Que puedo hacer para solucionarlo?

Saludos

Offline

#7 26-02-2012 08:04:21

ivancapi
Miembro
08-12-2011
29

Re: Mensaje de error con plugin FacebookPlug

me ocurre lo mismo

Warning: Cannot modify header information - headers already sent by (output started at /home/alegrial/public_html/piwigo/plugins/FacebookPlug/language/es_ES/common.lang.php:1) in /home/alegrial/public_html/piwigo/include/page_header.php on line 103

alguna solucion????

Offline

#8 02-03-2012 01:40:51

eljimi
Miembro
Huesca
04-01-2011
16

Re: Mensaje de error con plugin FacebookPlug

Entonces no hay solución para essto.
He probado a desinstalarlo y volverlo a instalar y sigue igual.
Es una pena poruq es un plugin muy util.

Gracias de todos modos

Offline

#9 02-03-2012 06:57:23

rub
Former Piwigo Team
Lille
26-08-2005
4779

Re: Mensaje de error con plugin FacebookPlug

¿Has probado con la última versión?
¿Qué versión está usando ahora?
No puedo reproducir el problema lez.

Offline

#10 02-03-2012 09:41:35

ivancapi
Miembro
08-12-2011
29

Re: Mensaje de error con plugin FacebookPlug

yo he instalado  FacebookPlug_1.1.13283
y sigue dando error

aqui podeis ver el error http://www.ivancapi.es/index.php

como dice el compañero es un plugin muy util, una pena no conseguir soporte
para solucionarlo.

Última edición por ivancapi (02-03-2012 09:44:25)

Offline

#11 02-03-2012 10:14:35

eljimi
Miembro
Huesca
04-01-2011
16

Re: Mensaje de error con plugin FacebookPlug

Hola
Tengo instalada la ultima versión del plugin, a saber la 2.3.13453

Te adjunto los dos archivos implicados en el error por si te sirve de algo

page_header
<?php
// +-----------------------------------------------------------------------+
// | Piwigo - a PHP based photo gallery                                    |
// +-----------------------------------------------------------------------+
// | Copyright(C) 2008-2011 Piwigo Team                  http://piwigo.org |
// | Copyright(C) 2003-2008 PhpWebGallery Team    http://phpwebgallery.net |
// | Copyright(C) 2002-2003 Pierrick LE GALL   http://le-gall.net/pierrick |
// +-----------------------------------------------------------------------+
// | This program is free software; you can redistribute it and/or modify  |
// | it under the terms of the GNU General Public License as published by  |
// | the Free Software Foundation                                          |
// |                                                                       |
// | This program is distributed in the hope that it will be useful, but   |
// | WITHOUT ANY WARRANTY; without even the implied warranty of            |
// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU      |
// | General Public License for more details.                              |
// |                                                                       |
// | You should have received a copy of the GNU General Public License     |
// | along with this program; if not, write to the Free Software           |
// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
// | USA.                                                                  |
// +-----------------------------------------------------------------------+

//
// Start output of page
//
$template->set_filenames(array('header'=>'header.tpl'));

trigger_action('loc_begin_page_header');

$template->assign(
  array(
    'GALLERY_TITLE' =>
      isset($page['gallery_title']) ?
        $page['gallery_title'] : $conf['gallery_title'],

    'PAGE_BANNER' =>
      trigger_event(
        'render_page_banner',
        str_replace(
          '%gallery_title%',
          $conf['gallery_title'],
          isset($page['page_banner']) ? $page['page_banner'] : $conf['page_banner']
          )
        ),

    'BODY_ID' =>
      isset($page['body_id']) ?
        $page['body_id'] : '',

    'REVERSE' =>
      (isset($conf['reverse_home_title']) and $conf['reverse_home_title']) ?
        true : false,

    'CONTENT_ENCODING' => get_pwg_charset(),
    'PAGE_TITLE' => strip_tags($title),

    'U_HOME' => get_gallery_home_url(),
    ));


// Header notes
if ( !empty($header_notes) )
{
  $template->assign('header_notes',$header_notes);
}

// No referencing is required
if ( !$conf['meta_ref'] )
{
  $page['meta_robots']['noindex'] = 1;
  $page['meta_robots']['nofollow'] = 1;
}

if ( !empty($page['meta_robots']) )
{
  $template->append('head_elements',
        '<meta name="robots" content="'
        .implode(',', array_keys($page['meta_robots']))
        .'">'
    );
}
if ( !isset($page['meta_robots']['noindex']) )
{
  $template->assign('meta_ref',1);
}

// refresh
if ( isset( $refresh ) and intval($refresh) >= 0
    and isset( $url_link ) )
{
  $template->assign(
    array(
      'page_refresh' => array(
            'TIME' => $refresh,
            'U_REFRESH' => $url_link
          )
      ));
}

trigger_action('loc_end_page_header');

header('Content-Type: text/html; charset='.get_pwg_charset());
$template->parse('header');

trigger_action('loc_after_page_header');
?>

common.lang
<?php
// +-----------------------------------------------------------------------+
// | FacebookPlug - a Piwigo Plugin                                        |
// | Copyright (C) 2010-2011 Ruben ARNAUD - rub@piwigo.org                 |
// +-----------------------------------------------------------------------+
// | This program is free software; you can redistribute it and/or modify  |
// | it under the terms of the GNU General Public License as published by  |
// | the Free Software Foundation                                          |
// |                                                                       |
// | This program is distributed in the hope that it will be useful, but   |
// | WITHOUT ANY WARRANTY; without even the implied warranty of            |
// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU      |
// | General Public License for more details.                              |
// |                                                                       |
// | You should have received a copy of the GNU General Public License     |
// | along with this program; if not, write to the Free Software           |
// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
// | USA.                                                                  |
// +-----------------------------------------------------------------------+

if (!defined('PHPWG_ROOT_PATH'))
{
  die('Hacking attempt!');
}

// Spanish
$lang['Join Facebook Piwigo group'] = 'Reunir el grupo Piwigo sobre Facebook';
$lang['Via Facebook Piwigo application'] = 'Vía la aplicación Piwigo sobre Facebook';
$lang['Share on Facebook'] = 'Compartir sobre Facebook';
$lang['Upload photo on Facebook'] = 'Descargar la foto sobre Facebook';

?>

Offline

#12 06-03-2012 07:46:41

rub
Former Piwigo Team
Lille
26-08-2005
4779

Re: Mensaje de error con plugin FacebookPlug

Corregido en la versión 2.3.13481.
El problema de codificación de archivos.
(google translate)

Offline

#13 06-03-2012 09:46:07

ivancapi
Miembro
08-12-2011
29

Re: Mensaje de error con plugin FacebookPlug

pues a mi esa actualizacion no me a corregido el error.

te dejo enlace a mi web para que veas que sigue igual, cosa que me tiene ya desesperado.

http://www.ivancapi.es/index.php

Offline

#14 06-03-2012 11:47:25

ivancapi
Miembro
08-12-2011
29

Re: Mensaje de error con plugin FacebookPlug

no se que a ocurrido pero de repente ha desaparecido el error.

puede que esta ultima actualizacion lo haya corregido.

Offline

#15 06-03-2012 12:03:50

eljimi
Miembro
Huesca
04-01-2011
16

Re: Mensaje de error con plugin FacebookPlug

Problema solucionado.

Version 2.3.13481 instalada y funcionando correctamente

Gracias

Offline

Pie del foro

Desarrolado por FluxBB

github twitter newsletter Donar Piwigo.org © 2002-2024 · Contacto