Forums / Setup & design / Null User SiteAccess makes it unavailable from "Design"

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

eZ debug

Timing: Jan 18 2025 11:15:19
Script start
Timing: Jan 18 2025 11:15:19
Module start 'content'
Timing: Jan 18 2025 11:15:20
Module end 'content'
Timing: Jan 18 2025 11:15:20
Script end

Main resources:

Total runtime0.9349 sec
Peak memory usage4,096.0000 KB
Database Queries200

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0069 587.9531180.8125
Module start 'content' 0.00690.8079 768.7656543.5859
Module end 'content' 0.81470.1201 1,312.3516337.3828
Script end 0.9348  1,649.7344 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00380.4074210.0002
Check MTime0.00140.1548210.0001
Mysql Total
Database connection0.00070.073510.0007
Mysqli_queries0.861992.18702000.0043
Looping result0.00180.18851980.0000
Template Total0.901396.420.4506
Template load0.00200.219020.0010
Template processing0.899296.180120.4496
Template load and register function0.00020.019310.0002
states
state_id_array0.00200.217310.0020
state_identifier_array0.00210.219920.0010
Override
Cache load0.00170.1843490.0000
Sytem overhead
Fetch class attribute can translate value0.00130.134430.0004
Fetch class attribute name0.00100.105560.0002
XML
Image XML parsing0.00090.098530.0003
class_abstraction
Instantiating content class attribute0.00000.002070.0000
General
dbfile0.00180.1892270.0001
String conversion0.00000.000630.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

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
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
8content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
11content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 28
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs