Joankarll Posted January 27, 2014 Share Posted January 27, 2014 (edited) Buenas, tengo instalado el módulo Facebook PS Shop. En mi página Web al pulsar en cualquier producto me sale la pantalla en blanco. He activado el Debug de errores y me sale lo siguiente: Notice: Undefined variable: smarty in /home/arcaerot/public_html/modules/facebookpsshoptab/facebookpsshoptab.php on line 2377 Fatal error: Call to a member function assign() on a non-object in /home/arcaerot/public_html/modules/facebookpsshoptab/facebookpsshoptab.php on line 2377 -------------------------------------------------------------------------------------- Que viene a ser esta línea: $smarty->assign(array( <---Ésta es la línea 2377. Pero no se que es lo que está mal!. 'OG_TITLE' => stripslashes($product->name), 'OG_URL' => strval($rewrited_url), 'OG_IMAGE' => strval($image_link), 'OG_SITE_NAME' => stripslashes(Configuration::get('PS_SHOP_NAME')), 'OG_APP_ID' => $this->_configuration['FBPSSHOPTAB_APP_ID'], 'OG_DESCRIPTION' => stripslashes(strip_tags($product->meta_description)), 'OG_BRAND' => $product->manufacturer_name, 'OG_RETAILER' => Configuration::get('PS_SHOP_NAME'), 'OG_CATEGORY' => $product->category, 'OG_UPC' => $product->upc, 'OG_EAN' => $product->ean13, 'OG_PRICE' => number_format($product->price, 2, ',', ','), ---------------------------------------------------------------------------------------- No consigo dar con la tela, no he visto ningún Topic con este asunto. He probado a eliminar la línea 2377 y entonces me salta el error a la 2378... y así sucesivamente. He probado a eliminar el archivo facebookpsshoptab.php por completo y si me deja ver los productos en mi Web,el problema es, que en mi página de Facebook sección tienda me salen otro millar de errores. A ver si alguien me puede ayudar. Mi versión de prestashop es: PrestaShop™ 1.5.6.1 Un saludo y gracias!. Edited January 28, 2014 by Joankarll (see edit history) Link to comment Share on other sites More sharing options...
Joankarll Posted January 28, 2014 Author Share Posted January 28, 2014 Ya está solucionado. Todo era cuestión en la configuración del módulo -> incluya "Facebook Open Graph" etiquetas en las páginas de su producto? . DECIR: NO!. Saludos. Link to comment Share on other sites More sharing options...
nadie Posted January 28, 2014 Share Posted January 28, 2014 Como veo que el autor del tema, tiene agregada la palabra "Solucionado" en el titulo del tema, procedo a cerrar el tema.Gracias a todos por colaborar con la Comunidad de Prestashop. 1 Link to comment Share on other sites More sharing options...
Recommended Posts