Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Problem with assigning access
#1
Hi,
playing with 3.0 RC4 and assigning access to folders on a Linux/Apache system, PHP 5.2.16 and MySQL 5.0.92-community.

If I click on Copy inherited access list I get

=================================================
Warning: Invalid argument supplied for foreach() in /home/pactcsor/public_html/internal/docflow/Core/inc.ClassFolder.php on line 304

Warning: Invalid argument supplied for foreach() in /home/pactcsor/public_html/internal/docflow/Core/inc.ClassFolder.php on line 309

Warning: Cannot modify header information - headers already sent by (output started at /home/pactcsor/public_html/internal/docflow/Core/inc.ClassFolder.php:304) in /home/pactcsor/public_html/internal/docflow/op/op.FolderAccess.php on line 283
================================================
I get the same error if I click Start with empty access list.

Just me or a general problem.
Thanks
Reply
#2
(04-09-2011, 09:52 PM)dedide Wrote: Hi,
playing with 3.0 RC4 and assigning access to folders on a Linux/Apache system, PHP 5.2.16 and MySQL 5.0.92-community.

If I click on Copy inherited access list I get

=================================================
Warning: Invalid argument supplied for foreach() in /home/pactcsor/public_html/internal/docflow/Core/inc.ClassFolder.php on line 304

Warning: Invalid argument supplied for foreach() in /home/pactcsor/public_html/internal/docflow/Core/inc.ClassFolder.php on line 309

Warning: Cannot modify header information - headers already sent by (output started at /home/pactcsor/public_html/internal/docflow/Core/inc.ClassFolder.php:304) in /home/pactcsor/public_html/internal/docflow/op/op.FolderAccess.php on line 283
================================================
I get the same error if I click Start with empty access list.

Just me or a general problem.
Thanks

hi

thanks for trying RC4

please run this and post the results here

http://forums.letodms.com/showthread.php?tid=308

Thanks

LetoDMS Team,
Reply
#3
Hi

In "inc.ClassFolder.php" file lines 275 and 304 change
PHP Code:
foreach ($this->_notifyList["users"] as $u) { 
to
PHP Code:
if (empty($this->_notifyList))
      
$this->getNotifyList();

foreach (
$this->_notifyList["users"] as $u) { 

Doudoux
Reply
#4
(04-11-2011, 03:56 PM)Doudoux Wrote: Hi

In "inc.ClassFolder.php" file lines 275 and 304 change
PHP Code:
foreach ($this->_notifyList["users"] as $u) { 
to
PHP Code:
if (empty($this->_notifyList))
      
$this->getNotifyList();

foreach (
$this->_notifyList["users"] as $u) { 

Doudoux

That seems to have fixed it. Thanks muchly.
Reply
#5
(04-11-2011, 09:03 PM)dedide Wrote:
(04-11-2011, 03:56 PM)Doudoux Wrote: Hi

In "inc.ClassFolder.php" file lines 275 and 304 change
PHP Code:
foreach ($this->_notifyList["users"] as $u) { 
to
PHP Code:
if (empty($this->_notifyList))
      
$this->getNotifyList();

foreach (
$this->_notifyList["users"] as $u) { 

Doudoux

That seems to have fixed it. Thanks muchly.

LetoDMS-3.0.0-RC5 will fix it too.

Uwe
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)