Jump to content

The server returned a "500 Internal Server Error".


Recommended Posts

While doing a fresh installation of Prestashop 1.7, I get below error.

"Disabled Categories

Oops! An Error Occurred

The server returned a "500 Internal Server Error".

Something is broken. Please let us know what you were doing when this error occurred. We will fix it as soon as possible. Sorry for any inconvenience caused."

Β 

I am trying to fix the categories in

Dashboard > Design > Theme & Logo Β >Β Β Homepage Configuration >Β Create and manage Product Categories

Β 

Link to comment
Share on other sites

Nishith

Thanks for your reply.Β 

Β 

---- Below are the logs.Β 

LevelChannelMessage

DEBUG11:56:06doctrineSELECT name FROM ps_module WHERE active = 1

CRITICAL11:56:07phpCall to undefined function mb_split()

DEBUG11:56:07doctrineSELECT name FROM ps_module WHERE active = 1

CRITICAL11:56:07requestUncaught PHP Exception Symfony\Component\Debug\Exception\UndefinedFunctionException: "Attempted to call function "mb_split" from the global namespace." at /home/hhomart/public_html/vendor/smarty/smarty/libs/plugins/shared.mb_str_replace.php line 47

----Β Exception

Symfony\Component\Debug\Exception\UndefinedFunctionException

inΒ vendor/smarty/smarty/libs/plugins/shared.mb_str_replace.phpΒ (line 47)

smarty_mb_str_replace('&', '&', '')inΒ vendor/smarty/smarty/libs/plugins/modifier.replace.phpΒ (line 34)

smarty_modifier_replace('', '&', '&')inΒ var/cache/dev/smarty/compile/b1/fd/17/b1fd17b446ce0ac0485e09ab0873cfdf519e3df6_0.file.kpi.tpl.phpΒ (line 47)

content_5d3a9cff04c089_63198879(object(Smarty_Internal_Template))inΒ vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.phpΒ (line 123)

Smarty_Template_Resource_Base->getRenderedTemplateCode(object(Smarty_Internal_Template))inΒ vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.phpΒ (line 114)

Smarty_Template_Compiled->render(object(Smarty_Internal_Template))inΒ vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.phpΒ (line 216)

Smarty_Internal_Template->render(false, 0)inΒ vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.phpΒ (line 232)

Smarty_Internal_TemplateBase->_execute(object(Smarty_Internal_Template),Β null,Β null,Β null, 0)inΒ vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.phpΒ (line 116)

Smarty_Internal_TemplateBase->fetch()inΒ classes/helper/HelperKpi.phpΒ (line 63)

Β Β Β Β Β Β Β Β Β Β Β Β 'refresh'Β =>Β $this->refresh,

Β Β Β Β Β Β Β Β Β Β Β Β 'href'Β =>Β $this->href,

Β Β Β Β Β Β Β Β Β Β Β Β 'tooltip'Β =>Β $this->tooltip,

Β Β Β Β Β Β Β Β ));

Β Β Β Β Β Β Β Β returnΒ $this->tpl->fetch();

Β Β Β Β }

}

HelperKpiCore->generate()inΒ controllers/admin/AdminCategoriesController.phpΒ (line 399)

AdminCategoriesControllerCore->renderKpis()inΒ classes/controller/AdminController.phpΒ (line 2102)

AdminControllerCore->initContent()inΒ controllers/admin/AdminCategoriesController.phpΒ (line 201)

AdminCategoriesControllerCore->initContent()inΒ classes/controller/Controller.phpΒ (line 281)

ControllerCore->run()inΒ classes/Dispatcher.phpΒ (line 511)

DispatcherCore->dispatch()inΒ admin188mve7gz/index.phpΒ (line 99)

Β 

I am not a technical person, just using Prestashop for a small store. Recently I upgraded to PS 1.7 and facing this problem. You may connect with WhatsApp /Phone **** use Personal Message for this ****

Awaiting your reply.Β 

Link to comment
Share on other sites

On 7/26/2019 at 12:06 PM, nraulji said:

CRITICAL11:56:07phpCall to undefined function mb_splitο»Ώ(ο»Ώ)ο»Ώο»Ώο»Ώ

You are getting a php error function mb_split( ). You can update your php version to solve this issue. What is you current php version? With prestashop 1.7 its best to use php 7 or higher.

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

  • 10 months later...

HI!

НС съм СкспСрт ΠΏΠΎ ΠΊΠΎΠ΄ΠΎΠ²Π΅ ΠΈ ΠΈΠΌΠ°ΠΌ Π½ΡƒΠΆΠ΄Π° ΠΎΡ‚ ΡΡŠΠ²Π΅Ρ‚. Как ΠΌΠΎΠ³Π° Π΄Π° поправя Ρ‚Π°Π·ΠΈ Π³Ρ€Π΅ΡˆΠΊΠ°

Β 

please help!

Β 

Ами сСга! Π’ΡŠΠ·Π½ΠΈΠΊΠ½Π° Π³Ρ€Π΅ΡˆΠΊΠ°

Π‘ΡŠΡ€Π²ΡŠΡ€ΡŠΡ‚ Π²ΡŠΡ€Π½Π° "500 Π²ΡŠΡ‚Ρ€Π΅ΡˆΠ½Π° Π³Ρ€Π΅ΡˆΠΊΠ° Π² ΡΡŠΡ€Π²ΡŠΡ€Π°".

НСщо Π΅ счупСно. Моля, ΡƒΠ²Π΅Π΄ΠΎΠΌΠ΅Ρ‚Π΅ Π½ΠΈ ΠΊΠ°ΠΊΠ²ΠΎ ΠΏΡ€Π°Π²ΠΈΡ‚Π΅, ΠΊΠΎΠ³Π°Ρ‚ΠΎ възникна Ρ‚Π°Π·ΠΈ Π³Ρ€Π΅ΡˆΠΊΠ°. НиС Ρ‰Π΅ Π³ΠΎ ΠΏΠΎΠΏΡ€Π°Π²ΠΈΠΌ възмоТно Π½Π°ΠΉ-скоро. БъТалявамС Π·Π° ΠΏΡ€ΠΈΡ‡ΠΈΠ½Π΅Π½ΠΎΡ‚ΠΎ нСудобство.

Β 

Β 

Β 

(1/1) ContextErrorException

ΠŸΡ€Π΅Π΄ΡƒΠΏΡ€Π΅ΠΆΠ΄Π΅Π½ΠΈΠ΅: ΠΏΡ€Π΅Π²ΠΊΠ»ΡŽΡ‡Π²Π°Ρ‚Π΅Π»ΡΡ‚ Π·Π° насочванС β€žΠΏΡ€ΠΎΠ΄ΡŠΠ»ΠΆΠΈβ€œ Π΅ Π΅ΠΊΠ²ΠΈΠ²Π°Π»Π΅Π½Ρ‚Π΅Π½ Π½Π° β€žΠΏΡ€Π΅ΠΊΡŠΡΠ²Π°Π½Π΅β€œ. Π˜ΡΠΊΠ°Ρ…Ρ‚Π΅ Π»ΠΈ Π΄Π° ΠΈΠ·ΠΏΠΎΠ»Π·Π²Π°Ρ‚Π΅ "ΠΏΡ€ΠΎΠ΄ΡŠΠ»ΠΆΠΈ 2"?

в линия 2636 UnitOfWork.php

