OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



Undefined Offset Error adodb.inc.php

Are you responsible for making OJS work -- installing, upgrading, migrating or troubleshooting? Do you think you've found a bug? Post in this forum.

Moderators: jmacgreg, btbell, michael, bdgregg, barbarah, asmecher

Forum rules
The Public Knowledge Project Support Forum is moving to http://forum.pkp.sfu.ca

This forum will be maintained permanently as an archived historical resource, but all new questions should be added to the new forum. Questions will no longer be monitored on this old forum after March 30, 2015.

Undefined Offset Error adodb.inc.php

Postby keir » Wed Sep 12, 2012 6:46 pm

I'm getting errors in the log that I'd like to get rid of. i am running OJS 2.3.7.0
One common error turning up is


] [error] [client 180.76.5.138] NOTICE: Undefined offset: 1 (/var/www/journals/lib/pkp/lib/adodb/drivers/adodb-postgres7.inc.php:116)
[Thu Sep 13 11:33:06 2012] [error] [client removed] NOTICE: Undefined offset: 1 (/var/www/journals/lib/pkp/lib/adodb/drivers/adodb-postgres7.inc.php:116)
[Thu Sep 13 11:33:06 2012] [error] [client removed] NOTICE: Undefined offset: 1 (/var/www/journals/lib/pkp/lib/adodb/drivers/adodb-postgres7.inc.php:116)

The stack trace that immediately follows this is;

ojs2 has produced an error\n Message: WARNING: Cannot modify header information - headers already sent by (output started at /var/www/journals/lib/pkp/lib/adodb/adodb.inc.php:377)\n In file: /var/www/journals/lib/pkp/classes/template/PKPTemplateManager.inc.php\n At line: 296\n Stacktrace: \n File: (unknown) line (unknown)\n Function: PKPApplication->errorHandler(2, "Cannot modify header information - headers already sent by (output started at /var/www/journals/lib/pkp/lib/adodb/adodb.inc.php:377)", "/var/www/journals/lib/pkp/classes/template/PKPTemplateManager.inc.php", 296, Array(7))\n File: /var/www/journals/lib/pkp/classes/template/PKPTemplateManager.inc.php line 296\n Function: header("Content-Type: text/html; charset=utf-8")\n File: /var/www/journals/pages/article/ArticleHandler.inc.php line 229\n Function: PKPTemplateManager->display("article/article.tpl")\n File: (unknown) line (unknown)\n Function: ArticleHandler->view(Array(1), Object(Request))\n File: /var/www/journals/lib/pkp/classes/core/PKPRouter.inc.php line 370\n Function: call_user_func(Array(2), Array(1), Object(Request))\n File: /var/www/journals/lib/pkp/classes/core/PKPPageRouter.inc.php line 266\n Function: PKPRouter->_authorizeInitializeAndCallRequest(Array(2), Object(Request), Array(1), False)\n File: /var/www/journals/lib/pkp/classes/core/Dispatcher.inc.php line 129\n Function: PKPPageRouter->route(Object(Request))\n File: /var/www/journals/lib/pkp/classes/core/PKPApplication.inc.php line 180\n Function: Dispatcher->dispatch(Object(Request))\n File: /var/www/journals/index.php line 65\n Function: PKPApplication->execute()\n Server info:\n OS: Linux\n PHP Version: 5.1.6\n Apache

In previous PKS posts this error is blamed on (int) casting however inspection of the possible php code segments, they seem to have the correct cast.
Any suggestions as what to check would be appreciated.
keir
 
Posts: 19
Joined: Sun Aug 12, 2012 9:43 pm

Return to OJS Technical Support

Who is online

Users browsing this forum: Bing [Bot] and 3 guests