Hello, I am using Windows 10 and XAMPP to install OJS.
I am using PHP 7.2.3, with pdo_mysql and pdo_sqlite enabled.
I installed OJS by first adding “authorised” user via the phpMyAdmin page.
Then when I clicked “Create Journal”, the Console sends this warning
The others were hidden but the most obvious one is
jquery.js:9627 [Deprecation] Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check https://xhr.spec.whatwg.org/.
Which then points to here
xhr.open( options.type, options.url, options.async, options.username, options.password );
After I fill in the fields and went on clicking “SAVE”, it loads indefinitely and gives the following error message
jquery.js:9666 POST http://localhost/ojs/index.php/index/$$$call$$$/grid/admin/journal/journal-grid/update-context 500 (Internal Server Error)
Which points to here
xhr.send( ( options.hasContent && options.data ) || null );
Then I clicked on “CANCEL” and refreshed the page
The journal is created, but…
It doesn’t have any JS in it, only the html.
But the database exists
I apologise that English is not my mother tongue, and I don’t have any educational background nor professional experience with IT and Web programming before. But I have followed the required steps which brings me here. Any help will much be appreciated.
layoland
Updated:
The PHP error log says something like this:
[15-Apr-2018 07:56:49 Europe/Berlin] PHP Warning: Declaration of PKPUsageEventPlugin::getEnabled() should be compatible with LazyLoadPlugin::getEnabled($contextId = NULL) in C:\xampp\htdocs\ojs\lib\pkp\plugins\generic\usageEvent\PKPUsageEventPlugin.inc.php on line 386
[15-Apr-2018 07:56:50 Europe/Berlin] PHP Warning: Declaration of PKPUsageEventPlugin::getEnabled() should be compatible with LazyLoadPlugin::getEnabled($contextId = NULL) in C:\xampp\htdocs\ojs\lib\pkp\plugins\generic\usageEvent\PKPUsageEventPlugin.inc.php on line 386
[15-Apr-2018 07:56:50 Europe/Berlin] PHP Warning: Declaration of PKPUsageEventPlugin::getEnabled() should be compatible with LazyLoadPlugin::getEnabled($contextId = NULL) in C:\xampp\htdocs\ojs\lib\pkp\plugins\generic\usageEvent\PKPUsageEventPlugin.inc.php on line 386
[15-Apr-2018 07:56:51 Europe/Berlin] PHP Warning: Declaration of ContextGridHandler::loadData($request) should be compatible with GridHandler::loadData($request, $filter) in C:\xampp\htdocs\ojs\lib\pkp\controllers\grid\admin\context\ContextGridHandler.inc.php on line 214
[15-Apr-2018 07:56:51 Europe/Berlin] PHP Warning: Declaration of ContextSiteSettingsForm::fetch($request) should be compatible with Form::fetch($request, $template = NULL, $display = false) in C:\xampp\htdocs\ojs\lib\pkp\controllers\grid\admin\context\form\ContextSiteSettingsForm.inc.php on line 19
[15-Apr-2018 07:56:51 Europe/Berlin] PHP Warning: Declaration of PKPUsageEventPlugin::getEnabled() should be compatible with LazyLoadPlugin::getEnabled($contextId = NULL) in C:\xampp\htdocs\ojs\lib\pkp\plugins\generic\usageEvent\PKPUsageEventPlugin.inc.php on line 386
[15-Apr-2018 07:56:51 Europe/Berlin] PHP Warning: Declaration of PKPUsageEventPlugin::getEnabled() should be compatible with LazyLoadPlugin::getEnabled($contextId = NULL) in C:\xampp\htdocs\ojs\lib\pkp\plugins\generic\usageEvent\PKPUsageEventPlugin.inc.php on line 386
[15-Apr-2018 07:57:16 Europe/Berlin] PHP Warning: Declaration of PKPUsageEventPlugin::getEnabled() should be compatible with LazyLoadPlugin::getEnabled($contextId = NULL) in C:\xampp\htdocs\ojs\lib\pkp\plugins\generic\usageEvent\PKPUsageEventPlugin.inc.php on line 386
[15-Apr-2018 07:57:16 Europe/Berlin] PHP Warning: Declaration of PKPUsageEventPlugin::getEnabled() should be compatible with LazyLoadPlugin::getEnabled($contextId = NULL) in C:\xampp\htdocs\ojs\lib\pkp\plugins\generic\usageEvent\PKPUsageEventPlugin.inc.php on line 386
[15-Apr-2018 07:57:19 Europe/Berlin] PHP Warning: Invalid argument supplied for foreach() in C:\xampp\htdocs\ojs\lib\pkp\classes\template\PKPTemplateManager.inc.php on line 1578
[15-Apr-2018 07:57:20 Europe/Berlin] PHP Warning: Invalid argument supplied for foreach() in C:\xampp\htdocs\ojs\lib\pkp\classes\template\PKPTemplateManager.inc.php on line 1578