ΠΏΡ€ΠΈ ErrorHandler-> handleError (2, "" ΠΏΡ€ΠΎΠ΄ΡŠΠ»ΠΆΠΈ "ΠΏΡ€Π΅Π²ΠΊΠ»ΡŽΡ‡Π²Π°Ρ‚Π΅Π» Π·Π° насочванС Π΅ Π΅ΠΊΠ²ΠΈΠ²Π°Π»Π΅Π½Ρ‚Π΅Π½ Π½Π°" ΠΏΡ€Π΅ΠΊΡŠΡΠ²Π°Π½Π΅ ". Π˜ΡΠΊΠ°Ρ…Ρ‚Π΅ Π»ΠΈ Π΄Π° ΠΈΠ·ΠΏΠΎΠ»Π·Π²Π°Ρ‚Π΅" ΠΏΡ€ΠΎΠ΄ΡŠΠ»ΠΆΠΈ 2 "?", "/ home / petstoy1 / public_html / vendor / doctrine / orm / lib / Doctrine /ORM/UnitOfWork.php ', 2636, array (' class '=>' Π£Ρ‡Π΅Π½ΠΈΠ΅ \\ ORM \\ UnitOfWork ',' e '=> 32767,' file '=>' / home / petstoy1 / public_html / vendor / composer /../doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php'))in DebugClassLoader.php линия 156

ΠΏΡ€ΠΈ изискванС () Π² DebugClassLoader.php линия 156

Π² DebugClassLoader-> loadClass ('Π£Ρ‡Π΅Π½ΠΈΠ΅ \\ ORM \\ UnitOfWork')

Π² spl_autoload_call ("Π£Ρ‡Π΅Π½ΠΈΠ΅ \\ ORM \\ UnitOfWork") Π² линия 160 EntityManager.php

Π² EntityManager -> __ конструкт (ΠΎΠ±Π΅ΠΊΡ‚ (Π’Ρ€ΡŠΠ·ΠΊΠ°), ΠΎΠ±Π΅ΠΊΡ‚ (ΠšΠΎΠ½Ρ„ΠΈΠ³ΡƒΡ€Π°Ρ†ΠΈΡ), ΠΎΠ±Π΅ΠΊΡ‚ (ContainerAwareEventManager)) Π² линия 850 EntityManager.php

Π² EntityManager :: create (ΠΎΠ±Π΅ΠΊΡ‚ (Π’Ρ€ΡŠΠ·ΠΊΠ°), ΠΎΠ±Π΅ΠΊΡ‚ (ΠšΠΎΠ½Ρ„ΠΈΠ³ΡƒΡ€Π°Ρ†ΠΈΡ)) Π² линия appDevDebugProjectContainer.php 1826

в appDevDebugProjectContainer-> getDoctrine_Orm_DefaultEntityManagerService () в getPrestashop_Translation_DatabaseLoaderService.php линия 8

по изискванС ('/ home / petstoy1 / public_html / var / cache / dev / ContainerQ1h8xew / getPrestashop_Translation_DatabaseLoaderService.php') в appDevDebugProjectContainer.php линия 1722

в appDevDebugProjectContainer-> load ('getPrestashop_Translation_DatabaseLoaderService.php') в appDevDebugProjectContainer.php линия 3750

Π² appDevDebugProjectContainer-> ContainerQ1h8xew \ {closure} () Π² ServiceLocator.php Ρ€Π΅Π΄ 64

в ServiceLocator-> get ('prestashop.translation.database_loader') в Translator.php линия 141

в Translator-> Initialize () в Translator.php линия 127

в Translator-> InitializeCatalogue ('bg-BG') в Translator.php линия 314

Π² Translator-> dumpCatalogue ('bg-BG', ΠΎΠ±Π΅ΠΊΡ‚ (ResourceCheckerConfigCache)) Π² Translator.php линия 299

Π² Translator-> Symfony \ Component \ Translation \ {closure} (ΠΎΠ±Π΅ΠΊΡ‚ (ResourceCheckerConfigCache)) Π² ResourceCheckerConfigCacheFactory.php Ρ€Π΅Π΄ 43

Π² ResourceCheckerConfigCacheFactory-> кСш ('/ home / petstoy1 / public_html / var / cache / dev / ΠΏΡ€Π΅Π²ΠΎΠ΄ΠΈ / Catalogue.bg-BG.L8dqxxF.php', ΠΎΠ±Π΅ΠΊΡ‚ (ЗатварянС)) Π² Translator.php Ρ€Π΅Π΄ 300

в Translator-> InitializeCacheCatalogue ('bg-BG') в Translator.php линия 265

в Translator-> loadCatalogue ('bg-BG') в Translator.php линия 241

в Translator-> getCatalogue ('bg-BG') в Translator.php линия 198

Π² Translator-> trans ('УспСшно ΠΈΠ·Ρ‚Ρ€ΠΈΠ²Π°Π½Π΅.', array (), 'AdminNotificationsSuccess', null) Π² PrestaShopTranslatorTrait.php Ρ€Π΅Π΄ 57

Π² Translator-> trans ('УспСшно ΠΈΠ·Ρ‚Ρ€ΠΈΠ²Π°Π½Π΅.', array (), 'AdminNotificationsSuccess', null) Π² Ρ€Π΅Π΄ LoggingTranslator.php 48

Π² LoggingTranslator-> trans ('УспСшно ΠΈΠ·Ρ‚Ρ€ΠΈΠ²Π°Π½Π΅.', array (), 'AdminNotificationsSuccess', null) Π² DataCollectorTranslator.php Ρ€Π΅Π΄ 50

Π² DataCollectorTranslator-> trans ('УспСшно ΠΈΠ·Ρ‚Ρ€ΠΈΠ²Π°Π½Π΅.', array (), 'AdminNotificationsSuccess', null) Π² PrestaShopTranslatorTrait.php Ρ€Π΅Π΄ 57

Π² DataCollectorTranslator-> trans ('УспСшно ΠΈΠ·Ρ‚Ρ€ΠΈΠ²Π°Π½Π΅.', array (), 'Admin.Notifications.Success', null) Π² Controller.php линия 324

Π² ControllerCore-> trans ('УспСшно ΠΈΠ·Ρ‚Ρ€ΠΈΠ²Π°Π½Π΅.', array ('legacy' => 'htmlspecialchars'), 'Admin.Notifications.Success') Π² AdminController.php линия 466

в AdminControllerCore -> __ construct () в LegacyContext.php линия 85

в LegacyContext-> getContext () в UserLocaleListener.php линия 39

Π² UserLocaleListener -> __ конструкт (ΠΎΠ±Π΅ΠΊΡ‚ (LegacyContext)) Π² appDevDebugProjectContainer.php линия 2396

в appDevDebugProjectContainer-> getPrestashop_UserLocale_ListenerService () в appDevDebugProjectContainer.php линия 2883

в appDevDebugProjectContainer-> ContainerQ1h8xew \ {closure} () в линия на EventDispatcher.php 229

в EventDispatcher-> sortListeners ('kernel.request') в EventDispatcher.php линия 61

в EventDispatcher-> getListeners ('kernel.request') в ContainerAwareEventDispatcher.php линия 128

в ContainerAwareEventDispatcher-> getListeners ('kernel.request') в TraceableEventDispatcher.php линия 262

в TraceableEventDispatcher-> preProcess ('kernel.request') в TraceableEventDispatcher.php линия 137

Π² TraceableEventDispatcher-> dispatch ('kernel.request', ΠΎΠ±Π΅ΠΊΡ‚ (GetResponseEvent)) Π² HttpKernel.php линия 127

Π² HttpKernel-> handleRaw (ΠΎΠ±Π΅ΠΊΡ‚ (Заявка), 1) Π² линия 68 Π½Π° HttpKernel.php

Π² HttpKernel-> Π΄Ρ€ΡŠΠΆΠΊΠ° (ΠΎΠ±Π΅ΠΊΡ‚ (Заявка), 1, нСвярно) Π² линия 200 Π½Π° Kernel.php

ΠΏΡ€ΠΈ Kernel-> Π΄Ρ€ΡŠΠΆΠΊΠ° (ΠΎΠ±Π΅ΠΊΡ‚ (Заявка), 1, нСвярно) Π² index.php Ρ€Π΅Π΄ 86

Link to comment
Share on other sites

  • 2 weeks later...

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...