Bug 6308 - Custom Block Manager fatal error
Custom Block Manager fatal error
Status: RESOLVED FIXED
Product: OCS
Classification: Unclassified
Component: General
2.3.4
All All
: P3 normal
Assigned To: PKP Support
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-12-16 13:36 PST by James MacGregor
Modified: 2011-02-09 16:15 PST (History)
2 users (show)

See Also:
Version Reported In:
Also Affects:


Attachments
Patch against OCS pre-2.3.4 (3.45 KB, patch)
2010-12-17 09:19 PST, Alec Smecher
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description James MacGregor 2010-12-16 13:36:11 PST
I'm trying to troubleshoot the following forum thread: http://pkp.sfu.ca/support/forum/viewtopic.php?f=3&t=6958&p=26896#p26896. 

However, when I enable the Custom Block Manager, add two blocks, and click save, I get a blank page with the following errors: 

[Thu Dec 16 13:28:57 2010] [error] [client 127.0.0.1] ocs2 has produced an error\n  Message: WARNING: assert(): Assertion failed\n  In file: /Users/jmacgreg/git/ocs/plugins/generic/customBlockManager/CustomBlockManagerPlugin.inc.php\n  At line: 162\n  Stacktrace: \n  Server info:\n   OS: Darwin\n   PHP Version: 5.3.3\n   Apache Version: Apache/2.2.15 (Unix) mod_ssl/2.2.15 OpenSSL/0.9.8l DAV/2 PHP/5.3.3 mod_fastcgi/2.4.2\n   DB Driver: mysql\n   DB server version: 5.1.38

[Thu Dec 16 13:28:57 2010] [error] [client 127.0.0.1] PHP Fatal error:  Call to a member function getPluginPath() on a non-object in /Users/jmacgreg/git/ocs/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 43

I'm not sure whether this has anything to do with Bug 6076 or not, and I don't believe it has anything to do with John's problem. I have a very recent git checkout, and have also very recently run the upgrade script.
Comment 1 Alec Smecher 2010-12-17 09:19:18 PST
Created attachment 3399 [details]
Patch against OCS pre-2.3.4