LetoDMS Community Forum
op.FolderAccess.php blank - Printable Version

+- LetoDMS Community Forum (https://community.letodms.com)
+-- Forum: LetoDMS Support (https://community.letodms.com/forumdisplay.php?fid=4)
+--- Forum: Technical Support (https://community.letodms.com/forumdisplay.php?fid=10)
+--- Thread: op.FolderAccess.php blank (/showthread.php?tid=265)



op.FolderAccess.php blank - max - 03-15-2011

Hi,

a while ago the out.keywords.php page was blank, I found there was "^M" characters in the file after a semi-colon. I removed it and it worked fine.

Now the op/op.FolderAccess.php page is displaying blank when I tried to edit access for a folder and added a group to the folders access list.

Is anyone experiencing a similar problem or is it the fault of my system?

I am running Ubuntu server 10.10; PHP 5.3.5; MySQL 5.1; letoDMS-3.0.0-RC2
I used the unzip program I got from apt-get ubuntu repository.

UPDATE:
There seems to a problem only when I add the group to the access list not any individual user. The same is happening at the online demo site too!

Any help is appreciated.
Thanks



RE: op.FolderAccess.php blank - administrator - 03-15-2011

(03-15-2011, 01:12 AM)max Wrote: Hi,

a while ago the out.keywords.php page was blank, I found there was "^M" characters in the file after a semi-colon. I removed it and it worked fine.

Now the op/op.FolderAccess.php page is displaying blank when I tried to edit access for a folder and added a group to the folders access list.

Is anyone experiencing a similar problem or is it the fault of my system?

I am running Ubuntu server 10.10; PHP 5.3.5; MySQL 5.1; letoDMS-3.0.0-RC2
I used the unzip program I got from apt-get ubuntu repository.

UPDATE:
There seems to a problem only when I add the group to the access list not any individual user. The same is happening at the online demo site too!

Any help is appreciated.

Hey max

Run this please and post the results here

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

Thanks

LetoDMS team
Thanks




RE: op.FolderAccess.php blank - Doudoux - 03-15-2011

Hi

In "op.FolderAccess.php" file change line 95

PHP Code:
if (!is_object(getGroup($_GET["groupid"]))) { 

to

PHP Code:
if (!is_object($dms->getGroup($_GET["groupid"]))) { 

Doudoux


RE: op.FolderAccess.php blank - max - 03-15-2011

Hey admin,

here is the errors on the op.FolderAccess.php page I got:

PHP Code:
Strict Standardsmktime() [function.mktime]: You should be using the time() function instead in /usr/local/apache2/letoDMS/inc/inc.ClassSession.php on line 75

Fatal error
Call to undefined function getGroup() in /usr/local/apache2/letoDMS/op/op.FolderAccess.php on line 95 

By way, I did what doudoux suggested above and its working now. Thanks a lot doudoux.

Thanks.