OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



error_log: warnings and 404s

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

Moderators: jmacgreg, michael, John

Forum rules
What to do if you have a technical problem with OCS:

1. Search the forum. You can do this from the Advanced Search Page or from our Google Custom Search, which will search the entire PKP site. If you are encountering an error, we especially recommend searching the forum for said error.

2. Check the FAQ to see if your question or error has already been resolved. Please note that this FAQ is OJS-centric, but most issues are applicable to both platforms.

3. Post a question, but please, only after trying the above two solutions. If it's a workflow or usability question you should probably post to the OCS Conference Support and Discussion subforum; if you have a development question, try the OCS Development subforum.

error_log: warnings and 404s

Postby Salvatore » Fri Jul 29, 2011 8:34 am

Hello,

I'm minding an installation of OCS for a friend while on vacation. I'm not familiar with this package.

We have been getting warnings and 404s and I'm not sure where to begin.
Any help would be appreciated, and no, I will not waste your time.

The errors seem to be mostly with the following:

    FileCache.inc.php
    NotificationManager.inc.php
    UserExportDom.inc.php
    PKPPageRouter.inc.php

error_log (last 4 days only)

Code: Select all
[26-Jul-2011 07:05:14] ocs2 has produced an error
  Message: WARNING: unlink(/REDACTED/cache/fc-pluginSettings-0-0-AcronPlugin.php) [<a href='function.unlink'>function.unlink</a>]: No such file or directory
  In file: /REDACTED/lib/pkp/classes/cache/FileCache.inc.php
  At line: 58
  Stacktrace:
  Server info:
   OS: Linux
   PHP Version: 5.2.17
   Apache Version: N/A
   DB Driver: mysql
   DB server version: 5.1.58-community-log
[26-Jul-2011 12:04:56] ocs2 has produced an error
  Message: WARNING: unlink(/REDACTED/cache/fc-pluginSettings-0-0-AcronPlugin.php) [<a href='function.unlink'>function.unlink</a>]: No such file or directory
  In file: /REDACTED/lib/pkp/classes/cache/FileCache.inc.php
  At line: 58
  Stacktrace:
  Server info:
   OS: Linux
   PHP Version: 5.2.17
   Apache Version: N/A
   DB Driver: mysql
   DB server version: 5.1.58-community-log
[26-Jul-2011 15:00:27] PHP Fatal error:  Call to undefined method Conference::getLocalizedTitle() in /REDACTED/lib/pkp/classes/notification/NotificationManager.inc.php on line 115
[26-Jul-2011 15:03:13] PHP Fatal error:  Call to undefined method Conference::getLocalizedTitle() in /REDACTED/lib/pkp/classes/notification/NotificationManager.inc.php on line 115
[26-Jul-2011 23:52:57] ocs2: 404 Not Found
[27-Jul-2011 05:29:17] ocs2 has produced an error
  Message: WARNING: unlink(/REDACTED/cache/fc-pluginSettings-0-0-AcronPlugin.php) [<a href='function.unlink'>function.unlink</a>]: No such file or directory
  In file: /REDACTED/lib/pkp/classes/cache/FileCache.inc.php
  At line: 58
  Stacktrace:
  Server info:
   OS: Linux
   PHP Version: 5.2.17
   Apache Version: N/A
   DB Driver: mysql
   DB server version: 5.1.58-community-log
[27-Jul-2011 07:52:07] ocs2 has produced an error
  Message: WARNING: unlink(/REDACTED/cache/fc-pluginSettings-0-0-AcronPlugin.php) [<a href='function.unlink'>function.unlink</a>]: No such file or directory
  In file: /REDACTED/lib/pkp/classes/cache/FileCache.inc.php
  At line: 58
  Stacktrace:
  Server info:
   OS: Linux
   PHP Version: 5.2.17
   Apache Version: N/A
   DB Driver: mysql
   DB server version: 5.1.58-community-log
[27-Jul-2011 08:42:07] ocs2 has produced an error
  Message: WARNING: unlink(/REDACTED/cache/fc-pluginSettings-0-0-AcronPlugin.php) [<a href='function.unlink'>function.unlink</a>]: No such file or directory
  In file: /REDACTED/lib/pkp/classes/cache/FileCache.inc.php
  At line: 58
  Stacktrace:
  Server info:
   OS: Linux
   PHP Version: 5.2.17
   Apache Version: N/A
   DB Driver: mysql
   DB server version: 5.1.58-community-log
[27-Jul-2011 09:25:17] NOTICE: Undefined variable: interestsNode (/REDACTED/plugins/importexport/users/UserExportDom.inc.php:69)
[27-Jul-2011 09:25:17] NOTICE: Undefined variable: interestsNode (/REDACTED/plugins/importexport/users/UserExportDom.inc.php:69)
[27-Jul-2011 09:25:17] NOTICE: Undefined variable: interestsNode (/REDACTED/plugins/importexport/users/UserExportDom.inc.php:69)
[27-Jul-2011 09:25:18] NOTICE: Undefined variable: interestsNode (/REDACTED/plugins/importexport/users/UserExportDom.inc.php:69)
[27-Jul-2011 09:25:18] NOTICE: Undefined variable: interestsNode (/REDACTED/plugins/importexport/users/UserExportDom.inc.php:69)
[27-Jul-2011 09:25:18] NOTICE: Undefined variable: interestsNode (/REDACTED/plugins/importexport/users/UserExportDom.inc.php:69)
[27-Jul-2011 09:25:19] NOTICE: Undefined variable: interestsNode (/REDACTED/plugins/importexport/users/UserExportDom.inc.php:69)
[27-Jul-2011 09:25:19] NOTICE: Undefined variable: interestsNode (/REDACTED/plugins/importexport/users/UserExportDom.inc.php:69)
[27-Jul-2011 09:25:19] NOTICE: Undefined variable: interestsNode (/REDACTED/plugins/importexport/users/UserExportDom.inc.php:69)
[27-Jul-2011 09:25:20] NOTICE: Undefined variable: interestsNode (/REDACTED/plugins/importexport/users/UserExportDom.inc.php:69)
[27-Jul-2011 09:25:20] NOTICE: Undefined variable: interestsNode (/REDACTED/plugins/importexport/users/UserExportDom.inc.php:69)
[27-Jul-2011 09:25:20] NOTICE: Undefined variable: interestsNode (/REDACTED/plugins/importexport/users/UserExportDom.inc.php:69)
[27-Jul-2011 09:25:20] NOTICE: Undefined variable: interestsNode (/REDACTED/plugins/importexport/users/UserExportDom.inc.php:69)
[27-Jul-2011 09:25:20] NOTICE: Undefined variable: interestsNode (/REDACTED/plugins/importexport/users/UserExportDom.inc.php:69)
[27-Jul-2011 09:25:20] NOTICE: Undefined variable: interestsNode (/REDACTED/plugins/importexport/users/UserExportDom.inc.php:69)
[27-Jul-2011 14:04:00] NOTICE: Use of undefined constant HANDLER_CLASS - assumed 'HANDLER_CLASS' (/REDACTED/lib/pkp/classes/core/PKPPageRouter.inc.php:163)
[27-Jul-2011 14:04:00] ocs2 has produced an error
  Message: WARNING: array_map() [<a href='function.array-map'>function.array-map</a>]: Argument #2 should be an array
  In file: /REDACTED/lib/pkp/classes/core/PKPPageRouter.inc.php
  At line: 163
  Stacktrace:
  Server info:
   OS: Linux
   PHP Version: 5.2.17
   Apache Version: N/A
   DB Driver: mysql
   DB server version: 5.1.58-community-log
[27-Jul-2011 14:04:00] ocs2 has produced an error
  Message: WARNING: in_array() [<a href='function.in-array'>function.in-array</a>]: Wrong datatype for second argument
  In file: /REDACTED/lib/pkp/classes/core/PKPPageRouter.inc.php
  At line: 164
  Stacktrace:
  Server info:
   OS: Linux
   PHP Version: 5.2.17
   Apache Version: N/A
   DB Driver: mysql
   DB server version: 5.1.58-community-log
[27-Jul-2011 14:04:00] ocs2: 404 Not Found
[27-Jul-2011 22:53:22] PHP Fatal error:  Call to a member function getId() on a non-object in /REDACTED/lib/pkp/classes/notification/NotificationSettingsDAO.inc.php on line 188
[28-Jul-2011 10:41:47] NOTICE: Undefined variable: interestsNode (/REDACTED/plugins/importexport/users/UserExportDom.inc.php:69)
[28-Jul-2011 10:41:47] NOTICE: Undefined variable: interestsNode (/REDACTED/plugins/importexport/users/UserExportDom.inc.php:69)
[28-Jul-2011 10:41:47] NOTICE: Undefined variable: interestsNode (/REDACTED/plugins/importexport/users/UserExportDom.inc.php:69)
[28-Jul-2011 10:41:48] NOTICE: Undefined variable: interestsNode (/REDACTED/plugins/importexport/users/UserExportDom.inc.php:69)
[28-Jul-2011 10:41:48] NOTICE: Undefined variable: interestsNode (/REDACTED/plugins/importexport/users/UserExportDom.inc.php:69)
[28-Jul-2011 10:41:48] NOTICE: Undefined variable: interestsNode (/REDACTED/plugins/importexport/users/UserExportDom.inc.php:69)
[28-Jul-2011 10:41:49] NOTICE: Undefined variable: interestsNode (/REDACTED/plugins/importexport/users/UserExportDom.inc.php:69)
[28-Jul-2011 10:41:49] NOTICE: Undefined variable: interestsNode (/REDACTED/plugins/importexport/users/UserExportDom.inc.php:69)
[28-Jul-2011 10:41:49] NOTICE: Undefined variable: interestsNode (/REDACTED/plugins/importexport/users/UserExportDom.inc.php:69)
[28-Jul-2011 10:41:50] NOTICE: Undefined variable: interestsNode (/REDACTED/plugins/importexport/users/UserExportDom.inc.php:69)
[28-Jul-2011 10:41:50] NOTICE: Undefined variable: interestsNode (/REDACTED/plugins/importexport/users/UserExportDom.inc.php:69)
[28-Jul-2011 10:41:50] NOTICE: Undefined variable: interestsNode (/REDACTED/plugins/importexport/users/UserExportDom.inc.php:69)
[28-Jul-2011 10:41:50] NOTICE: Undefined variable: interestsNode (/REDACTED/plugins/importexport/users/UserExportDom.inc.php:69)
[28-Jul-2011 10:41:50] NOTICE: Undefined variable: interestsNode (/REDACTED/plugins/importexport/users/UserExportDom.inc.php:69)
[28-Jul-2011 10:41:50] NOTICE: Undefined variable: interestsNode (/REDACTED/plugins/importexport/users/UserExportDom.inc.php:69)
[28-Jul-2011 12:48:30] NOTICE: Undefined variable: interestsNode (/REDACTED/plugins/importexport/users/UserExportDom.inc.php:69)
[28-Jul-2011 12:48:30] NOTICE: Undefined variable: interestsNode (/REDACTED/plugins/importexport/users/UserExportDom.inc.php:69)
[28-Jul-2011 12:48:30] NOTICE: Undefined variable: interestsNode (/REDACTED/plugins/importexport/users/UserExportDom.inc.php:69)
[28-Jul-2011 12:48:31] NOTICE: Undefined variable: interestsNode (/REDACTED/plugins/importexport/users/UserExportDom.inc.php:69)
[28-Jul-2011 12:48:31] NOTICE: Undefined variable: interestsNode (/REDACTED/plugins/importexport/users/UserExportDom.inc.php:69)
[28-Jul-2011 12:48:31] NOTICE: Undefined variable: interestsNode (/REDACTED/plugins/importexport/users/UserExportDom.inc.php:69)
[28-Jul-2011 12:48:31] NOTICE: Undefined variable: interestsNode (/REDACTED/plugins/importexport/users/UserExportDom.inc.php:69)
[28-Jul-2011 12:48:31] NOTICE: Undefined variable: interestsNode (/REDACTED/plugins/importexport/users/UserExportDom.inc.php:69)
[28-Jul-2011 12:48:31] NOTICE: Undefined variable: interestsNode (/REDACTED/plugins/importexport/users/UserExportDom.inc.php:69)
[28-Jul-2011 12:48:32] NOTICE: Undefined variable: interestsNode (/REDACTED/plugins/importexport/users/UserExportDom.inc.php:69)
[28-Jul-2011 12:48:32] NOTICE: Undefined variable: interestsNode (/REDACTED/plugins/importexport/users/UserExportDom.inc.php:69)
[28-Jul-2011 12:48:32] NOTICE: Undefined variable: interestsNode (/REDACTED/plugins/importexport/users/UserExportDom.inc.php:69)
[28-Jul-2011 12:48:32] NOTICE: Undefined variable: interestsNode (/REDACTED/plugins/importexport/users/UserExportDom.inc.php:69)
[28-Jul-2011 12:48:32] NOTICE: Undefined variable: interestsNode (/REDACTED/plugins/importexport/users/UserExportDom.inc.php:69)
[28-Jul-2011 12:48:32] NOTICE: Undefined variable: interestsNode (/REDACTED/plugins/importexport/users/UserExportDom.inc.php:69)
[29-Jul-2011 02:57:51] ocs2: 404 Not Found
[29-Jul-2011 06:54:46] ocs2: DB Error: Duplicate entry 'da8a45kpvc6sjs3e5iplua0vm0' for key 'sessions_pkey'
Salvatore
 
