Null User SiteAccess makes it unavailable from "Design"

Author Message

C C

Wednesday 01 February 2006 12:03:52 pm

Hello,
During installation, I intentionally left blank the "User access" directory, to avoid creating an extra directory in the structure.

The installation proceeded without problems. Now, when I login as an administrator, and I try to "Design" the user access, I cannot. The User access is not available in the drop-down box that says "SiteAccess" - Only the admin SiteAccess is listed.

This seems to be an obvious bug (The fact that I used a blank directory for the user SiteAccess gives a clue).

QUESTION:
Do I have any way of recovering the install by easily changing the SiteAccess to some directory, or am I better off deleting the whole thing and starting again?

COMMENT:
- The installation script should be modified so that it does not accept null entries for a SiteAccess, or even better
- Let the user use null entries, and catch the problem in other parts of the Admin interface.

Any help will be appreciated

ChC

Thomas Nunninger

Wednesday 01 February 2006 1:40:37 pm

In which siteaccess do you log in? Did you install another siteaccess earlier? Where did your settings like database, ... go? What is inserted as AvailableSiteAccesList in /settings/override/site.ini.append.php?

Thomas

C C

Wednesday 01 February 2006 8:38:21 pm

Answers inline:

> In which siteaccess do you log in?
The user SiteAccess is null. The Admin SiteAccess is XYZ
- I login to domain/index.php/XYZ
- Everything is working fine, EXCEPT that the drop-down box for SiteAccess only showsx XYZ (of course, it doesn't know how to show me a "null" option in the list

> Did you install another siteaccess earlier?
No

> Where did your settings like database, ... go?
I don't understand your question

> What is inserted as AvailableSiteAccesList in /settings/override/site.ini.append.php?
It says:
AvailableSiteAccessList[]
AvailableSiteAccessList[]=XYZ

See? It doesn't know what to do with the "null" directory. The drop-down box, instead of letting me chose between a blank line, for example, and XYZ, only shows my XYZ

So, my question still stands: Do I have any way of recovering the install by easily changing the SiteAccess to some directory, or am I better off deleting the whole thing and starting again?

And of course, my comments about bugs, documenting them, and if possible fixing them :) also stand

Cheers!

ChC

Thomas Nunninger

Wednesday 01 February 2006 10:30:00 pm

Hi,

that's what I expected :-) There is only one listed siteaccess "XYZ". How should the system recognize, which siteaccess you are using? (If you have URI matching, your urls will look like index.php/<siteaccess>/<module>/<function>/<parameters...> or with nice urls index.php/<siteaccess>/<descriptive_path>/<to>/<object>.) Where should the settings (database, ...) of the "null" siteaccess go when your OS won't create a directory /settings/siteaccess/<null>. http://ez.no/doc/ez_publish/technical_manual/3_6/concepts_and_basics will help understanding the system if you haven't read yet.

If you haven't done much till now, I propose to install new. In other cases try to create a new siteaccess manual (if you are familiar with the settings) or save the database and, reinstall and restore the backuped database.

With the bugs: feel free to report them in the bug tracker.

Have a nice day

Thomas

C C

Thursday 02 February 2006 6:34:08 am

Thanks, Thomas, for your time and attention.
Cheers
CC

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 31 2025 00:40:45
Script start
Timing: Jan 31 2025 00:40:45
Module start 'layout'
Timing: Jan 31 2025 00:40:45
Module start 'content'
Timing: Jan 31 2025 00:40:45
Module end 'content'
Timing: Jan 31 2025 00:40:45
Script end

Main resources:

Total runtime0.0223 sec
Peak memory usage6,144.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0049 589.5078151.2422
Module start 'layout' 0.00490.0044 740.7500220.7500
Module start 'content' 0.00930.0116 961.50001,001.8359
Module end 'content' 0.02090.0014 1,963.335937.9922
Script end 0.0223  2,001.3281 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002712.0124140.0002
Check MTime0.00114.7307140.0001
Mysql Total
Database connection0.00062.521010.0006
Mysqli_queries0.002711.910830.0009
Looping result0.00000.049210.0000
Template Total0.00104.610.0010
Template load0.00083.530710.0008
Template processing0.00021.031110.0002
Override
Cache load0.00052.332710.0005
General
dbfile0.00031.216180.0000
String conversion0.00000.036440.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs