Closed (fixed)
Project:
Tree Access Module (pacs)
Version:
4.7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
13 Jun 2006 at 03:55 UTC
Updated:
27 Jun 2006 at 22:30 UTC
I installed PACS by creating PACS directory in Modules, copying the 4 files over, and then excecuting the SQL script pacs.mysql "successfully" using my webhost environment (bluehost.com).
I enabled PACS in modules, yet when I try to look at the "tree" option when editing a content page, I get this error:
warning: array_merge() [function.array-merge]: Argument #2 is not an array in /home/garymanf/public_html/modules/pacs/pacs.module on line 60.
Am I doing something wrong or is this a bug?
Comments
Comment #1
gammaRay commentedbtw, I have PHP 5.0.4 installed.
Comment #2
gammaRay commentedI redid the installation to try it again. Here's the web based results of the execution of pacs.mysql:
Comment #3
peterone commentedHi,
I couldn't reproduce the bug, but I uploaded a new version that I believe will resolve it. Please download the new version from cvs - it will only appear on the download page tomorrow.
Thanks,
Peter
Comment #4
gammaRay commentedThanks Peter. I also just found how to remove the error messages and possible why it was happening. When viewing the Tree after first enabling it and creating some content, the "Root" is actually blank for every role. This is where the error message happens. What I do is then click on the blank root box, then click on a role, and then Grant that role a permission (view, etc.). I reload the page and now "Root" shows on the root box instead of blank and there is no error message.
Note, this has to be done for all new roles. So if I create a new role, then when viewing the tree with that role selected, Root is blank and the same error will occur. I have to then set new branch grants for that role and Root is set and no error messages.
Hope this helps. I'll try the new version. Thanks for a great module!
Gary
Comment #5
(not verified) commented