Buen día estimados-as. Tengo error al ingresar al administrador.
Ni bien termino de instalar el OJS 3.4.0.3, al loguearme con la cuenta administrador creada, me sale el error como en la imagen a continuación.
Lo mismo me sucedió con el OJS 3.4.0.1, creo q he visto ese problema con otras versiones.
El entorno que instalo el OJS es en windows server 2016, apache2.4, php 8.2, mysql. y en wmware.
Por favor agradeceré me den a solución, evitar comentarios sobre revisar errores de php, porque ya he visto varios comentarios de esos que no aportan.
Gracias
Hola Guillermo, buen día. Te comparto una solución que funcionó para nosotros en un entorno similar, sin embargo, lo ideal es aborar logs de tu entorno para encontrar orientaciones específicas. Me avisas si funciona o no:
El problema era la falta de “CA root certificate” y luego configurarlo en php.ini
1 Like
Muchas gracias mi estimado Ppantaleo. 
Debido a su sugerencia de solución, lo que hice, “Luego de una ardua búsqueda de información y pruebas” fue activar el certificado de seguridad del mis Windows “Active Directory”. Me guié del siguiente video: https://www.youtube.com/watch?v=K65MTtuqais&list=LL&index=1&t=1s
Luego, me descargué el archivo de certificados curl, " cacert.pem" y lo configuré en el php.ini.
Los pasos fueron los siguientes:
- Inicialmente, descargue cacert.pem. de
https://curl.haxx.se/ca/cacert.pem
- Agregue la siguiente línea a php.ini:
curl.cainfo=“c:/curl/cacert.pem”
Para esto, el archivo descargado lo guardé en una carpeta creada en el C:/ con nombre curl
- Reinicie PHP (apache2.4) en cmd: httpd -k restart
Ahora, CURL puede leer la URL HTTPS sin ningún error.
Luego de hacer estas indicaciones, pude acceder al administrador del OJS 3.4 con normalidad.
Espero pueda aportar a la comunidad las siguientes indicaciones.
Saludos a todos y éxitos.
2 Likes
Me alegro Guillermo que funcione ahora. Un saludo.
Hola buenas noches, tengo un problema similar, espero puedan ayudarme, actualice de OJS 3.3.0.11 a OJS 3.3.0.15 directamente y las páginas de Revista y Administración no las puedo visualizar, mi entorno es un CentOS Stream 8, PHP 8.0.20, MySQL mysql-community-server-5.7.43-1.el7.x86_64 y mysql-community-client-5.7.43-1.el7.x86_64 y httpd-2.4.37-62.module_el8
Está página es lo más cercano al problema que tengo, espero me puedan proporcionar algo de información.
Hola, ¿puedes comentarnos qué muestran los logs?
Una disculpa por responder hasta ahora, estaba cambiando de distribución de GNU/Linux: use Rocky Lnux 8.8 con Php 7.4, MySQL 5.7 y httpd-2.4.37-56.module+el8.8, el resulta es el mismo, no puedo ver la página de administración y la de revista. El error_log en Rocky no regista nada:
tail -f /var/log/httpd/error_log
[Mon Oct 09 13:17:27.094401 2023] [suexec:notice] [pid 2110:tid 140615378131264] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Mon Oct 09 13:17:27.128572 2023] [lbmethod_heartbeat:notice] [pid 2110:tid 140615378131264] AH02282: No slotmem from mod_heartmonitor
[Mon Oct 09 13:17:27.136272 2023] [mpm_event:notice] [pid 2110:tid 140615378131264] AH00489: Apache/2.4.37 (rocky) OpenSSL/1.1.1k mod_fcgid/2.3.9 configured – resuming normal operations
[Mon Oct 09 13:17:27.136320 2023] [core:notice] [pid 2110:tid 140615378131264] AH00094: Command line: ‘/usr/sbin/httpd -D FOREGROUND’
[Mon Oct 09 13:22:33.690236 2023] [mpm_event:notice] [pid 2110:tid 140615378131264] AH00492: caught SIGWINCH, shutting down gracefully
[Mon Oct 09 13:22:39.850314 2023] [core:notice] [pid 2671:tid 139672608229696] SELinux policy enabled; httpd running as context system_u:system_r:httpd_t:s0
[Mon Oct 09 13:22:39.851626 2023] [suexec:notice] [pid 2671:tid 139672608229696] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Mon Oct 09 13:22:39.899491 2023] [lbmethod_heartbeat:notice] [pid 2671:tid 139672608229696] AH02282: No slotmem from mod_heartmonitor
[Mon Oct 09 13:22:39.910341 2023] [mpm_event:notice] [pid 2671:tid 139672608229696] AH00489: Apache/2.4.37 (rocky) OpenSSL/1.1.1k mod_fcgid/2.3.9 configured – resuming normal operations
[Mon Oct 09 13:22:39.910384 2023] [core:notice] [pid 2671:tid 139672608229696] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND
tail -f /var/log/httpd/access_log
168.192.1.100 - - [09/Oct/2023:13:36:06 -0400] “GET /plugins/themes/default/js/lib/bootstrap/dropdown.js?v=3.3.0.11 HTTP/1.1” 200 13932 “http://168.192.1.200/index.php/e-Cucba” “Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/118.0”
168.192.1.100 - - [09/Oct/2023:13:36:06 -0400] “GET /lib/pkp/lib/vendor/components/jqueryui/jquery-ui.min.js?v=3.3.0.11 HTTP/1.1” 200 253669 “http://168.192.1.200/index.php/e-Cucba” “Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/118.0”
168.192.1.100 - - [09/Oct/2023:13:36:06 -0400] “GET /plugins/themes/default/js/main.js?v=3.3.0.11 HTTP/1.1” 200 3160 “http://168.192.1.200/index.php/e-Cucba” “Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/118.0”
168.192.1.100 - - [09/Oct/2023:13:36:06 -0400] “GET /index.php/e-Cucba/$$$call$$$/page/page/css?name=stylesheet HTTP/1.1” 200 64454 “http://168.192.1.200/index.php/e-Cucba” “Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/118.0”
168.192.1.100 - - [09/Oct/2023:13:36:06 -0400] “GET /index.php/e-Cucba/$$$call$$$/page/page/css?name=font HTTP/1.1” 200 4446 “http://168.192.1.200/index.php/e-Cucba” “Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/118.0”
168.192.1.100 - - [09/Oct/2023:13:36:07 -0400] “GET /templates/images/ojs_brand.png HTTP/1.1” 200 13150 “http://168.192.1.200/index.php/e-Cucba” “Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/118.0”
168.192.1.100 - - [09/Oct/2023:13:36:07 -0400] “GET /public/journals/1/pageHeaderLogoImage_es_ES.png HTTP/1.1” 200 236962 “http://168.192.1.200/index.php/e-Cucba” “Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/118.0”
168.192.1.100 - - [09/Oct/2023:13:36:07 -0400] “GET /public/journals/1/homepageImage_es_ES.png HTTP/1.1” 200 1486669 “http://168.192.1.200/index.php/e-Cucba” “Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/118.0”
168.192.1.100 - - [09/Oct/2023:13:36:07 -0400] “GET /lib/pkp/styles/fontawesome/fontawesome-webfont.woff2?v=4.7.0 HTTP/1.1” 200 77160 “http://168.192.1.200/lib/pkp/styles/fontawesome/fontawesome.css?v=3.3.0.11” “Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/118.0”
168.192.1.100 - - [09/Oct/2023:13:36:07 -0400] “GET /public/journals/1/cover_issue_26_es_ES.png HTTP/1.1” 200 1054290 “http://168.192.1.200/index.php/e-Cucba” “Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/118.0”
tail -f /var/log/php-fpm/error.log
[06-Oct-2023 14:28:39] NOTICE: fpm is running, pid 4773
[06-Oct-2023 14:28:39] NOTICE: ready to handle connections
[06-Oct-2023 14:28:39] NOTICE: systemd monitor interval set to 10000ms
[06-Oct-2023 18:44:11] NOTICE: Terminating …
[06-Oct-2023 18:44:11] NOTICE: exiting, bye-bye!
[09-Oct-2023 12:34:56] NOTICE: fpm is running, pid 816
[09-Oct-2023 12:34:56] NOTICE: ready to handle connections
[09-Oct-2023 12:34:56] NOTICE: systemd monitor interval set to 10000ms
tail -f /var/log/php-fpm/www-error.log
[09-Oct-2023 17:36:07 UTC] PHP 10. PKPTemplateManager::getManager() /var/www/html/e-cucba/lib/pkp/classes/plugins/Plugin.inc.php:359
[09-Oct-2023 17:36:07 UTC] PHP 11. PluginRegistry::loadCategory() /var/www/html/e-cucba/lib/pkp/classes/template/PKPTemplateManager.inc.php:1245
[09-Oct-2023 17:36:07 UTC] PHP 12. HookRegistry::call() /var/www/html/e-cucba/lib/pkp/classes/plugins/PluginRegistry.inc.php:152
[09-Oct-2023 17:36:07 UTC] PHP 13. DefaultThemePlugin->themeRegistered() /var/www/html/e-cucba/lib/pkp/classes/plugins/HookRegistry.inc.php:107
[09-Oct-2023 17:36:07 UTC] PHP 14. DefaultThemePlugin->init() /var/www/html/e-cucba/lib/pkp/classes/plugins/ThemePlugin.inc.php:106
[09-Oct-2023 17:36:07 UTC] PHP 15. DefaultThemePlugin->getOption() /var/www/html/e-cucba/plugins/themes/default/DefaultThemePlugin.inc.php:108
[09-Oct-2023 17:36:07 UTC] PHP 16. DefaultThemePlugin->getOptionValues() /var/www/html/e-cucba/lib/pkp/classes/plugins/ThemePlugin.inc.php:447
[09-Oct-2023 17:36:07 UTC] PHP 17. PluginSettingsDAO->getPluginSettings() /var/www/html/e-cucba/lib/pkp/classes/plugins/ThemePlugin.inc.php:551
[09-Oct-2023 17:36:07 UTC] PHP 18. FileCache->setEntireCache() /var/www/html/e-cucba/lib/pkp/classes/plugins/PluginSettingsDAO.inc.php:117
[09-Oct-2023 17:36:07 UTC] PHP 19. file_put_contents() /var/www/html/e-cucba/lib/pkp/classes/cache/FileCache.inc.php:90
¿Alguna idea de por que está sucediendo esto?, ya he buscado información sobre esto y no encuentro nada. Agradeceré infinitamente la ayuda para su solución. Saludos.
Buscando encontré está página: https://openjournaltheme.com/ojs-white-screen-of-death-wsd-how-to-fix-it y habilite display_errors = On, en las páginas que me da error 500 aparece lo siguiente:
Warning: file_put_contents(/var/www/html/e-cucba/cache/fc-pluginSettings-0-defaultthemeplugin.php): failed to open stream: Permiso denegado in /var/www/html/e-cucba/lib/pkp/classes/cache/FileCache.inc.php on line 90
Warning: file_put_contents(/var/www/html/e-cucba/cache/fc-pluginSettings-0-recommendbyauthorplugin.php): failed to open stream: Permiso denegado in /var/www/html/e-cucba/lib/pkp/classes/cache/FileCache.inc.php on line 90
Fatal error: Uncaught GuzzleHttp\Exception\ConnectException: cURL error 7: (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) in /var/www/html/e-cucba/lib/pkp/lib/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php on line 200
Fatal error: Uncaught GuzzleHttp\Exception\ConnectException: cURL error 7: (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) in /var/www/html/e-cucba/lib/pkp/lib/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php on line 200
Y con esto creo que encontré el error, SELINUX es quien me esta bloqueado las páginas, lo deshabilite y ya puedo ver las páginas.
1 Like
buenas tengo ese mismo error en mi ojs, como deshabilito SELINUX
[Tue Jul 09 14:25:30.685032 2024] [php7:error] [pid 38622] [client 10.30.0.17:59386] PHP Fatal error: Uncaught GuzzleHttp\Exception\ConnectException: cURL error 6: Could not resolve host: pkp.sfu.ca (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) in /var/www/html/ojs/lib/pkp/lib/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php:200\nStack trace:\n#0 /var/www/html/ojs/lib/pkp/lib/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php(155): GuzzleHttp\Handler\CurlFactory::createRejection()\n#1 /var/www/html/ojs/lib/pkp/lib/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php(105): GuzzleHttp\Handler\CurlFactory::finishError()\n#2 /var/www/html/ojs/lib/pkp/lib/vendor/guzzlehttp/guzzle/src/Handler/CurlHandler.php(43): GuzzleHttp\Handler\CurlFactory::finish()\n#3 /var/www/html/ojs/lib/pkp/lib/vendor/guzzlehttp/guzzle/src/Handler/Proxy.php(28): GuzzleHttp\Handler\CurlHandler->__invoke()\n#4 /var/www/html/ojs/lib/pkp/lib/vendor/guzzlehttp/guzzle/src/Handler/Proxy.php(51): GuzzleHttp\Handler\Proxy::GuzzleHttp\Handler\{closure}()\n#5 /var/www/html/ojs/lib/pkp/lib/vendor/guzzlehttp/guzzle/src/PrepareBodyMiddleware.p in /var/www/html/ojs/lib/pkp/lib/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php on line 200,