pawelsocha78 Posted August 25, 2015 Share Posted August 25, 2015 Witam, Po kilku próbach mapowania kategorii przy imporcie kategorii do presty 1.6.1.0 we FO dostaje 500 Server ErrorOops, something went wrong.... BO działa ok. Manualnie mogę dodawać kategorie. W logach mam coś takiego: [Tue Aug 25 08:58:57.172034 2015] [:error] [pid 4924] PHP Warning: htmlentities() [<a href='function.htmlentities'>function.htmlentities</a>]: Invalid multibyte sequence in argument in /home/pawelinne/domains/wypalarkicnc.pl/public_html/prestashop/controllers/admin/AdminImportController.php on line 763, referer: http://wypalarkicnc.pl/prestashop/admin567s19zxd/index.php?controller=AdminImport&token=0f689a34159f0e6bb8e2d1005392d768[Tue Aug 25 08:58:57.172115 2015] [:error] [pid 4924] PHP Warning: htmlentities() [<a href='function.htmlentities'>function.htmlentities</a>]: Invalid multibyte sequence in argument in /home/pawelinne/domains/wypalarkicnc.pl/public_html/prestashop/controllers/admin/AdminImportController.php on line 763, referer: http://wypalarkicnc.pl/prestashop/admin567s19zxd/index.php?controller=AdminImport&token=0f689a34159f0e6bb8e2d1005392d768[Tue Aug 25 08:58:57.172190 2015] [:error] [pid 4924] PHP Warning: htmlentities() [<a href='function.htmlentities'>function.htmlentities</a>]: Invalid multibyte sequence in argument in /home/pawelinne/domains/wypalarkicnc.pl/public_html/prestashop/controllers/admin/AdminImportController.php on line 763, referer: http://wypalarkicnc.pl/prestashop/admin567s19zxd/index.php?controller=AdminImport&token=0f689a34159f0e6bb8e2d1005392d768[Tue Aug 25 08:58:57.172269 2015] [:error] [pid 4924] PHP Warning: htmlentities() [<a href='function.htmlentities'>function.htmlentities</a>]: Invalid multibyte sequence in argument in /home/pawelinne/domains/wypalarkicnc.pl/public_html/prestashop/controllers/admin/AdminImportController.php on line 763, referer: http://wypalarkicnc.pl/prestashop/admin567s19zxd/index.php?controller=AdminImport&token=0f689a34159f0e6bb8e2d1005392d768[Tue Aug 25 09:10:23.325056 2015] [:error] [pid 5543] PHP Warning: htmlentities() [<a href='function.htmlentities'>function.htmlentities</a>]: Invalid multibyte sequence in argument in /home/pawelinne/domains/wypalarkicnc.pl/public_html/prestashop/controllers/admin/AdminImportController.php on line 763, referer: http://wypalarkicnc.pl/prestashop/admin567s19zxd/index.php?controller=AdminImport&token=0f689a34159f0e6bb8e2d1005392d768[Tue Aug 25 09:10:23.325182 2015] [:error] [pid 5543] PHP Warning: htmlentities() [<a href='function.htmlentities'>function.htmlentities</a>]: Invalid multibyte sequence in argument in /home/pawelinne/domains/wypalarkicnc.pl/public_html/prestashop/controllers/admin/AdminImportController.php on line 763, referer: http://wypalarkicnc.pl/prestashop/admin567s19zxd/index.php?controller=AdminImport&token=0f689a34159f0e6bb8e2d1005392d768[Tue Aug 25 09:10:23.325250 2015] [:error] [pid 5543] PHP Warning: htmlentities() [<a href='function.htmlentities'>function.htmlentities</a>]: Invalid multibyte sequence in argument in /home/pawelinne/domains/wypalarkicnc.pl/public_html/prestashop/controllers/admin/AdminImportController.php on line 763, referer: http://wypalarkicnc.pl/prestashop/admin567s19zxd/index.php?controller=AdminImport&token=0f689a34159f0e6bb8e2d1005392d768[Tue Aug 25 09:10:23.325373 2015] [:error] [pid 5543] PHP Warning: htmlentities() [<a href='function.htmlentities'>function.htmlentities</a>]: Invalid multibyte sequence in argument in /home/pawelinne/domains/wypalarkicnc.pl/public_html/prestashop/controllers/admin/AdminImportController.php on line 763, referer: http://wypalarkicnc.pl/prestashop/admin567s19zxd/index.php?controller=AdminImport&token=0f689a34159f0e6bb8e2d1005392d768[Tue Aug 25 09:10:23.325427 2015] [:error] [pid 5543] PHP Warning: htmlentities() [<a href='function.htmlentities'>function.htmlentities</a>]: Invalid multibyte sequence in argument in /home/pawelinne/domains/wypalarkicnc.pl/public_html/prestashop/controllers/admin/AdminImportController.php on line 763, referer: http://wypalarkicnc.pl/prestashop/admin567s19zxd/index.php?controller=AdminImport&token=0f689a34159f0e6bb8e2d1005392d768[Tue Aug 25 09:11:23.092462 2015] [:error] [pid 16720] PHP Notice: Undefined index: object in /home/pawelinne/domains/wypalarkicnc.pl/public_html/prestashop/modules/stproductcategoriesslider/stproductcategoriesslider.php on line 2202, referer: http://wypalarkicnc.pl/prestashop/admin567s19zxd/index.php?controller=AdminCategories&submitBulkdeletecategory&token=c2defb1432c700ccce25ea24e3e1bd93[Tue Aug 25 09:11:23.092542 2015] [:error] [pid 16720] PHP Notice: Trying to get property of non-object in /home/pawelinne/domains/wypalarkicnc.pl/public_html/prestashop/modules/stproductcategoriesslider/stproductcategoriesslider.php on line 2202, referer: http://wypalarkicnc.pl/prestashop/admin567s19zxd/index.php?controller=AdminCategories&submitBulkdeletecategory&token=c2defb1432c700ccce25ea24e3e1bd93[Tue Aug 25 09:11:23.620684 2015] [:error] [pid 16720] PHP Notice: Undefined index: object in /home/pawelinne/domains/wypalarkicnc.pl/public_html/prestashop/modules/stproductcategoriesslider/stproductcategoriesslider.php on line 2202, referer: http://wypalarkicnc.pl/prestashop/admin567s19zxd/index.php?controller=AdminCategories&submitBulkdeletecategory&token=c2defb1432c700ccce25ea24e3e1bd93[Tue Aug 25 09:11:23.620752 2015] [:error] [pid 16720] PHP Notice: Trying to get property of non-object in /home/pawelinne/domains/wypalarkicnc.pl/public_html/prestashop/modules/stproductcategoriesslider/stproductcategoriesslider.php on line 2202, referer: http://wypalarkicnc.pl/prestashop/admin567s19zxd/index.php?controller=AdminCategories&submitBulkdeletecategory&token=c2defb1432c700ccce25ea24e3e1bd93[Tue Aug 25 09:11:23.689882 2015] [:error] [pid 16720] PHP Notice: Undefined index: object in /home/pawelinne/domains/wypalarkicnc.pl/public_html/prestashop/modules/stproductcategoriesslider/stproductcategoriesslider.php on line 2202, referer: http://wypalarkicnc.pl/prestashop/admin567s19zxd/index.php?controller=AdminCategories&submitBulkdeletecategory&token=c2defb1432c700ccce25ea24e3e1bd93[Tue Aug 25 09:11:23.689934 2015] [:error] [pid 16720] PHP Notice: Trying to get property of non-object in /home/pawelinne/domains/wypalarkicnc.pl/public_html/prestashop/modules/stproductcategoriesslider/stproductcategoriesslider.php on line 2202, referer: http://wypalarkicnc.pl/prestashop/admin567s19zxd/index.php?controller=AdminCategories&submitBulkdeletecategory&token=c2defb1432c700ccce25ea24e3e1bd93 Link to comment Share on other sites More sharing options...
vekia Posted August 25, 2015 Share Posted August 25, 2015 to jest raport z logów (pliku) który najprawdopodobniej nie zawiera ERRORów, tylko notice i warningi włącz raportowanie błędów i spróbuj zobaczyć front sklepuhttps://www.prestashop.com/forums/topic/263589-500-error-b%C5%82%C4%99dy-bia%C5%82a-strona-instrukcja-dotycz%C4%85ca-trybu-debugowania/ Link to comment Share on other sites More sharing options...
pawelsocha78 Posted August 26, 2015 Author Share Posted August 26, 2015 Pokazuje takie coś: [PrestaShopException]Invalid product varsat line 103 in file classes/Link.php 98. if (is_array($product) && isset($product['id_product']))99. $product = new Product($product['id_product'], false, $id_lang, $id_shop);100. elseif ((int)$product)101. $product = new Product((int)$product, false, $id_lang, $id_shop);102. else103. throw new PrestaShopException('Invalid product vars');104. }105. 106. // Set available keywords107. $params = array();108. $params['id'] = $product->id; LinkCore->getProductLink - [line 193 - cache/smarty/compile/e6/df/0f/e6df0fd70305d9d3aac5c483c27be9bed63f8d29.file.stadvancedmenu-ul.tpl.cache.php] - [3 Arguments] content_55dc19855179c4_96600827 - [line 188 - tools/smarty/sysplugins/smarty_internal_templatebase.php] - [1 Arguments] Smarty_Internal_TemplateBase->fetch - [line 319 - classes/SmartyCustom.php] - [7 Arguments] Smarty_Custom_Template->fetch - [line 303 - tools/smarty/sysplugins/smarty_internal_template.php] - [7 Arguments] Smarty_Internal_Template->getSubTemplate - [line 36 - cache/smarty/compile/ec/e8/67/ece8678f3516348713a42d301241a64ed1c4a83a.file.stadvancedmenu.tpl.cache.php] - [7 Arguments] content_55dc1984898752_84989868 - [line 188 - tools/smarty/sysplugins/smarty_internal_templatebase.php] - [1 Arguments] Smarty_Internal_TemplateBase->fetch - [line 319 - classes/SmartyCustom.php] - [7 Arguments] Smarty_Custom_Template->fetch - [line 2244 - classes/module/Module.php] ModuleCore->display - [line 3681 - modules/stadvancedmenu/stadvancedmenu.php] - [3 Arguments] StAdvancedMenu->hookDisplayTopSecondary - [line 569 - classes/Hook.php] - [1 Arguments] HookCore::coreCallHook - [line 524 - classes/Hook.php] - [3 Arguments] HookCore::exec - [line 15 - override/classes/controller/FrontController.php] - [1 Arguments] FrontController->initContent - [line 37 - controllers/front/IndexController.php] IndexControllerCore->initContent - [line 39 - override/controllers/front/IndexController.php] IndexController->initContent - [line 180 - classes/controller/Controller.php] ControllerCore->run - [line 373 - classes/Dispatcher.php] DispatcherCore->dispatch - [line 28 - index.php] Link to comment Share on other sites More sharing options...
pawelsocha78 Posted August 26, 2015 Author Share Posted August 26, 2015 Już sobie poradziłem. Import kategorii usunał istniejące kategorie a w menu było odwołanie do tychze pozycji i dlatego sie wysypało. Usuniecie pozycji z menu naprawilo sprawe. Link to comment Share on other sites More sharing options...
vekia Posted August 26, 2015 Share Posted August 26, 2015 dzięki za błąd i wyjaśnienie co było grane :-)po doprowdzeniu wsystkiego do działania wyłącz tryb debugowania (o ile to już działający sklep) Link to comment Share on other sites More sharing options...
Kamil24 Posted September 29, 2015 Share Posted September 29, 2015 (edited) Witam, także mam problem z kategoriami, obecnie w bazie widnieje 14 kategorii a w sklepie nie widzę ani jednej i nie mogę przypisać żadnego produktu do kategori a gdy wchodzę w edycję danego produktu to wyskakuje mi błąd: 500 server error i nie mam podglądu na zdjecia, sprawdzili mi już logi na serwerze, zmienili mi ustawienia php i limity ssl ale nic nie pomogło :/ Oto logi z hostingu: > > > [Tue Sep 29 09:33:46 2015] [warn] [client 188.40.108.135] mod_fcgid: stderr: PHP Warning: Division by zero in /home/egal91/domains/e-galanterio.com/public_html/controllers/admin/AdminStatsController.php on line 599, referer: http://e-galanterio.com/znutcuw8qzt0ldbw/index.php?controller=AdminProducts&token=2771f7d3502c507208d05dcff752a1fd> > > [Tue Sep 29 09:34:03 2015] [emerg] [client 188.40.108.135] (22)Invalid argument: mod_fcgid: can't lock process table in pid 31537, referer: http://e-galanterio.com/znutcuw8qzt0ldbw/index.php?controller=AdminCategories&token=b1fd52227aea41cd8f842e74b2408256> > > [Tue Sep 29 11:21:40 2015] [warn] [client 188.40.108.135] mod_fcgid: stderr: PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 5497421 bytes) in /home/egal91/domains/e-galanterio.com/public_html/tools/smarty/sysplugins/smarty_internal_templatebase.php on line 217, referer: http://e-galanterio.com/znutcuw8qzt0ldbw/index.php?controller=AdminImport&token=d3d5a4a1c2af8fe8d213b6c5d16c097c> > > [Tue Sep 29 11:29:46 2015] [warn] [client 188.40.108.135] mod_fcgid: stderr: PHP Warning: Division by zero in /home/egal91/domains/e-galanterio.com/public_html/controllers/admin/AdminStatsController.php on line 599, referer: https://e-galanterio.com//znutcuw8qzt0ldbw/index.php?controller=AdminProducts&token=2771f7d3502c507208d05dcff752a1fd> > > [Tue Sep 29 15:54:02 2015] [emerg] [client 188.40.108.135] (22)Invalid argument: mod_fcgid: can't lock process table in pid 15629> > > [Tue Sep 29 16:02:00 2015] [warn] [client 188.40.108.135] mod_fcgid: stderr: PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 5539841 bytes) in /home/egal91/domains/e-galanterio.com/public_html/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code on line 127, referer: https://e-galanterio.com/znutcuw8qzt0ldbw/index.php?controller=AdminCategories&token=b1fd52227aea41cd8f842e74b2408256> > > [Tue Sep 29 16:02:01 2015] [warn] [client 188.40.108.135] mod_fcgid: stderr: PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 5539841 bytes) in /home/egal91/domains/e-galanterio.com/public_html/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code on line 127, referer: https://e-galanterio.com/znutcuw8qzt0ldbw/index.php?controller=AdminCategories&token=b1fd52227aea41cd8f842e74b2408256> > > [Tue Sep 29 16:02:14 2015] [warn] [client 188.40.108.135] mod_fcgid: stderr: PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 5491535 bytes) in /home/egal91/domains/e-galanterio.com/public_html/tools/smarty/sysplugins/smarty_internal_templatebase.php on line 217, referer: https://e-galanterio.com/znutcuw8qzt0ldbw/index.php?controller=AdminCategories&token=b1fd52227aea41cd8f842e74b2408256> > > [Tue Sep 29 16:02:42 2015] [warn] [client 188.40.108.135] mod_fcgid: stderr: PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 5539841 bytes) in /home/egal91/domains/e-galanterio.com/public_html/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code on line 127, referer: https://e-galanterio.com/znutcuw8qzt0ldbw/index.php?controller=AdminDashboard&token=6638a65f9fa8610a530fda1f8f4ae110 a taki bład po właczeniu debugowania w preście: Notice w linii 33 w pliku /home/egal91/domains/e-galanterio.com/public_html/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code[8] Undefined index: id_categoryNotice w linii 35 w pliku /home/egal91/domains/e-galanterio.com/public_html/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code[8] Undefined index: id_categoryNotice w linii 39 w pliku /home/egal91/domains/e-galanterio.com/public_html/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code[8] Undefined index: name Bardzo proszę o pomoc bo chciałbym już wystartować z tym sklepem a tak to męczę się nie milosiernie z tym już z miesiąc :/ Dodam jeszcze że przy imporcie produktów wyskakuje taki błąd: PrestaShopException]Parent category does not existat line 397 in file classes/Category.php392. return 0;393. }394.395. $parent_category = new Category((int)$this->id_parent);396. if (!Validate::isLoadedObject($parent_category)) {397. throw new PrestaShopException('Parent category does not exist');398. }399. return $parent_category->level_depth + 1;400. }401.402. /** CategoryCore->calcLevelDepth - [line 150 - classes/Category.php] CategoryCore->add - [line 1984 - controllers/admin/AdminImportController.php] AdminImportControllerCore->productImportCreateCat - [line - ] - [3 Arguments] call_user_func_array - [line 1164 - classes/Category.php] - [2 Arguments] CategoryCore::searchByPath - [line 1524 - controllers/admin/AdminImportController.php] - [4 Arguments] AdminImportControllerCore->productImport - [line 3493 - controllers/admin/AdminImportController.php] AdminImportControllerCore->postProcess - [line 178 - classes/controller/Controller.php] ControllerCore->run - [line 367 - classes/Dispatcher.php] DispatcherCore->dispatch - [line 58 - admin/index.php] oczywiście jeśli pominę kategorie przy imporcie to się produkty zaimportują ale także nie w całości. Edited September 29, 2015 by Kamil24 (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now