Loading...
 
Features / Usability

Features / Usability


Error in permissions of the file galleries

posts: 1

Hi,
since a few days I am not allowed to change the permissions of the file galleries (tikiwiki-1.9.4). I receive the following error message.

Notice: Undefined variable: tiki_p_admin_objects in /srv/www/htdocs/tiki/tiki-objectpermissions.php on line 11

The Apache error.log shows following:
error client 10.0.0.45 PHP Notice: Undefined variable: tiki_p_admin_objects in /srv/www/htdocs/tiki/tiki-objectpermissions.php on line 11, referer: http://xxx/tiki-file_galleries.php

An Update on 1.9.5 doesn't fix the Error. A second independent Installation shows the same Error.

Does anybody now what to do? Any help would be great.

Cheers
Torge

posts: 3 Germany

Hi all!

I have the same problem, and a new installation didn't solve the problem.
It's the same in picture galleries and the tracker tool.
Generally everything with an object permissions, I think.
When I try to set permissions manually, the attached screen shows up.

Would be awesome if you guys know a solution, because i need this feature urgently.

I first recognized it after updating from 1.9.2 to 1.9.4.
Running 1.9.5 now.


Thx in advance...


Andee

posts: 3 Germany

More info

PHP Version 4.3.10
Linux p15175203 2.6.9-041221 #1 SMP
MySQL 4.0.18
XML Support active
XML Namespace Support active
EXPAT Version 1.95.6


posts: 1584 Canada

Maybe the sql update script 1.8.x to 1.9.x was not run?

Is everything OK now?

M ;-)


posts: 11 China

Hi,

I'm experiencing this same problem, having just upgraded from 1.9.6 to 1.9.7.

When editing the image gallery permissions, the following error appears at the top of the page:

Notice: Undefined variable: tiki_p_admin_objects in /raid_array/sites/www.thesite.com/tiki197/tiki-objectpermissions.php on line 11

Did anyone come up with a fix for this?

Any help would be gratefully appreciated.

Dylan.


posts: 3 Germany

Hi again,

I still have the problem, although I posted it already some time ago.
No object permissions changes needed to made, but now I need to (with the tracker) and just can't.
I would also appreciate very much a solution.
I did run the 1.8 to 1.9 SQL script, but the problem still exit.


andeezet


posts: 113 Ireland

This variable should be defined if it is in the users_permissions table of the database. The easiest ways to check is to

  • Use phpmyadmin or similar tool to look at the users_permissions table for an entry tiki_p_admin_objects

OR

  • Admin -> Groups, and pick any group. Look at the permissions of that group (by clicking on the key icon). Select the type 'tiki' (in the dropdown after the word FIND) and see if one of the options is tiki_p_admin_objects.


If the permission is not there, then either run the install script (that should populate it) or manually insert it into the database (not described here, since I am not recommending this).

If the permission is there and you are still getting the error, please follow up

gg