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