OJS 3.1.1 upgrade problem


#21

Hi @akyeame,

I’m afraid that’s more of an Apache question than an OJS question – I suspect you’d be able to find some suggestions for debugging e.g. on StackOverflow.com.

Regards,
Alec Smecher
Public Knowledge Project Team


#22

Greetings @asmecher,

I was able to play with the .htaccess and get rid of the ##api.submissions.unknownError## message when I delete an incomplete submission. Additionally, there is no client denied by server configuration error in the Error Log of CPanel. However, two problems persist: namely Masthead under Journal is still blank, as is Issue Data under Edit in the Back Issues. Now that there is no error message, any recommendation as to what may be causing this last problem? Hopefully it is something you have seen before.

Best,


#23

Hi @akyeame,

Are you sure there’s nothing in your PHP error log corresponding to requests for these two pages?

Regards,
Alec Smecher
Public Knowledge Project Team


#24

Hi @asmecher,

Yes, the last thing that came through was as I was playing with the .htaccess earlier.

[Tue Jul 03 13:48:24.172705 2018] [core:alert] [pid 2437637:tid 139769854002944] [client 41.242.136.14:60672] /home/laghana/public_html/gjl/.htaccess: <Directory not allowed here, referer: https://laghana.org/gjl/index.php/gjl/submissions
[Sun Jul 01 03:24:09.049380 2018] [access_compat:error] [pid 1459078:tid 139769879181056] [client 41.242.138.24:50964] AH01797: client denied by server configuration: /home/laghana/public_html/gjl/index.php, referer: https://laghana.org/gjl/index.php/gjl/submissions
[Sat Jun 30 21:20:39.881250 2018] [access_compat:error] [pid 1459078:tid 139769778468608] [client 41.242.138.24:61516] AH01797: client denied by server configuration: /home/laghana/public_html/gjl/index.php, referer: https://laghana.org/gjl/index.php/gjl/submissions
[Sat Jun 30 21:20:02.724586 2018] [access_compat:error] [pid 1458994:tid 139769778468608] [client 41.242.138.24:61498] AH01797: client denied by server configuration: /home/laghana/public_html/gjl/index.php, referer: https://laghana.org/gjl/index.php/gjl/submissions
[Sat Jun 30 21:19:06.952191 2018] [access_compat:error] [pid 1459022:tid 139769812039424] [client 41.242.138.24:61475] AH01797: client denied by server configuration: /home/laghana/public_html/gjl/index.php, referer: https://laghana.org/gjl/index.php/gjl/submissions
[Sat Jun 30 21:08:48.410552 2018] [access_compat:error] [pid 1322501:tid 139769879181056] [client 41.242.138.24:61215] AH01797: client denied by server configuration: /home/laghana/public_html/gjl/index.php, referer: https://laghana.org/gjl/index.php/gjl/submissions
[Sat Jun 30 20:58:37.001061 2018] [access_compat:error] [pid 1322321:tid 139769795254016] [client 41.242.139.36:60902] AH01797: client denied by server configuration: /home/laghana/public_html/gjl/index.php, referer: https://laghana.org/gjl/index.php/gjl/submissions
[Sat Jun 30 20:19:26.952107 2018] [access_compat:error] [pid 1322563:tid 139769770075904] [client 41.242.139.36:59713] AH01797: client denied by server configuration: /home/laghana/public_html/gjl/index.php, referer: https://laghana.org/gjl/index.php/gjl/submissions
[Sat Jun 30 20:19:20.569848 2018] [access_compat:error] [pid 1323211:tid 139769837217536] [client 41.242.139.36:59711] AH01797: client denied by server configuration: /home/laghana/public_html/gjl/index.php, referer: https://laghana.org/gjl/index.php/gjl/submissions
[Sat Jun 30 20:19:13.870707 2018] [access_compat:error] [pid 1323165:tid 139769879181056] [client 41.242.139.36:59708] AH01797: client denied by server configuration: /home/laghana/public_html/gjl/index.php, referer: https://laghana.org/gjl/index.php/gjl/submissions
[Sat Jun 30 20:19:09.581726 2018] [access_compat:error] [pid 1323165:tid 139769879181056] [client 41.242.139.36:59708] AH01797: client denied by server configuration: /home/laghana/public_html/gjl/index.php, referer: https://laghana.org/gjl/index.php/gjl/submissions
[Sat Jun 30 20:19:02.380912 2018] [access_compat:error] [pid 1322321:tid 139769828824832] [client 41.242.139.36:59705] AH01797: client denied by server configuration: /home/laghana/public_html/gjl/index.php, referer: https://laghana.org/gjl/index.php/gjl/submissions
[Sat Jun 30 20:18:53.010821 2018] [access_compat:error] [pid 1322501:tid 139769744897792] [client 41.242.139.36:59702] AH01797: client denied by server configuration: /home/laghana/public_html/gjl/index.php, referer: https://laghana.org/gjl/index.php/gjl/submissions


#25

Hi @akyeame,

Is it possible that your server has separate PHP and Apache error logs? The messages I see quoted are all Apache errors, so I wonder if your PHP errors aren’t getting logged elsewhere.

Regards,
Alec Smecher
Public Knowledge Project Team


#26

Hi @asmecher,

I’m on WHM CLOUDLINUX 7.5 standard [ded] v70.0.51
And the account is running a standard CPanel


Above is the only option to look at the errors that are created within the account. I’m not sure where else I could look. Is there an error log file created by OJS that I could find via FTP perhaps?


#27

Hi @asmecher,

Okay, I found an error_log file in the gjl.laghana.org folder.
When I clicked on Issue Data followed by Masthead, this is what came through:

[03-Jul-2018 19:09:01 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Smarty has a deprecated constructor in /home/laghana/public_html/gjl/lib/pkp/lib/vendor/smarty/smarty/libs/Smarty.class.php on line 64
[03-Jul-2018 19:09:01 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ADODB_Cache_File has a deprecated constructor in /home/laghana/public_html/gjl/lib/pkp/lib/adodb/adodb.inc.php on line 263
[03-Jul-2018 19:09:01 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ADOConnection has a deprecated constructor in /home/laghana/public_html/gjl/lib/pkp/lib/adodb/adodb.inc.php on line 359
[03-Jul-2018 19:09:01 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ADORecordSet has a deprecated constructor in /home/laghana/public_html/gjl/lib/pkp/lib/adodb/adodb.inc.php on line 2921
[03-Jul-2018 19:09:01 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ADORecordSet_array has a deprecated constructor in /home/laghana/public_html/gjl/lib/pkp/lib/adodb/adodb.inc.php on line 3939
[03-Jul-2018 19:09:01 UTC] PHP Warning: Declaration of PKPUsageEventPlugin::getEnabled() should be compatible with LazyLoadPlugin::getEnabled($contextId = NULL) in /home/laghana/public_html/gjl/lib/pkp/plugins/generic/usageEvent/PKPUsageEventPlugin.inc.php on line 386
[03-Jul-2018 19:09:01 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Smarty_Compiler has a deprecated constructor in /home/laghana/public_html/gjl/lib/pkp/lib/vendor/smarty/smarty/libs/Smarty_Compiler.class.php on line 35
[03-Jul-2018 19:09:03 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Smarty has a deprecated constructor in /home/laghana/public_html/gjl/lib/pkp/lib/vendor/smarty/smarty/libs/Smarty.class.php on line 64
[03-Jul-2018 19:09:03 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ADODB_Cache_File has a deprecated constructor in /home/laghana/public_html/gjl/lib/pkp/lib/adodb/adodb.inc.php on line 263
[03-Jul-2018 19:09:03 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ADOConnection has a deprecated constructor in /home/laghana/public_html/gjl/lib/pkp/lib/adodb/adodb.inc.php on line 359
[03-Jul-2018 19:09:03 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ADORecordSet has a deprecated constructor in /home/laghana/public_html/gjl/lib/pkp/lib/adodb/adodb.inc.php on line 2921
[03-Jul-2018 19:09:03 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ADORecordSet_array has a deprecated constructor in /home/laghana/public_html/gjl/lib/pkp/lib/adodb/adodb.inc.php on line 3939
[03-Jul-2018 19:09:03 UTC] PHP Warning: Declaration of PKPUsageEventPlugin::getEnabled() should be compatible with LazyLoadPlugin::getEnabled($contextId = NULL) in /home/laghana/public_html/gjl/lib/pkp/plugins/generic/usageEvent/PKPUsageEventPlugin.inc.php on line 386
[03-Jul-2018 19:09:05 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Smarty has a deprecated constructor in /home/laghana/public_html/gjl/lib/pkp/lib/vendor/smarty/smarty/libs/Smarty.class.php on line 64
[03-Jul-2018 19:09:05 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ADODB_Cache_File has a deprecated constructor in /home/laghana/public_html/gjl/lib/pkp/lib/adodb/adodb.inc.php on line 263
[03-Jul-2018 19:09:05 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ADOConnection has a deprecated constructor in /home/laghana/public_html/gjl/lib/pkp/lib/adodb/adodb.inc.php on line 359
[03-Jul-2018 19:09:05 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ADORecordSet has a deprecated constructor in /home/laghana/public_html/gjl/lib/pkp/lib/adodb/adodb.inc.php on line 2921
[03-Jul-2018 19:09:05 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ADORecordSet_array has a deprecated constructor in /home/laghana/public_html/gjl/lib/pkp/lib/adodb/adodb.inc.php on line 3939
[03-Jul-2018 19:09:05 UTC] PHP Warning: Declaration of PKPUsageEventPlugin::getEnabled() should be compatible with LazyLoadPlugin::getEnabled($contextId = NULL) in /home/laghana/public_html/gjl/lib/pkp/plugins/generic/usageEvent/PKPUsageEventPlugin.inc.php on line 386
[03-Jul-2018 19:09:05 UTC] PHP Warning: Declaration of IssueGridRow::initialize($request) should be compatible with GridRow::initialize($request, $template = NULL) in /home/laghana/public_html/gjl/controllers/grid/issues/IssueGridRow.inc.php on line 130
[03-Jul-2018 19:09:05 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Smarty has a deprecated constructor in /home/laghana/public_html/gjl/lib/pkp/lib/vendor/smarty/smarty/libs/Smarty.class.php on line 64
[03-Jul-2018 19:09:05 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ADODB_Cache_File has a deprecated constructor in /home/laghana/public_html/gjl/lib/pkp/lib/adodb/adodb.inc.php on line 263
[03-Jul-2018 19:09:05 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ADOConnection has a deprecated constructor in /home/laghana/public_html/gjl/lib/pkp/lib/adodb/adodb.inc.php on line 359
[03-Jul-2018 19:09:05 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ADORecordSet has a deprecated constructor in /home/laghana/public_html/gjl/lib/pkp/lib/adodb/adodb.inc.php on line 2921
[03-Jul-2018 19:09:05 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ADORecordSet_array has a deprecated constructor in /home/laghana/public_html/gjl/lib/pkp/lib/adodb/adodb.inc.php on line 3939
[03-Jul-2018 19:09:05 UTC] PHP Warning: Declaration of PKPUsageEventPlugin::getEnabled() should be compatible with LazyLoadPlugin::getEnabled($contextId = NULL) in /home/laghana/public_html/gjl/lib/pkp/plugins/generic/usageEvent/PKPUsageEventPlugin.inc.php on line 386
[03-Jul-2018 19:09:05 UTC] PHP Warning: Declaration of IssueGridRow::initialize($request) should be compatible with GridRow::initialize($request, $template = NULL) in /home/laghana/public_html/gjl/controllers/grid/issues/IssueGridRow.inc.php on line 130
[03-Jul-2018 19:09:09 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Smarty has a deprecated constructor in /home/laghana/public_html/gjl/lib/pkp/lib/vendor/smarty/smarty/libs/Smarty.class.php on line 64
[03-Jul-2018 19:09:09 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ADODB_Cache_File has a deprecated constructor in /home/laghana/public_html/gjl/lib/pkp/lib/adodb/adodb.inc.php on line 263
[03-Jul-2018 19:09:09 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ADOConnection has a deprecated constructor in /home/laghana/public_html/gjl/lib/pkp/lib/adodb/adodb.inc.php on line 359
[03-Jul-2018 19:09:09 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ADORecordSet has a deprecated constructor in /home/laghana/public_html/gjl/lib/pkp/lib/adodb/adodb.inc.php on line 2921
[03-Jul-2018 19:09:09 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ADORecordSet_array has a deprecated constructor in /home/laghana/public_html/gjl/lib/pkp/lib/adodb/adodb.inc.php on line 3939
[03-Jul-2018 19:09:09 UTC] PHP Warning: Declaration of PKPUsageEventPlugin::getEnabled() should be compatible with LazyLoadPlugin::getEnabled($contextId = NULL) in /home/laghana/public_html/gjl/lib/pkp/plugins/generic/usageEvent/PKPUsageEventPlugin.inc.php on line 386
[03-Jul-2018 19:09:09 UTC] PHP Warning: Declaration of IssueGridRow::initialize($request) should be compatible with GridRow::initialize($request, $template = NULL) in /home/laghana/public_html/gjl/controllers/grid/issues/IssueGridRow.inc.php on line 130
[03-Jul-2018 19:09:09 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Smarty_Compiler has a deprecated constructor in /home/laghana/public_html/gjl/lib/pkp/lib/vendor/smarty/smarty/libs/Smarty_Compiler.class.php on line 35
[03-Jul-2018 19:09:09 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Smarty has a deprecated constructor in /home/laghana/public_html/gjl/lib/pkp/lib/vendor/smarty/smarty/libs/Smarty.class.php on line 64
[03-Jul-2018 19:09:09 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ADODB_Cache_File has a deprecated constructor in /home/laghana/public_html/gjl/lib/pkp/lib/adodb/adodb.inc.php on line 263
[03-Jul-2018 19:09:09 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ADOConnection has a deprecated constructor in /home/laghana/public_html/gjl/lib/pkp/lib/adodb/adodb.inc.php on line 359
[03-Jul-2018 19:09:09 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ADORecordSet has a deprecated constructor in /home/laghana/public_html/gjl/lib/pkp/lib/adodb/adodb.inc.php on line 2921
[03-Jul-2018 19:09:09 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ADORecordSet_array has a deprecated constructor in /home/laghana/public_html/gjl/lib/pkp/lib/adodb/adodb.inc.php on line 3939
[03-Jul-2018 19:09:09 UTC] PHP Warning: Declaration of PKPUsageEventPlugin::getEnabled() should be compatible with LazyLoadPlugin::getEnabled($contextId = NULL) in /home/laghana/public_html/gjl/lib/pkp/plugins/generic/usageEvent/PKPUsageEventPlugin.inc.php on line 386
[03-Jul-2018 19:09:09 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Smarty has a deprecated constructor in /home/laghana/public_html/gjl/lib/pkp/lib/vendor/smarty/smarty/libs/Smarty.class.php on line 64
[03-Jul-2018 19:09:09 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ADODB_Cache_File has a deprecated constructor in /home/laghana/public_html/gjl/lib/pkp/lib/adodb/adodb.inc.php on line 263
[03-Jul-2018 19:09:09 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ADOConnection has a deprecated constructor in /home/laghana/public_html/gjl/lib/pkp/lib/adodb/adodb.inc.php on line 359
[03-Jul-2018 19:09:09 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ADORecordSet has a deprecated constructor in /home/laghana/public_html/gjl/lib/pkp/lib/adodb/adodb.inc.php on line 2921
[03-Jul-2018 19:09:09 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ADORecordSet_array has a deprecated constructor in /home/laghana/public_html/gjl/lib/pkp/lib/adodb/adodb.inc.php on line 3939
[03-Jul-2018 19:09:09 UTC] PHP Warning: Declaration of PKPUsageEventPlugin::getEnabled() should be compatible with LazyLoadPlugin::getEnabled($contextId = NULL) in /home/laghana/public_html/gjl/lib/pkp/plugins/generic/usageEvent/PKPUsageEventPlugin.inc.php on line 386
[03-Jul-2018 19:09:09 UTC] PHP Warning: Declaration of IssueGridRow::initialize($request) should be compatible with GridRow::initialize($request, $template = NULL) in /home/laghana/public_html/gjl/controllers/grid/issues/IssueGridRow.inc.php on line 130
[03-Jul-2018 19:09:09 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Smarty_Compiler has a deprecated constructor in /home/laghana/public_html/gjl/lib/pkp/lib/vendor/smarty/smarty/libs/Smarty_Compiler.class.php on line 35
[03-Jul-2018 19:09:09 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Smarty has a deprecated constructor in /home/laghana/public_html/gjl/lib/pkp/lib/vendor/smarty/smarty/libs/Smarty.class.php on line 64
[03-Jul-2018 19:09:09 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ADODB_Cache_File has a deprecated constructor in /home/laghana/public_html/gjl/lib/pkp/lib/adodb/adodb.inc.php on line 263
[03-Jul-2018 19:09:09 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ADOConnection has a deprecated constructor in /home/laghana/public_html/gjl/lib/pkp/lib/adodb/adodb.inc.php on line 359
[03-Jul-2018 19:09:09 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ADORecordSet has a deprecated constructor in /home/laghana/public_html/gjl/lib/pkp/lib/adodb/adodb.inc.php on line 2921
[03-Jul-2018 19:09:09 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ADORecordSet_array has a deprecated constructor in /home/laghana/public_html/gjl/lib/pkp/lib/adodb/adodb.inc.php on line 3939
[03-Jul-2018 19:09:09 UTC] PHP Warning: Declaration of PKPUsageEventPlugin::getEnabled() should be compatible with LazyLoadPlugin::getEnabled($contextId = NULL) in /home/laghana/public_html/gjl/lib/pkp/plugins/generic/usageEvent/PKPUsageEventPlugin.inc.php on line 386
[03-Jul-2018 19:09:09 UTC] PHP Warning: Declaration of CategoryGridHandler::doSpecificFetchGridActions($args, $request, &$templateMgr) should be compatible with GridHandler::doSpecificFetchGridActions($args, $request, $templateMgr) in /home/laghana/public_html/gjl/lib/pkp/classes/controllers/grid/CategoryGridHandler.inc.php on line 493
[03-Jul-2018 19:09:09 UTC] PHP Warning: Declaration of TocGridRow::initialize($request) should be compatible with GridRow::initialize($request, $template = NULL) in /home/laghana/public_html/gjl/controllers/grid/toc/TocGridRow.inc.php on line 70
[03-Jul-2018 19:09:09 UTC] PHP Warning: Declaration of TocGridHandler::getDataElementInCategorySequence($categoryId, $publishedArticle) should be compatible with CategoryGridHandler::getDataElementInCategorySequence($categoryId, &$gridDataElement) in /home/laghana/public_html/gjl/controllers/grid/toc/TocGridHandler.inc.php on line 20
[03-Jul-2018 19:09:09 UTC] PHP Warning: Declaration of TocGridHandler::setDataElementInCategorySequence($sectionId, $publishedArticle, $newSequence) should be compatible with CategoryGridHandler::setDataElementInCategorySequence($categoryId, &$gridDataElement, $newSequence) in /home/laghana/public_html/gjl/controllers/grid/toc/TocGridHandler.inc.php on line 20
[03-Jul-2018 19:09:09 UTC] PHP Warning: Declaration of TocGridHandler::initialize($request) should be compatible with CategoryGridHandler::initialize($request, $args = NULL) in /home/laghana/public_html/gjl/controllers/grid/toc/TocGridHandler.inc.php on line 20
[03-Jul-2018 19:09:09 UTC] PHP Warning: Declaration of TocGridHandler::loadCategoryData($request, $section) should be compatible with CategoryGridHandler::loadCategoryData($request, &$categoryDataElement, $filter = NULL) in /home/laghana/public_html/gjl/controllers/grid/toc/TocGridHandler.inc.php on line 20
[03-Jul-2018 19:09:10 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Smarty has a deprecated constructor in /home/laghana/public_html/gjl/lib/pkp/lib/vendor/smarty/smarty/libs/Smarty.class.php on line 64
[03-Jul-2018 19:09:10 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ADODB_Cache_File has a deprecated constructor in /home/laghana/public_html/gjl/lib/pkp/lib/adodb/adodb.inc.php on line 263
[03-Jul-2018 19:09:10 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ADOConnection has a deprecated constructor in /home/laghana/public_html/gjl/lib/pkp/lib/adodb/adodb.inc.php on line 359
[03-Jul-2018 19:09:10 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ADORecordSet has a deprecated constructor in /home/laghana/public_html/gjl/lib/pkp/lib/adodb/adodb.inc.php on line 2921
[03-Jul-2018 19:09:10 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ADORecordSet_array has a deprecated constructor in /home/laghana/public_html/gjl/lib/pkp/lib/adodb/adodb.inc.php on line 3939
[03-Jul-2018 19:09:10 UTC] PHP Warning: Declaration of PKPUsageEventPlugin::getEnabled() should be compatible with LazyLoadPlugin::getEnabled($contextId = NULL) in /home/laghana/public_html/gjl/lib/pkp/plugins/generic/usageEvent/PKPUsageEventPlugin.inc.php on line 386
[03-Jul-2018 19:09:10 UTC] PHP Warning: Declaration of IssueGridRow::initialize($request) should be compatible with GridRow::initialize($request, $template = NULL) in /home/laghana/public_html/gjl/controllers/grid/issues/IssueGridRow.inc.php on line 130
[03-Jul-2018 19:09:10 UTC] PHP Warning: Declaration of IssueForm::fetch($request) should be compatible with Form::fetch($request, $template = NULL, $display = false) in /home/laghana/public_html/gjl/controllers/grid/issues/form/IssueForm.inc.php on line 23
[03-Jul-2018 19:09:10 UTC] PHP Warning: Declaration of IssueForm::initData($request) should be compatible with Form::initData() in /home/laghana/public_html/gjl/controllers/grid/issues/form/IssueForm.inc.php on line 23
[03-Jul-2018 19:09:10 UTC] PHP Warning: Declaration of IssueForm::validate($request) should be compatible with Form::validate($callHooks = true) in /home/laghana/public_html/gjl/controllers/grid/issues/form/IssueForm.inc.php on line 23
[03-Jul-2018 19:09:10 UTC] PHP Warning: Declaration of IssueForm::execute($request) should be compatible with Form::execute() in /home/laghana/public_html/gjl/controllers/grid/issues/form/IssueForm.inc.php on line 23
[03-Jul-2018 19:09:10 UTC] PHP Deprecated: Non-static method PKPRequest::getUserVar() should not be called statically in /home/laghana/public_html/gjl/lib/pkp/classes/form/Form.inc.php on line 369
[03-Jul-2018 19:09:10 UTC] PHP Deprecated: Non-static method PKPRequest::_checkThis() should not be called statically in /home/laghana/public_html/gjl/lib/pkp/classes/core/PKPRequest.inc.php on line 592
[03-Jul-2018 19:09:10 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Smarty_Compiler has a deprecated constructor in /home/laghana/public_html/gjl/lib/pkp/lib/vendor/smarty/smarty/libs/Smarty_Compiler.class.php on line 35
[03-Jul-2018 19:09:10 UTC] Malformed UTF-8 characters, possibly incorrectly encoded
[03-Jul-2018 19:09:17 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Smarty has a deprecated constructor in /home/laghana/public_html/gjl/lib/pkp/lib/vendor/smarty/smarty/libs/Smarty.class.php on line 64
[03-Jul-2018 19:09:17 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ADODB_Cache_File has a deprecated constructor in /home/laghana/public_html/gjl/lib/pkp/lib/adodb/adodb.inc.php on line 263
[03-Jul-2018 19:09:17 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ADOConnection has a deprecated constructor in /home/laghana/public_html/gjl/lib/pkp/lib/adodb/adodb.inc.php on line 359
[03-Jul-2018 19:09:17 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ADORecordSet has a deprecated constructor in /home/laghana/public_html/gjl/lib/pkp/lib/adodb/adodb.inc.php on line 2921
[03-Jul-2018 19:09:17 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ADORecordSet_array has a deprecated constructor in /home/laghana/public_html/gjl/lib/pkp/lib/adodb/adodb.inc.php on line 3939
[03-Jul-2018 19:09:17 UTC] PHP Warning: Declaration of PKPUsageEventPlugin::getEnabled() should be compatible with LazyLoadPlugin::getEnabled($contextId = NULL) in /home/laghana/public_html/gjl/lib/pkp/plugins/generic/usageEvent/PKPUsageEventPlugin.inc.php on line 386
[03-Jul-2018 19:09:17 UTC] PHP Deprecated: Non-static method VersionCheck::checkIfNewVersionExists() should not be called statically in /home/laghana/public_html/gjl/pages/management/SettingsHandler.inc.php on line 87
[03-Jul-2018 19:09:17 UTC] PHP Deprecated: Non-static method VersionCheck::getLatestVersion() should not be called statically in /home/laghana/public_html/gjl/lib/pkp/classes/site/VersionCheck.inc.php on line 194
[03-Jul-2018 19:09:17 UTC] PHP Deprecated: Non-static method VersionCheck::getCurrentDBVersion() should not be called statically in /home/laghana/public_html/gjl/lib/pkp/classes/site/VersionCheck.inc.php on line 197
[03-Jul-2018 19:09:18 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Smarty has a deprecated constructor in /home/laghana/public_html/gjl/lib/pkp/lib/vendor/smarty/smarty/libs/Smarty.class.php on line 64
[03-Jul-2018 19:09:18 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ADODB_Cache_File has a deprecated constructor in /home/laghana/public_html/gjl/lib/pkp/lib/adodb/adodb.inc.php on line 263
[03-Jul-2018 19:09:18 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ADOConnection has a deprecated constructor in /home/laghana/public_html/gjl/lib/pkp/lib/adodb/adodb.inc.php on line 359
[03-Jul-2018 19:09:18 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ADORecordSet has a deprecated constructor in /home/laghana/public_html/gjl/lib/pkp/lib/adodb/adodb.inc.php on line 2921
[03-Jul-2018 19:09:18 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ADORecordSet_array has a deprecated constructor in /home/laghana/public_html/gjl/lib/pkp/lib/adodb/adodb.inc.php on line 3939
[03-Jul-2018 19:09:18 UTC] PHP Warning: Declaration of PKPUsageEventPlugin::getEnabled() should be compatible with LazyLoadPlugin::getEnabled($contextId = NULL) in /home/laghana/public_html/gjl/lib/pkp/plugins/generic/usageEvent/PKPUsageEventPlugin.inc.php on line 386
[03-Jul-2018 19:09:18 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Smarty has a deprecated constructor in /home/laghana/public_html/gjl/lib/pkp/lib/vendor/smarty/smarty/libs/Smarty.class.php on line 64
[03-Jul-2018 19:09:18 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ADODB_Cache_File has a deprecated constructor in /home/laghana/public_html/gjl/lib/pkp/lib/adodb/adodb.inc.php on line 263
[03-Jul-2018 19:09:18 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ADOConnection has a deprecated constructor in /home/laghana/public_html/gjl/lib/pkp/lib/adodb/adodb.inc.php on line 359
[03-Jul-2018 19:09:18 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ADORecordSet has a deprecated constructor in /home/laghana/public_html/gjl/lib/pkp/lib/adodb/adodb.inc.php on line 2921
[03-Jul-2018 19:09:18 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ADORecordSet_array has a deprecated constructor in /home/laghana/public_html/gjl/lib/pkp/lib/adodb/adodb.inc.php on line 3939
[03-Jul-2018 19:09:18 UTC] PHP Warning: Declaration of PKPUsageEventPlugin::getEnabled() should be compatible with LazyLoadPlugin::getEnabled($contextId = NULL) in /home/laghana/public_html/gjl/lib/pkp/plugins/generic/usageEvent/PKPUsageEventPlugin.inc.php on line 386
[03-Jul-2018 19:09:18 UTC] PHP Warning: Declaration of ContextSettingsForm::fetch($request, $params = NULL) should be compatible with Form::fetch($request, $template = NULL, $display = false) in /home/laghana/public_html/gjl/lib/pkp/classes/controllers/tab/settings/form/ContextSettingsForm.inc.php on line 20
[03-Jul-2018 19:09:18 UTC] PHP Warning: Declaration of ContextSettingsForm::initData($request) should be compatible with Form::initData() in /home/laghana/public_html/gjl/lib/pkp/classes/controllers/tab/settings/form/ContextSettingsForm.inc.php on line 20
[03-Jul-2018 19:09:18 UTC] PHP Warning: Declaration of ContextSettingsForm::readInputData($request) should be compatible with Form::readInputData() in /home/laghana/public_html/gjl/lib/pkp/classes/controllers/tab/settings/form/ContextSettingsForm.inc.php on line 20
[03-Jul-2018 19:09:18 UTC] PHP Warning: Declaration of ContextSettingsForm::execute($request) should be compatible with Form::execute() in /home/laghana/public_html/gjl/lib/pkp/classes/controllers/tab/settings/form/ContextSettingsForm.inc.php on line 20
[03-Jul-2018 19:09:18 UTC] PHP Deprecated: Non-static method PKPRequest::getUserVar() should not be called statically in /home/laghana/public_html/gjl/lib/pkp/classes/form/Form.inc.php on line 369
[03-Jul-2018 19:09:18 UTC] PHP Deprecated: Non-static method PKPRequest::_checkThis() should not be called statically in /home/laghana/public_html/gjl/lib/pkp/classes/core/PKPRequest.inc.php on line 592
[03-Jul-2018 19:09:18 UTC] Malformed UTF-8 characters, possibly incorrectly encoded
[03-Jul-2018 19:09:18 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Smarty has a deprecated constructor in /home/laghana/public_html/gjl/lib/pkp/lib/vendor/smarty/smarty/libs/Smarty.class.php on line 64
[03-Jul-2018 19:09:18 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ADODB_Cache_File has a deprecated constructor in /home/laghana/public_html/gjl/lib/pkp/lib/adodb/adodb.inc.php on line 263
[03-Jul-2018 19:09:18 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ADOConnection has a deprecated constructor in /home/laghana/public_html/gjl/lib/pkp/lib/adodb/adodb.inc.php on line 359
[03-Jul-2018 19:09:18 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ADORecordSet has a deprecated constructor in /home/laghana/public_html/gjl/lib/pkp/lib/adodb/adodb.inc.php on line 2921
[03-Jul-2018 19:09:18 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ADORecordSet_array has a deprecated constructor in /home/laghana/public_html/gjl/lib/pkp/lib/adodb/adodb.inc.php on line 3939
[03-Jul-2018 19:09:18 UTC] PHP Warning: Declaration of PKPUsageEventPlugin::getEnabled() should be compatible with LazyLoadPlugin::getEnabled($contextId = NULL) in /home/laghana/public_html/gjl/lib/pkp/plugins/generic/usageEvent/PKPUsageEventPlugin.inc.php on line 386
[03-Jul-2018 19:09:19 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Smarty has a deprecated constructor in /home/laghana/public_html/gjl/lib/pkp/lib/vendor/smarty/smarty/libs/Smarty.class.php on line 64
[03-Jul-2018 19:09:19 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ADODB_Cache_File has a deprecated constructor in /home/laghana/public_html/gjl/lib/pkp/lib/adodb/adodb.inc.php on line 263
[03-Jul-2018 19:09:19 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ADOConnection has a deprecated constructor in /home/laghana/public_html/gjl/lib/pkp/lib/adodb/adodb.inc.php on line 359
[03-Jul-2018 19:09:19 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ADORecordSet has a deprecated constructor in /home/laghana/public_html/gjl/lib/pkp/lib/adodb/adodb.inc.php on line 2921
[03-Jul-2018 19:09:19 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ADORecordSet_array has a deprecated constructor in /home/laghana/public_html/gjl/lib/pkp/lib/adodb/adodb.inc.php on line 3939
[03-Jul-2018 19:09:19 UTC] PHP Warning: Declaration of PKPUsageEventPlugin::getEnabled() should be compatible with LazyLoadPlugin::getEnabled($contextId = NULL) in /home/laghana/public_html/gjl/lib/pkp/plugins/generic/usageEvent/PKPUsageEventPlugin.inc.php on line 386


#28

Hi @akyeame,

I see a lot of warnings, but no fatal errors. Try searching the log for “Fatal” or “Error”.

Regards,
Alec Smecher
Public Knowledge Project Team


#29

Greetings,
Over the last few minutes the file has gone from 30KB to 312KB, but I have done a search and there is still no “Fatal” nor is there “Error” in there. Any other ideas? Could it be from one of the warnings?


#30

Hi @akyeame,

The warnings are generally cosmetic (and we’re working to gradually resolve them over the next few releases – they stem from PHP gradually getting pickier about certain kinds of conventions that didn’t previously matter). Generally a blank page indicates a PHP error. Could you perhaps include screenshots illustrating the problem, so I’m sure I understand the situation correctly?

Regards,
Alec Smecher
Public Knowledge Project Team


#31

Hi @asmecher,

Kindly find the two screenshots attached. The tabs never come up and just stay blank as you can see:


No matter how long I leave them, they never load and they produce those copious error_log entries. Any further assistance you could provide would be most appreciated.


#32

Hi @akyeame,

Hmm, those would generally represent PHP errors in my experience, so it’s odd you’re not seeing them in the log. Another place to look is the browser’s error console.

Regards,
Alec Smecher
Public Knowledge Project Team


#33

Hi @asmecher,

This is what I get on Masthead using the Inspect feature of Chrome:

blob:https://laghana.org/7d9ffcf0-4f85-453f-9fe9-5007305b33cd Failed to load resource: net::ERR_FILE_NOT_FOUND
context:1 Uncaught SyntaxError: Unexpected end of JSON input
at JSON.parse ()
at Function.n.parseJSON (jquery.min.js:4)
at a.pkp.controllers.TabHandler.dataFilter (pkp.min.js:211)
at Object.dataFilter (pkp.min.js:123)
at Qc (jquery.min.js:4)
at x (jquery.min.js:4)
at XMLHttpRequest.b (jquery.min.js:4)


#34

Hi @akyeame,

Check on the Network tab (or equivalent) to see if you can capture the AJAX request that’s being parsed here – and watch in particular for the response code (200 for OK, 500 for Internal Server Error, etc).

Regards,
Alec Smecher
Public Knowledge Project Team


#35

Hi @asmecher,

I tried and I only get 200 codes as shown on the screenshot.

I’ll check back tomorrow. Gotta run for now.


#36

Hi @akyeame,

Watch for the specific request that gets called when you try to load the Issue Data tab, and check out the response to see what it contains.

Also check your log file to see whether any of your warnings mention json_encode – my current best guess is that some of your database content is encoded in correctly.

Regards,
Alec Smecher
Public Knowledge Project Team


#37

Hi @asmecher,

When I click the Issue Data tab once already in the lightbox, absolutely nothing happens. Json isn’t there. The only thing close with “encode” is this:

[03-Jul-2018 19:09:10 UTC] Malformed UTF-8 characters, possibly incorrectly encoded

These are my Localization settings:

;;;;;;;;;;;;;;;;;;;;;;;;;
; Localization Settings ;
;;;;;;;;;;;;;;;;;;;;;;;;;

[i18n]

; Default locale
locale = en_US

; Client output/input character set
client_charset = utf-8

; Database connection character set
; Must be set to “Off” if not supported by the database server
; If enabled, must be the same character set as “client_charset”
; (although the actual name may differ slightly depending on the server)
connection_charset = utf-8

; Database storage character set
; Must be set to “Off” if not supported by the database server
database_charset = utf-8

; Enable character normalization to utf-8 (recommended)
; If disabled, strings will be passed through in their native encoding
; Note that client_charset and database collation must be set
; to “utf-8” for this to work, as characters are stored in utf-8
charset_normalization = On


#38

Hi @akyeame,

Did you manually change connection_charset and database_charset from utf8 to utf-8? They should actually be utf8.

Regards,
Alec Smecher
Public Knowledge Project Team


#39

I did. When I had it as utf8, the system couldn’t render apostrophes, quotation marks, tones or diacritic marks – all a big deal, especially for a Linguistics journal. I’ll try again for all of them.


#40

Okay, now those tabs are working, but quotation marks and all else are garbled up as you see in the screenshot.