OJS 3.4.0-5 en EC2 AWS

Hola, he tratado de instalar ojs 3.4.0-5 en AWS en EC2, pero al importar ojs y entrar al sitio, me marca este error.
Fatal error : Uncaught Error: Class “Locale” not found in /var/www/medicinaclinica.ipao.com.mx/public_html/lib/pkp/classes/i18n/Locale.php:148 Stack trace: #0 /var/www/medicinaclinica.ipao.com.mx/public_html/lib/pkp/classes/i18n/Locale.php(130): PKP\i18n\Locale->setLocale() #1 /var/www/medicinaclinica.ipao.com.mx/public_html/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(338): PKP\i18n\Locale->getLocale() #2 /var/www/medicinaclinica.ipao.com.mx/public_html/lib/pkp/classes/template/PKPTemplateManager.php(162): Illuminate\Support\Facades\Facade::__callStatic() #3 /var/www/medicinaclinica.ipao.com.mx/public_html/classes/template/TemplateManager.php(40): PKP\template\PKPTemplateManager->initialize() #4 /var/www/medicinaclinica.ipao.com.mx/public_html/lib/pkp/classes/template/PKPTemplateManager.php(1437): APP\template\TemplateManager->initialize() #5 /var/www/medicinaclinica.ipao.com.mx/public_html/lib/pkp/classes/plugins/Plugin.php(403): PKP\template\PKPTemplateManager::getManager() #6 /var/www/medicinaclinica.ipao.com.mx/public_html/lib/pkp/classes/plugins/Plugin.php(137): PKP\plugins\Plugin->_registerTemplateResource() #7 /var/www/medicinaclinica.ipao.com.mx/public_html/lib/pkp/classes/plugins/LazyLoadPlugin.php(34): PKP\plugins\Plugin->register() #8 /var/www/medicinaclinica.ipao.com.mx/public_html/plugins/generic/pdfJsViewer/PdfJsViewerPlugin.php(31): PKP\plugins\LazyLoadPlugin->register() #9 /var/www/medicinaclinica.ipao.com.mx/public_html/lib/pkp/classes/plugins/PluginRegistry.php(76): APP\plugins\generic\pdfJsViewer\PdfJsViewerPlugin->register() #10 /var/www/medicinaclinica.ipao.com.mx/public_html/lib/pkp/classes/plugins/PluginRegistry.php(121): PKP\plugins\PluginRegistry::register() #11 [internal function]: PKP\plugins\PluginRegistry::PKP\plugins{closure}() #12 /var/www/medicinaclinica.ipao.com.mx/public_html/lib/pkp/classes/plugins/PluginRegistry.php(121): array_walk_recursive() #13 /var/www/medicinaclinica.ipao.com.mx/public_html/lib/pkp/classes/core/Dispatcher.php(155): PKP\plugins\PluginRegistry::loadCategory() #14 /var/www/medicinaclinica.ipao.com.mx/public_html/lib/pkp/classes/core/PKPApplication.php(388): PKP\core\Dispatcher->dispatch() #15 /var/www/medicinaclinica.ipao.com.mx/public_html/index.php(21): PKP\core\PKPApplication->execute() #16 {main} thrown in /var/www/medicinaclinica.ipao.com.mx/public_html/lib/pkp/classes/i18n/Locale.php on line 148

Gracias

Hi @luismurillo,

See e.g.: Failed to Update to OJS 3.4.0.6 Gives Error 500

Regards,
Alec Smecher
Public Knowledge Project Team

Gracias,
instalé y active el módulo intl y cambió el error. Ahora tengo un problema con Vendor y smarty.
Instalé ojs con .tar.gz

