Popular Post nadie Posted March 14, 2013 Popular Post Share Posted March 14, 2013 (edited) Es posible que llegado un momento os encontréis un pantallazo blanco o un error 500 en vuestra tienda, esto suele ser debido a un error especifico. En caso de que se te haya quedado la pantalla en blanco (o salga un error 500) en alguna parte de la tienda, podéis habilitar el "debug de errores" para que depende una pantalla blanca o un error 500, veamos un error más descriptivo. En Prestashop 1.4, debéis acceder al fichero: /config/config.inc.php Buscar la siguiente línea de código:: @ini_set('display_errors', 'off'); Y dejarlo así: @ini_set('display_errors', 'on'); También es conveniente que vayamos al fichero: /config/defines.inc.php Buscamos la siguiente línea: define('_PS_MODE_DEV_', false); Y dejarla del siguiente modo: define('_PS_MODE_DEV_', true); ------------------------------------------------En versiones anteriores a Prestashop 1.5.3, hacer lo mismo que se hace en Prestashop 1.4 ----------------------------------------------------A partir de la versión 1.5.3, vamos directamente al fichero: /config/defines.inc.php Buscamos esto: define('_PS_MODE_DEV_', false); Y lo dejamos así: define('_PS_MODE_DEV_', true); ------------- ------------- ------------- A partir de Prestashop 1.7, en principio no es necesario modificar el fichero (/config/defines.inc,php) para habilitar el debug, ya que se incorpora la opción de habilitarlo desde el panel de administración, desde la pestaña Parámetros Avanzados -> Rendimiento, seleccionando "Modo Depuración -> SI" (muestro Imagen). Si no tuvierais acceso al panel de administración, también podéis habilitar el debug editando el fichero => /config/defines.inc.php cambiando define('_PS_MODE_DEV_', false); por define('_PS_MODE_DEV_', true); --------- Una vez realizado dichos cambios os saldrá un error más descriptivo. Si tu tienes directamente un error 500 y tras habilitar el debug sigue saliendo el mismo error 500, revisa el log de errores de tu alojamiento web (hosting).Recordar que debéis crear un tema nuevo con vuestro error en el foro para ser atendidos. Edited June 18, 2018 by nadie (see edit history) 12 3 Link to comment Share on other sites More sharing options...
areliux Posted March 16, 2013 Share Posted March 16, 2013 hola tengo un problemma con este sistema bueno cuando ejecuto la opcion confirmar me sale el error /index.php?id_product=1&controller=product&id_lang=4 tambien me dale el error cuando selecciono un producto: /index.php?id_product=1&controller=product&id_lang=4 bueno añadi segun este post y me salio el error index.php?controller=order en el texto Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 924 bytes) in /home/areliu/public_html/shop/tools/smarty/sysplugins/smarty_internal_templatelexer.php on line 452 como puedo solucionar 4este problema espero q alguien me ayude. gracias mi demo http://shop.areliux.com/ Link to comment Share on other sites More sharing options...
Marena Posted March 21, 2013 Share Posted March 21, 2013 Muchas Gracias Nadie por tus aportes Link to comment Share on other sites More sharing options...
sbalmaseda Posted March 22, 2013 Share Posted March 22, 2013 Hola, he realizado las modificaciones que decias pero al ir a catalogo de modulos y temas me sigue apareciendo vacio. Que puede ser? No me da ningun tipo de error Gracias y saludos Link to comment Share on other sites More sharing options...
royoruiz Posted March 25, 2013 Share Posted March 25, 2013 Un tema, me acaba de pasar esto al instalar una instalacion nueva en un servidor propio pero no de Desarrollo. La única solucion ha sido reiniciar Apache. Extraño pero así ha sido. Mi error era que no encontraba admin/funcions.php cuando ya habia cambiado la carpeta a admin a XXXX, y con el reinicio del apache me ha ido bien... Link to comment Share on other sites More sharing options...
pacote Posted April 8, 2013 Share Posted April 8, 2013 (edited) Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 24 bytes) in /home4/gwqhafxc/public_html/classes/SpecificPrice.php on line 368 he realizado lo que indicais en este post y me sale este error, que puedo hacer? ya lo he solucionado, puse varias reglas de precio complejas y al quitarlas, por fin veo la tienda. Edited April 8, 2013 by pacote (see edit history) Link to comment Share on other sites More sharing options...
32056902 Posted April 12, 2013 Share Posted April 12, 2013 vale, ahora me da estos errores(vengo de la version 1.8.4 hacia 1.5.4, con theme propio y compatible con la version: este en la pestaña modulos en el back office: Fatal error: Cannot make non static method ModuleCore::display() static in class PayPal in /homepages/37/d413461011/htdocs/modules/paypal/paypal.php on line 1364 y este en la pagina principal: Warning: Function addCSS() is deprecated in /homepages/37/d413461011/htdocs/modules/blockimagemanufacturer/blockimagemanufacturer.php on line 131 in /homepages/37/d413461011/htdocs/classes/Tools.php on line 1843 Warning: Function addCSS() is deprecated in /homepages/37/d413461011/htdocs/modules/themesettings/themesettings.php on line 195 in /homepages/37/d413461011/htdocs/classes/Tools.php on line 1843 Warning: Function addCSS() is deprecated in /homepages/37/d413461011/htdocs/modules/themesettings/themesettings.php on line 196 in /homepages/37/d413461011/htdocs/classes/Tools.php on line 1843 Warning: Function addCSS() is deprecated in /homepages/37/d413461011/htdocs/modules/themesettings/themesettings.php on line 197 in /homepages/37/d413461011/htdocs/classes/Tools.php on line 1843 Warning: Function addCSS() is deprecated in /homepages/37/d413461011/htdocs/modules/themesettings/themesettings.php on line 198 in /homepages/37/d413461011/htdocs/classes/Tools.php on line 1843 Warning: Function addCSS() is deprecated in /homepages/37/d413461011/htdocs/modules/themesettings/themesettings.php on line 199 in /homepages/37/d413461011/htdocs/classes/Tools.php on line 1843 Warning: Function addJS() is deprecated in /homepages/37/d413461011/htdocs/modules/themesettings/themesettings.php on line 200 in /homepages/37/d413461011/htdocs/classes/Tools.php on line 1843 Warning: Function addJS() is deprecated in /homepages/37/d413461011/htdocs/modules/themesettings/themesettings.php on line 201 in /homepages/37/d413461011/htdocs/classes/Tools.php on line 1843 Warning: Function addJS() is deprecated in /homepages/37/d413461011/htdocs/modules/themesettings/themesettings.php on line 202 in /homepages/37/d413461011/htdocs/classes/Tools.php on line 1843 Warning: Function addJS() is deprecated in /homepages/37/d413461011/htdocs/modules/themesettings/themesettings.php on line 203 in /homepages/37/d413461011/htdocs/classes/Tools.php on line 1843 Warning: Function addJS() is deprecated in /homepages/37/d413461011/htdocs/modules/themesettings/themesettings.php on line 204 in /homepages/37/d413461011/htdocs/classes/Tools.php on line 1843 Warning: Function addCSS() is deprecated in /homepages/37/d413461011/htdocs/modules/blockadvertising_ext/blockadvertising_ext.php on line 256 in /homepages/37/d413461011/htdocs/classes/Tools.php on line 1843 Warning: Function addJS() is deprecated in /homepages/37/d413461011/htdocs/modules/blockadvertising_ext/blockadvertising_ext.php on line 257 in /homepages/37/d413461011/htdocs/classes/Tools.php on line 1843 Fatal error: Call to undefined method Category::hideCategoryPosition() in /homepages/37/d413461011/htdocs/modules/blockcategoriestopsc/blockcategoriestopsc.php on line 123 Link to comment Share on other sites More sharing options...
Sergio Ruiz Posted April 14, 2013 Share Posted April 14, 2013 Warning: Function addCSS() is deprecated in /homepages/37/d413461011/htdocs/modules/blockimagemanufacturer/blockimagemanufacturer.php on line 131 in /homepages/37/d413461011/htdocs/classes/Tools.php on line 1843 Warning: Function addCSS() is deprecated in /homepages/37/d413461011/htdocs/modules/themesettings/themesettings.php on line 195 in /homepages/37/d413461011/htdocs/classes/Tools.php on line 1843 Warning: Function addCSS() is deprecated in /homepages/37/d413461011/htdocs/modules/themesettings/themesettings.php on line 196 in /homepages/37/d413461011/htdocs/classes/Tools.php on line 1843 Warning: Function addCSS() is deprecated in /homepages/37/d413461011/htdocs/modules/themesettings/themesettings.php on line 197 in /homepages/37/d413461011/htdocs/classes/Tools.php on line 1843 Warning: Function addCSS() is deprecated in /homepages/37/d413461011/htdocs/modules/themesettings/themesettings.php on line 198 in /homepages/37/d413461011/htdocs/classes/Tools.php on line 1843 Warning: Function addCSS() is deprecated in /homepages/37/d413461011/htdocs/modules/themesettings/themesettings.php on line 199 in /homepages/37/d413461011/htdocs/classes/Tools.php on line 1843 Warning: Function addJS() is deprecated in /homepages/37/d413461011/htdocs/modules/themesettings/themesettings.php on line 200 in /homepages/37/d413461011/htdocs/classes/Tools.php on line 1843 Warning: Function addJS() is deprecated in /homepages/37/d413461011/htdocs/modules/themesettings/themesettings.php on line 201 in /homepages/37/d413461011/htdocs/classes/Tools.php on line 1843 Warning: Function addJS() is deprecated in /homepages/37/d413461011/htdocs/modules/themesettings/themesettings.php on line 202 in /homepages/37/d413461011/htdocs/classes/Tools.php on line 1843 Warning: Function addJS() is deprecated in /homepages/37/d413461011/htdocs/modules/themesettings/themesettings.php on line 203 in /homepages/37/d413461011/htdocs/classes/Tools.php on line 1843 Warning: Function addJS() is deprecated in /homepages/37/d413461011/htdocs/modules/themesettings/themesettings.php on line 204 in /homepages/37/d413461011/htdocs/classes/Tools.php on line 1843 Warning: Function addCSS() is deprecated in /homepages/37/d413461011/htdocs/modules/blockadvertising_ext/blockadvertising_ext.php on line 256 in /homepages/37/d413461011/htdocs/classes/Tools.php on line 1843 Warning: Function addJS() is deprecated in /homepages/37/d413461011/htdocs/modules/blockadvertising_ext/blockadvertising_ext.php on line 257 in /homepages/37/d413461011/htdocs/classes/Tools.php on line 1843 Fatal error: Call to undefined method Category::hideCategoryPosition() in /homepages/37/d413461011/htdocs/modules/blockcategoriestopsc/blockcategoriestopsc.php on line 123 http://www.prestashop.com/forums/topic/231931-error-en-tienda-warning-funccion-css/ Link to comment Share on other sites More sharing options...
titonbolero Posted April 19, 2013 Share Posted April 19, 2013 (edited) Aqui les Muestro el error que tengo estoy trabajando en mi localhost con el tema mobilestore Prestashop version 1.5.4 Edited April 19, 2013 by titonbolero (see edit history) Link to comment Share on other sites More sharing options...
juanpax47 Posted April 29, 2013 Share Posted April 29, 2013 Actualiza a la ultima version y limpia la cache... Link to comment Share on other sites More sharing options...
Sergio Ruiz Posted April 29, 2013 Share Posted April 29, 2013 (edited) Actualiza a la ultima version y limpia la cache... Dudo mucho que todas las pantallas blancas se solucionen asi, sera en tu caso particular, pero cada caso es un mundo. Edited April 29, 2013 by Rubalcaba (see edit history) Link to comment Share on other sites More sharing options...
juanpax47 Posted April 29, 2013 Share Posted April 29, 2013 hablaba de la pregunta de titonbolero, en mi caso lo sulucione asi, y todo fue por un cleaner de la base de datos... Pero sinceramente Rubalcaba, no tengo experiencia suficiente para asegurar nada, simplemente intento colaborar... Link to comment Share on other sites More sharing options...
davidcalabuig Posted May 6, 2013 Share Posted May 6, 2013 Buen aporte como siempre Link to comment Share on other sites More sharing options...
nadie Posted May 6, 2013 Author Share Posted May 6, 2013 Buen aporte como siempre Un placer ayudar, siempre que tenga tiempo ! Gracias por confiar en la Comunidad de Prestashop ! Link to comment Share on other sites More sharing options...
L&E Posted May 8, 2013 Share Posted May 8, 2013 (edited) Hola! Necesito ayuda por favor! despues de horas para poder solucionar problema de pnatalla blanca con installation en 1and1 ahora tengo este erro que aparece. No se que hacer. Que tengop que corregir en Tools.php? Parse error: syntax error, unexpected ''RewriteRule ^api/?(.*)$ %{ENV' (T_ENCAPSED_AND_WHITESPACE) in /homepages/12/d468916897/htdocs/prestashop/classes/Tools.php on line 1600 Gracias de antemano por su ayuda Reeditado: Auxilio, ahora me sale este error: Parse error: syntax error, unexpected end of file in /homepages/12/d468916897/htdocs/prestashop/classes/Tools.php on line 893 Y la line 893 es: AND c.level_depth > '.(int)$interval_root['level_depth'].' HELP! " Edited May 8, 2013 by L&E (see edit history) Link to comment Share on other sites More sharing options...
sampa Posted August 7, 2013 Share Posted August 7, 2013 Hice los cambios para ver los errores, y sigue en blanco. Alguna idea? Link to comment Share on other sites More sharing options...
fdiaz1978 Posted August 8, 2013 Share Posted August 8, 2013 Buenos días, alguien podría arrojarme algo de luz a esto? Después de actualizar la página a la 1.5.4.1 hace un mes con 1 click upgrade y estar funcionando perfectamente todo este tiempo hoy abro la web y me aparece en blanco. Al backend si puedo entrar. El log de error de apache me dice esto: [warn] mod_fcgid: stderr: PHP Fatal error: Uncaught exception 'PrestaShopException' with message 'Shop not found' in /usr/home/pinturasgoyro/www/classes/shop/Shop.php:369 [warn] mod_fcgid: stderr: [warn] mod_fcgid: stderr: #0 /usr/home/pinturasgoyro/www/config/config.inc.php(90): ShopCore::initialize() [warn] mod_fcgid: stderr: #1 /usr/home/pinturasgoyro/www/index.php(27): require('/usr/home/pintu...') [warn] mod_fcgid: stderr: #2 {main} [warn] mod_fcgid: stderr: thrown in /usr/home/pinturasgoyro/www/classes/shop/Shop.php on line 369 Link to comment Share on other sites More sharing options...
[email protected] Posted September 14, 2013 Share Posted September 14, 2013 Nadie eres el mejor... me has salvado la vida... Link to comment Share on other sites More sharing options...
JuanCarlosG Posted October 19, 2013 Share Posted October 19, 2013 (edited) Hola. Pues bueno ...llego aquí después de mucho mirar y mirar. Versión PrestaShop™ 1.5.4.1 - La tienda funciona bien. - En la administración casi cualquier cosa que hago se guarda bien pero la pantalla se va a blanco. - He añadido en config.inc.php una última línea con @ini_set('memory_limit','128M'); - Desde Opera, chorme e IE no me deja entrar en administración, si en tienda. Desde Mozilla puedo entrar en administración pero al intentar salir la pantalla se va a blanco y no sale. Error al activar define('_PS_MODE_DEV_', true); En la administración: Warning: Cannot modify header information - headers already sent by (output started at /home/xxxxx/public_html/www.xxxxx.com/translations/es/admin.php:1) in/home/xxxx/public_html/www.xxxxx.com/classes/Tools.php on line 141 y en el dominio: www.xxxxx.com [PrestaShopDatabaseException]You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') AND product_shop.`active` = 1 AND produc' at line 21 SELECT p.*, product_shop.*, stock.out_of_stock, IFNULL(stock.quantity, 0) as quantity, pl.`description`, pl.`description_short`, product_attribute_shop.id_product_attribute, pl.`link_rewrite`, pl.`meta_description`, pl.`meta_keywords`, pl.`meta_title`, pl.`name`, image_shop.`id_image`, il.`legend`, m.`name` AS manufacturer_name FROM `ps_product` p INNER JOIN ps_product_shop product_shop ON (product_shop.id_product = p.id_product AND product_shop.id_shop = 1) LEFT JOIN ps_product_attribute pa ON (pa.id_product = p.id_product) LEFT JOIN ps_product_attribute_shop product_attribute_shop ON (product_attribute_shop.id_product_attribute = pa.id_product_attribute AND product_attribute_shop.id_shop = 1 AND product_attribute_shop.default_on=1) LEFT JOIN ps_stock_available stock ON (stock.id_product = p.id_product AND stock.id_product_attribute = 0 AND stock.id_shop = 1 ) LEFT JOIN `ps_product_lang` pl ON ( p.`id_product` = pl.`id_product` AND pl.`id_lang` = 1 AND pl.id_shop = 1 ) LEFT JOIN `ps_image` i ON (i.`id_product` = p.`id_product`) LEFT JOIN ps_image_shop image_shop ON (image_shop.id_image = i.id_image AND image_shop.id_shop = 1 AND image_shop.cover=1) LEFT JOIN `ps_image_lang` il ON (i.`id_image` = il.`id_image` AND il.`id_lang` = 1) LEFT JOIN `ps_manufacturer` m ON (m.`id_manufacturer` = p.`id_manufacturer`) WHERE p.`id_product` IN() AND product_shop.`active` = 1 AND product_shop.`show_price` = 1 AND ((image_shop.id_image IS NOT NULL OR i.id_image IS NULL) OR (image_shop.id_image IS NULL AND i.cover=1)) AND (pa.id_product_attribute IS NULL OR product_attribute_shop.default_on = 1) at line 607 in file classes/db/Db.php 601. WebserviceRequest::getInstance()->setError(500, ' '.$this->getMsgError().'. From '.(isset($dbg[3]['class']) ? $dbg[3]['class'] : '').'->'.$dbg[3]['function'].'() Query was : '.$sql, 97);602. }603. else if (_PS_DEBUG_SQL_ && $errno && !defined('PS_INSTALLATION_IN_PROGRESS'))604. {605. if ($sql)606. throw new PrestaShopDatabaseException($this->getMsgError().'<br /><br /><pre>'.$sql.'</pre>');607. throw new PrestaShopDatabaseException($this->getMsgError());608. }609. }610.611. /** • DbCore->displayError - [line 307 - classes/db/Db.php] - [1 Arguments]• DbCore->query - [line 482 - classes/db/Db.php] - [1 Arguments]• DbCore->executeS - [line 683 - modules/smartproductslider/smartproductslider.php] - [1 Arguments]• SmartProductSlider->hookDisplayHome - [line 421 - classes/Hook.php] - [1 Arguments]• HookCore::exec - [line 39 - controllers/front/IndexController.php] - [1 Arguments]• IndexControllerCore->initContent - [line 167 - classes/controller/Controller.php] - [0 Argument]• ControllerCore->run - [line 349 - classes/Dispatcher.php] - [0 Argument]• DispatcherCore->dispatch - [line 28 - index.php] - [0 Argument] Alguien puede ayudarme?Gracias Edited October 19, 2013 by JuanCarlosG (see edit history) Link to comment Share on other sites More sharing options...
compudiablito Posted October 20, 2013 Share Posted October 20, 2013 Hoy actualice a la versión 1.5.6.0, y al entrar a la tienda me apareció en blanco, al hacer lo que sugiere Nadie, me encuentra esto Strict Standards: define() [function.define]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Chicago' for 'CDT/-5.0/DST' instead in/home2/compudia/public_html/uno/config/config.inc.php on line 112Notice: Constant _THEME_NAME_ already defined in /home2/compudia/public_html/uno/config/config.inc.php on line 112Strict Standards: define() [function.define]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Chicago' for 'CDT/-5.0/DST' instead in/home2/compudia/public_html/uno/config/config.inc.php on line 116Notice: Constant __PS_BASE_URI__ already defined in /home2/compudia/public_html/uno/config/config.inc.php on line 116Warning: Cannot modify header information - headers already sent by (output started at /home2/compudia/public_html/uno/config/config.inc.php:112) in/home2/compudia/public_html/uno/controllers/admin/AdminThemesController.php on line 98Warning: Cannot modify header information - headers already sent by (output started at /home2/compudia/public_html/uno/config/config.inc.php:112) in/home2/compudia/public_html/uno/controllers/admin/AdminThemesController.php on line 99Warning: Cannot modify header information - headers already sent by (output started at /home2/compudia/public_html/uno/config/config.inc.php:112) in/home2/compudia/public_html/uno/classes/controller/AdminController.php on line 1229 Alguien tiene idea de que puede ser lo que hice mal? Link to comment Share on other sites More sharing options...
strenet Posted October 23, 2013 Share Posted October 23, 2013 Hola les comento que muy poco se sobre esto sin embargo estuve tratando de instalar un tema o plantilla en dattatec y me sale pantalla en blanco y otros errores, probe con varias versiones y lo mismo o me salen otros errores, alguien que me pueda ayudar a hacerlo? 1 Link to comment Share on other sites More sharing options...
strenet Posted October 23, 2013 Share Posted October 23, 2013 En principio cuando uso el filezilla para pasar el zip de prestashop me sale un error de transferencia algo en tools/smarty/plugins.mailto.php, no estoy muy seguro pero es algo asi, Si alguien me puede ayudar le doy las gracias anticipadas. atte. Jose 1 Link to comment Share on other sites More sharing options...
nadie Posted October 26, 2013 Author Share Posted October 26, 2013 Como dice en el primer mensaje del tema: Recordar que debéis crear un tema nuevo con vuestro error en el foro para ser atendidos. Este post, es solo para habilitar el reporte de errores, los errores que vayáis teniendo, tenéis que crear un tema nuevo en el foro para ser atendidos. PD: Cierro tema, para que no se pueda volver a escribir en este tema. Link to comment Share on other sites More sharing options...
Recommended Posts