Jump to content

Bład 500 po próbach importu kategori ze store managera


pawelsocha78

Recommended Posts

Witam,

 

Po kilku próbach mapowania kategorii przy imporcie kategorii do presty 1.6.1.0 we FO dostaje

500 Server Error

Oops, 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

Pokazuje takie coś:

 

[PrestaShopException]

Invalid product vars
at 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;
Link to comment
Share on other sites

  • 1 month later...

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_category

Notice 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_category

Notice 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 exist
at line 397 in file classes/Category.php

392. 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. /**

 

 

 

oczywiście jeśli pominę kategorie przy imporcie to się produkty zaimportują ale także nie w całości.

Edited by Kamil24 (see edit history)
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...