OJS 3.4.0-8 localhost can't currently handle this request. HTTP ERROR 500

Hello,

I’m new here and struggling to download OJS. I’ve gone through several previous troubleshooting chats, but the issue persists. I’ve included screenshots.
Thanks

OJS 3.4.0-8
PHP version: 8.0.30



Hi @Branka,

Are you able to check PHP error logs instead? These error messages usually provide more clues.

-Roger
PKP Team

1 Like

Hello,

Thank you for your response. Apache logs in my XAMPP control panel won’t open the php_log_error option (‘Notepad: the system can’t find the path specified’). Below is the screenshot from the Windows XAMPP directory. Many thanks, Branka

[Tue Jan 21 12:46:12.019514 2025] [ssl:warn] [pid 3224:tid 384] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Tue Jan 21 12:46:12.113253 2025] [ssl:warn] [pid 3224:tid 384] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Tue Jan 21 12:46:12.160139 2025] [mpm_winnt:notice] [pid 3224:tid 384] AH00455: Apache/2.4.58 (Win64) OpenSSL/3.1.3 PHP/8.0.30 configured – resuming normal operations
[Tue Jan 21 12:46:12.160139 2025] [mpm_winnt:notice] [pid 3224:tid 384] AH00456: Apache Lounge VS17 Server built: Oct 18 2023 13:03:18
[Tue Jan 21 12:46:12.160139 2025] [core:notice] [pid 3224:tid 384] AH00094: Command line: ‘C:\xampp\apache\bin\httpd.exe -d C:/xampp/apache’
[Tue Jan 21 12:46:12.175761 2025] [mpm_winnt:notice] [pid 3224:tid 384] AH00418: Parent: Created child process 2064
[Tue Jan 21 12:46:13.676177 2025] [ssl:warn] [pid 2064:tid 392] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Tue Jan 21 12:46:13.926189 2025] [ssl:warn] [pid 2064:tid 392] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Tue Jan 21 12:46:14.035569 2025] [mpm_winnt:notice] [pid 2064:tid 392] AH00354: Child: Starting 150 worker threads.
[Tue Jan 21 12:47:39.360655 2025] [ssl:warn] [pid 3160:tid 372] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Tue Jan 21 12:47:39.438781 2025] [ssl:warn] [pid 3160:tid 372] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Tue Jan 21 12:47:39.485669 2025] [mpm_winnt:notice] [pid 3160:tid 372] AH00455: Apache/2.4.58 (Win64) OpenSSL/3.1.3 PHP/8.0.30 configured – resuming normal operations
[Tue Jan 21 12:47:39.485669 2025] [mpm_winnt:notice] [pid 3160:tid 372] AH00456: Apache Lounge VS17 Server built: Oct 18 2023 13:03:18
[Tue Jan 21 12:47:39.485669 2025] [core:notice] [pid 3160:tid 372] AH00094: Command line: ‘c:\xampp\apache\bin\httpd.exe -d C:/xampp/apache’
[Tue Jan 21 12:47:39.501295 2025] [mpm_winnt:notice] [pid 3160:tid 372] AH00418: Parent: Created child process 7684
[Tue Jan 21 12:47:40.251721 2025] [ssl:warn] [pid 7684:tid 368] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Tue Jan 21 12:47:40.329809 2025] [ssl:warn] [pid 7684:tid 368] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Tue Jan 21 12:47:40.376684 2025] [mpm_winnt:notice] [pid 7684:tid 368] AH00354: Child: Starting 150 worker threads.
[Tue Jan 21 17:48:00.577952 2025] [php:error] [pid 7684:tid 1920] [client ::1:54633] PHP Fatal error: Uncaught Error: Class “Locale” not found in C:\xampp\htdocs\ojs-3.4.0-8\lib\pkp\classes\i18n\Locale.php:148\nStack trace:\n#0 C:\xampp\htdocs\ojs-3.4.0-8\lib\pkp\classes\i18n\Locale.php(130): PKP\i18n\Locale->setLocale(‘en’)\n#1 C:\xampp\htdocs\ojs-3.4.0-8\lib\pkp\lib\vendor\laravel\framework\src\Illuminate\Support\Facades\Facade.php(338): PKP\i18n\Locale->getLocale()\n#2 C:\xampp\htdocs\ojs-3.4.0-8\lib\pkp\classes\template\PKPTemplateManager.php(161): Illuminate\Support\Facades\Facade::__callStatic(‘getLocale’, Array)\n#3 C:\xampp\htdocs\ojs-3.4.0-8\classes\template\TemplateManager.php(40): PKP\template\PKPTemplateManager->initialize(Object(APP\core\Request))\n#4 C:\xampp\htdocs\ojs-3.4.0-8\lib\pkp\classes\template\PKPTemplateManager.php(1441): APP\template\TemplateManager->initialize(Object(APP\core\Request))\n#5 C:\xampp\htdocs\ojs-3.4.0-8\lib\pkp\classes\plugins\Plugin.php(403): PKP\template\PKPTemplateManager::getManager(Object(APP\core\Request))\n#6 C:\xampp\htdocs\ojs-3.4.0-8\lib\pkp\classes\plugins\Plugin.php(137): PKP\plugins\Plugin->_registerTemplateResource()\n#7 C:\xampp\htdocs\ojs-3.4.0-8\lib\pkp\classes\plugins\LazyLoadPlugin.php(34): PKP\plugins\Plugin->register(‘generic’, ‘plugins/generic…’, NULL)\n#8 C:\xampp\htdocs\ojs-3.4.0-8\plugins\generic\announcementFeed\AnnouncementFeedPlugin.php(35): PKP\plugins\LazyLoadPlugin->register(‘generic’, ‘plugins/generic…’, NULL)\n#9 C:\xampp\htdocs\ojs-3.4.0-8\lib\pkp\classes\plugins\PluginRegistry.php(76): APP\plugins\generic\announcementFeed\AnnouncementFeedPlugin->register(‘generic’, ‘plugins/generic…’, NULL)\n#10 C:\xampp\htdocs\ojs-3.4.0-8\lib\pkp\classes\plugins\PluginRegistry.php(121): PKP\plugins\PluginRegistry::register(‘generic’, Object(APP\plugins\generic\announcementFeed\AnnouncementFeedPlugin), ‘plugins/generic…’, NULL)\n#11 [internal function]: PKP\plugins\PluginRegistry::PKP\plugins\{closure}(Object(APP\plugins\generic\announcementFeed\AnnouncementFeedPlugin), ‘plugins/generic…’)\n#12 C:\xampp\htdocs\ojs-3.4.0-8\lib\pkp\classes\plugins\PluginRegistry.php(121): array_walk_recursive(Array, Object(Closure))\n#13 C:\xampp\htdocs\ojs-3.4.0-8\lib\pkp\classes\core\Dispatcher.php(155): PKP\plugins\PluginRegistry::loadCategory(‘generic’, true)\n#14 C:\xampp\htdocs\ojs-3.4.0-8\lib\pkp\classes\core\PKPApplication.php(395): PKP\core\Dispatcher->dispatch(Object(APP\core\Request))\n#15 C:\xampp\htdocs\ojs-3.4.0-8\index.php(21): PKP\core\PKPApplication->execute()\n#16 {main}\n thrown in C:\xampp\htdocs\ojs-3.4.0-8\lib\pkp\classes\i18n\Locale.php on line 148

@rcgillis is above what you required? Thanks

Hi @Branka,

The relevant message is…

Uncaught Error: Class “Locale” not found

See e.g.:

Regards,
Alec Smecher
Public Knowledge Project Team

@asmecher I have seen that thread before I opened a new post but I am not upgrading but installing for the first time. Also, My PHP environment is not missing the intl extension as far as I can see. What else can I check? Thanks

Hi @Branka,

Check your phpinfo page for something like this:


This should indicate that the intl extension is installed and working.

Regards,
Alec Smecher
Public Knowledge Project Team