Fatal error : Uncaught Error: Call to undefined function mb_regex_encoding() in /var/www/medicinaclinica.ipao.com.mx/public_html/lib/pkp/lib/vendor/smarty/smarty/libs/plugins/shared.mb_str_replace.php:47 Stack trace: #0 /var/www/medicinaclinica.ipao.com.mx/public_html/lib/pkp/lib/vendor/smarty/smarty/libs/plugins/modifier.replace.php(34): smarty_mb_str_replace() #1 /var/www/medicinaclinica.ipao.com.mx/public_html/cache/t_compile/13376d7934b5f251160733e5e3c8b2ff6a1e1f24^164bd5a4f3891532cf93e9d19911fe9cb3308efd_0.app.layoutsbackend.tpl.php(31): smarty_modifier_replace() #2 /var/www/medicinaclinica.ipao.com.mx/public_html/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_66f45243813401_20584547() #3 /var/www/medicinaclinica.ipao.com.mx/public_html/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode() #4 /var/www/medicinaclinica.ipao.com.mx/public_html/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(217): Smarty_Template_Compiled->render() #5 /var/www/medicinaclinica.ipao.com.mx/public_html/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(386): Smarty_Internal_Template->render() #6 /var/www/medicinaclinica.ipao.com.mx/public_html/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(115): Smarty_Internal_Template->_subTemplateRender() #7 /var/www/medicinaclinica.ipao.com.mx/public_html/cache/t_compile/13376d7934b5f251160733e5e3c8b2ff6a1e1f24^8e26d4d5b957a6848a96c58ac27d2fddb2c40f9a_0.app.installinstall.tpl.php(34): Smarty_Internal_Runtime_Inheritance->endChild() #8 /var/www/medicinaclinica.ipao.com.mx/public_html/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_66f452437ba6c7_83432018() #9 /var/www/medicinaclinica.ipao.com.mx/public_html/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode() #10 /var/www/medicinaclinica.ipao.com.mx/public_html/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(217): Smarty_Template_Compiled->render() #11 /var/www/medicinaclinica.ipao.com.mx/public_html/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(238): Smarty_Internal_Template->render() #12 /var/www/medicinaclinica.ipao.com.mx/public_html/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(134): Smarty_Internal_TemplateBase->_execute() #13 /var/www/medicinaclinica.ipao.com.mx/public_html/lib/pkp/classes/template/PKPTemplateManager.php(1368): Smarty_Internal_TemplateBase->display() #14 /var/www/medicinaclinica.ipao.com.mx/public_html/lib/pkp/classes/form/Form.php(214): PKP\template\PKPTemplateManager->display() #15 /var/www/medicinaclinica.ipao.com.mx/public_html/lib/pkp/classes/form/Form.php(156): PKP\form\Form->fetch() #16 /var/www/medicinaclinica.ipao.com.mx/public_html/lib/pkp/classes/install/form/MaintenanceForm.php(50): PKP\form\Form->display() #17 /var/www/medicinaclinica.ipao.com.mx/public_html/lib/pkp/classes/install/form/InstallForm.php(122): PKP\install\form\MaintenanceForm->display() #18 /var/www/medicinaclinica.ipao.com.mx/public_html/lib/pkp/pages/install/InstallHandler.php(58): PKP\install\form\InstallForm->display() #19 [internal function]: PKP\pages\install\InstallHandler->index() #20 /var/www/medicinaclinica.ipao.com.mx/public_html/lib/pkp/classes/core/PKPRouter.php(334): call_user_func() #21 /var/www/medicinaclinica.ipao.com.mx/public_html/lib/pkp/classes/core/PKPPageRouter.php(277): PKP\core\PKPRouter->_authorizeInitializeAndCallRequest() #22 /var/www/medicinaclinica.ipao.com.mx/public_html/lib/pkp/classes/core/Dispatcher.php(165): PKP\core\PKPPageRouter->route() #23 /var/www/medicinaclinica.ipao.com.mx/public_html/lib/pkp/classes/core/PKPApplication.php(388): PKP\core\Dispatcher->dispatch() #24 /var/www/medicinaclinica.ipao.com.mx/public_html/index.php(21): PKP\core\PKPApplication->execute() #25 {main} thrown in /var/www/medicinaclinica.ipao.com.mx/public_html/lib/pkp/lib/vendor/smarty/smarty/libs/plugins/shared.mb_str_replace.php on line 47

Hi @luismurillo,

See: Error after upgrade from 3.3.0.13 to 3.4.0.1

(Please try to search the initial message in the forum before posting – you’ll usually find an answer!)

Regards,
Alec Smecher
Public Knowledge Project Team

Una disculpa por eso. Ya quedo todo sulucionado, muchas gracias

1 Like

Hola Luis! ¿puedes compartir como lo solucionaste para que quede registro y pueda ayudar a otros de la comunidad?
Saludos!

Hola, solo seguí las indicaciones de asmecher y active mbstring PHP extension, una vez activo (enabled), todo funcionó bien.

1 Like

This topic was automatically closed after 11 days. New replies are no longer allowed.