Posts: 2
Joined: Fri Jul 29, 2011 8:17 am

AcronPlugin errors

Postby Salvatore » Sat Jul 30, 2011 11:46 am

OK, clearing the caches and turning on AcronPlugin has eliminated most of the errors, at least so far, except for the AcronPlugin errors.

What I don't understand about the errors is that the settings file (fc-pluginSettings-0-0-AcronPlugin.php) exists and has the correct permissions (755 for the cache folder, 644 for the file).

Any suggestions?

[30-Jul-2011 08:43:29] ocs2 has produced an error
Message: WARNING: include(/.../cache/fc-pluginSettings-0-0-AcronPlugin.php) [<a href='function.include'>function.include</a>]: failed to open stream: No such file or directory
In file: /.../lib/pkp/classes/cache/FileCache.inc.php
At line: 45
Stacktrace:
Server info:
OS: Linux
PHP Version: 5.2.17
Apache Version: N/A
DB Driver: mysql
DB server version: 5.1.58-community-log
[30-Jul-2011 08:43:29] ocs2 has produced an error
Message: WARNING: include() [<a href='function.include'>function.include</a>]: Failed opening '/.../cache/fc-pluginSettings-0-0-AcronPlugin.php' for inclusion (include_path='.:/.../classes:/.../pages:/.../lib/pkp:/.../lib/pkp/includes:/.../lib/pkp/classes:/.../lib/pkp/pages:/.../lib/pkp/lib/adodb:/.../lib/pkp/lib/phputf8:/.../lib/pkp/lib/pqp/classes:/.../lib/pkp/lib/smarty:.:/usr/lib64/php:/usr/lib/php')
In file: /.../lib/pkp/classes/cache/FileCache.inc.php
At line: 45
Stacktrace:
Server info:
OS: Linux
PHP Version: 5.2.17
Apache Version: N/A
DB Driver: mysql
DB server version: 5.1.58-community-log
Salvatore
 
Posts: 2
Joined: Fri Jul 29, 2011 8:17 am

Re: error_log: warnings and 404s

Postby jmacgreg » Tue Aug 02, 2011 6:55 pm

Hi Salvatore,

This is most likely actually a problem with the permissions settings for your cache directories -- see viewtopic.php?f=3&t=2479 and viewtopic.php?f=3&t=2129. You may also want to see this FAQ entry regarding file permissions issues. Let us know if you're still running into problems after looking at the threads/FAQ entry.

Cheers,
James
jmacgreg
 
Posts: 4190
Joined: Tue Feb 14, 2006 10:50 am

Re: error_log: warnings and 404s

Postby jmacgreg » Tue Aug 02, 2011 6:55 pm

(NB -- don't forget to apply any permissions/ownership changes recursively to all files and directories in the cache/ dir.)
jmacgreg
 
Posts: 4190
Joined: Tue Feb 14, 2006 10:50 am


Return to OCS Technical Support

Who is online

Users browsing this forum: No registered users and 0 guests