Possible bug in "Role settings"

Author Message

Jerry Jalava

Tuesday 29 April 2003 9:02:34 am

Hi,

Everytime I edit my role policies, they dont update after pressing the store -button. I can change everything ok, but after I press store -button it shows the old stuff. Even remove don't work...

So what might be the problem?

I would like to know does someone else have this kind of problem in this new eZ 3.0.2 release...

Regards,
Jerry

Paul Borgermans

Tuesday 29 April 2003 11:09:34 am

>I would like to know does someone else have this kind of
>problem in this new eZ 3.0.2 release...

No, no problems here when logged in as admin.

1) Can you create new roles?

2) Do you try this from another account? If yes, you may not have the right permissions in your role to edit other roles.

Paul

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans

Jerry Jalava

Tuesday 29 April 2003 5:07:11 pm

Hi,

I'm using the admin account. I just can't think of any solution for this problem. Before I updated to the new version of 3rd release I didn't have this problem... This is quite bad in this situation where I'm building a very big portal in Spain and these kind of problems just drop from the sky...

The only reason I updated to the new release was because most of the kernel bugs had been corrected, but now I have new problems to think 'bout and that just don't fit in my schedule.. :(

But if you Paul could think of something it would be more than great...
And to answer your other question: Yes, I can create new roles.

The problem is that I can't anymore edit the old roles (ie. Anonymous)...
And that is must when you're building site like this...

Paul Borgermans

Wednesday 30 April 2003 1:18:12 am

Some more things then:

- Did you upgrade the database (see the database upgrade scripts in the root of the installation)?

- Turn on debug output in your site.ini(.append(.php)) and look for specific error messages

- Did you change the SiteName in [UserSettings]? If yes, change your password. Log out (and exit your browser) and log in again.

There may be something dirty in your database.

Paul

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans

Jerry Jalava

Wednesday 30 April 2003 2:48:50 am

Hi,

>- Did you upgrade the database (see the database upgrade scripts in the >root of the installation)?

Well on the 3.0.2 version the database update isn't there anymore its in update\database\mysql\ folder... But there wasn't any updates in this release...

>- Turn on debug output in your site.ini(.append(.php)) and look for >specific error messages

Tried that, but it didn't show anything unusual...

>- Did you change the SiteName in [UserSettings]? If yes, change your >password. Log out (and exit your browser) and log in again.

That worked... one time :(... When I went back to role settings, I had alot of roles on the list. Everytime I had tried it had added/removed it but didn't refresh the list in admin site. And after I changed it again and pressed store button, it doesn't update the list... It only updates the list after I logout and restart browser.

Could it be cache problem?
My cache is disabled and the only error I get all the time is "Couldn't create cache file 'var/cache/ini/275b0d5c3190de0229bf0b9cd528e844.php', perhaps wrong permissions". I have ran the modfix script...

>There may be something dirty in your database.

How could I remove it without loosing my data...

Regards,
Jerry

Paul Borgermans

Wednesday 30 April 2003 3:08:57 am

Try deleteing the entire cache contents and look if the owner of the var/* is the same as the one the webserver runs with and if the owner/group have write access.

hth

Paul

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans

Jerry Jalava

Wednesday 30 April 2003 3:45:09 am

Hi,

I removed the var contents and it has the apache's user as owner. And the deleting solved this problem. :)

Thank you very much for your help!

Regards,
Jerry

Jerry Jalava

Wednesday 11 June 2003 2:08:27 am

HI,

What if the apaches user group is "nobody"?
'Cause I tried to change the permissions of /var folder in different server where apache's usergroup is nobody and it didn't work. When I put debuggin on, it says the folder has wrong permissions...

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 05:21:35
Script start
Timing: Jan 18 2025 05:21:35
Module start 'layout'
Timing: Jan 18 2025 05:21:35
Module start 'content'
Timing: Jan 18 2025 05:21:36
Module end 'content'
Timing: Jan 18 2025 05:21:36
Script end

Main resources:

Total runtime0.7016 sec
Peak memory usage4,096.0000 KB
Database Queries72

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0051 587.9063152.6250
Module start 'layout' 0.00510.0029 740.531339.4453
Module start 'content' 0.00800.6920 779.9766600.9453
Module end 'content' 0.70000.0016 1,380.921920.1641
Script end 0.7015  1,401.0859 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00490.6977160.0003
Check MTime0.00140.1929160.0001
Mysql Total
Database connection0.00070.095810.0007
Mysqli_queries0.626189.2366720.0087
Looping result0.00060.0845700.0000
Template Total0.669595.420.3348
Template load0.00390.557620.0020
Template processing0.665694.873220.3328
Template load and register function0.00020.030610.0002
states
state_id_array0.00120.164110.0012
state_identifier_array0.00140.192720.0007
Override
Cache load0.00350.4971620.0001
Sytem overhead
Fetch class attribute can translate value0.00050.068620.0002
Fetch class attribute name0.00100.141790.0001
XML
Image XML parsing0.00060.087720.0003
class_abstraction
Instantiating content class attribute0.00000.0034110.0000
General
dbfile0.00070.1065170.0000
String conversion0.00000.001340.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
8content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
15content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
8content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 36
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs