Jump to content

¿Qué hacer cuando sale un error 500 o se queda la pantalla en blanco en Prestashop?


Recommended Posts

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

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

  • 2 weeks later...

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 by pacote (see edit history)
Link to comment
Share on other sites

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

 

 

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

  • 2 weeks later...

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! :P

 

 

"

Edited by L&E (see edit history)
Link to comment
Share on other sites

  • 2 months later...

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

  • 1 month later...
  • 1 month later...

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 by JuanCarlosG (see edit history)
Link to comment
Share on other sites

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 112

Notice: Constant _THEME_NAME_ already defined in /home2/compudia/public_html/uno/config/config.inc.php on line 112

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 116

Notice: Constant __PS_BASE_URI__ already defined in /home2/compudia/public_html/uno/config/config.inc.php on line 116

Warning: 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 98

Warning: 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 99

Warning: 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

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?

  • Like 1
Link to comment
Share on other sites

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

  • Like 1
Link to comment
Share on other sites

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

  • Rolige unpinned this topic
Guest
This topic is now closed to further replies.
×
×
  • Create New...