2 admin siteaccess, no other available

Author Message

Paul Brandt

Saturday 04 December 2004 11:13:38 am

Hi,

I've used the setup wizard in an attempt to install 3.4.4 on a Sun Cobalt 6.0 hosted site. I got as far as the one-to-last page, i.e. before the final "Hurray, you're site has been installed and here are it's access details". In stead, after 30 seconds a 500 error results. Hosting company ensures me there is no PHP-exec time limit (safemode enabled) and tried to install ezPublish for me. With the same poor result.

<i>Something</i> has been achieved though: looking at MySQL I can see a lot of new ez*_* tables (aside to some proprietary ones I installed earlier). Then I found the manual installation procedure which I followed completely. Unfortunately I can't find any references in the manual installation guide to the actual site (news, intra, whatever) one wants to install. Neither anything that relates to the URL one is to consider for either admin or use. Apparently this is auto-generated.

What seemed to be missing were the override folder and files, as well as the var/ folders. I made these myself according to the manual install.guide. There are site-specific folders present (news, intranet, admin) in the siteaccess/ folder. Oddly enough there's also another intranet/ folder present in siteaccess/admin. I'm not sure where that one came from.

When I now address the index.php/admin an administration screen is shown, indicating that I can do some site configuration. Addressing index.php/intranet presents the Content tab without any information, though:

Kernel (20) error..

The requested module intranet could not be found.

Possible reasons for this is:
 * The module name was misspelled, try changing the url. 
 * The module does not exist on this site. 
 * This site uses siteaccess matching in the url and you didn't supply one, try inserting a siteaccess name before the module in the url . 

Finally, using the index.php/admin page, selecting the setup tab and going for package installs, no single package seems to be installed. Clicking one enables me to install it, but I have to select a site access mapping. Oddly again, there are only two options there, admin and admin.

THis seems consistent with what I experience: I can access an (which?) admin page, but I can't access a use page. What's wrong here? Did I forget something? Is there light at the end of this strange, dark installation procedure? Can we get it to work? Has it got to do with a suggestion that we need at least 16 M PHP memory, as suggested on the forum somewhere else?

Panic Panic Panic - support would be helpful (understatement!)

Setup tab, System information shows the following for PHP:

<b>Version</b>
 4.3.5
 
<b>Extensions</b>
 xml, tokenizer, sysvshm, sysvsem, standard, sockets, shmop, session, posix, pgsql, pdf, pcre, overload, mysql, mcrypt, mbstring, ldap, imap, iconv, gettext, gd, ftp, db, curl, ctype, calendar, bcmath, zlib, openssl, apache, Zend Optimizer 
 

Safe mode is on.
Basedir restriction is off.
Global variable registration is on.
File uploading is enabled.
Maximum size of post data (text and files) is 8M.
Script memory limit is .
Maximum execution time is 30 seconds.

Thanks for helping me out here.

Kåre Køhler Høvik

Thursday 09 December 2004 2:26:11 am

Hi

What does <i>settings/override/site.ini.append.php</i> under <i>[SiteAccessSettings]</i> contain ?

Kåre Høvik

Paul Brandt

Thursday 09 December 2004 10:03:54 am

Thanks for looking into this.
If I have failed to locate and hence read the relevant pages in any documentation, please indicate so ("RTFM" :-), as well as provide a link into these.


[SiteAccessSettings]
ForceVirtualHost=false
CheckValidity=false
RequireUserLogin=true
AvailableSiteAccessList[]=admin
DebugAccess=disabled
DebugExtraAccess=disabled
AnonymousAccessList[]=user/register
AnonymousAccessList[]=user/success
AnonymousAccessList[]=user/activate
MatchOrder=uri;host;port
URIMatchType=element
URIMatchElement=1
URIMatchRegexp=^/([^/]+)/
URIMatchRegexpItem=1
HostMatchType=map
HostMatchElement=0
HostMatchRegexp=^(.+)\.example\.com$
HostMatchRegexpItem=1
HostMatchSubtextPre=
HostMatchSubtextPost=.example.com
IndexMatchType=regexp
IndexMatchElement=1
IndexMatchRegexp=^/index_(.+)\.php$
IndexMatchRegexpItem=1
IndexMatchSubtextPre=index_
IndexMatchSubtextPost=.php
PathPrefix=~nmvtest/ezpb/

Kåre Køhler Høvik

Friday 10 December 2004 2:51:20 am

Hi

The override you have is a bit corrupted.

Modifications you need to do <i>settings/override/site.ini.append(.php)</i>:

[SiteAccessSettings]
ForceVirtualHost=false
CheckValidity=false
RequireUserLogin=true
AvailableSiteAccessList[]=admin
AvailableSiteAccessList[]=news # you need to fill in name of base package you selected here.
DebugAccess=disabled
DebugExtraAccess=disabled
MatchOrder=uri
PathPrefix=~nmvtest/ezpb/

Could you also write the settings in <i>settings/override/site.ini.append(.php)</i> [SiteSettings]

Kåre Høvik

Paul Brandt

Friday 10 December 2004 12:59:54 pm

Thanks,

I now understand the use of the AvailableSiteAccessList[]. Adding another line here (intranet) indeed brings me one step further: a page very similar to the admin page is presented.
Strangely enough, I can only enter this site through an Admin log-in page ("Welcome to eZ publish administration") although its url (index.php/intranet/user/login) suggests this to be a user login.
The user site is still not fully operational, since an empty front page is presented. The Layout is very similar to the admin site, although I've setup to use another layout.
Furthermore, selecting any menu item results in an "Error / kernel (1) :: Access denied" page, except for the site map: here some items are presented (contact us, contacts/people, Files/secret file & Hello World, New Article {added by me through Admin}). However, selecting one of these results in an "Error / kernel (20) :: Module not found" page. These links seem to be crippled (Hello World points to /index.php/intranet/rld, secret file points to index.php/intranet/_file and so on).

In short, it seems as if the configuration has been seriously crippled.

The following describes the settings/override/site.ini.append.php [SiteSettings] section:

[SiteSettings]
SiteName=NMV intranet
SiteURL=www.marieholmvereniging.nl
MetaDataArray[author]=eZ systems
MetaDataArray[copyright]=eZ systems
MetaDataArray[description]=Content Management System
MetaDataArray[keywords]=cms, publish, e-commerce, content management, development framework
Dir=
IndexPage=/content/view/full/2/
ErrorHandler=displayerror
DefaultPage=/content/view/full/2/
DefaultAccess=admin
LoginPage=custom
SSLPort=443
SiteList[]

I'd be glad to provide a print of the full site.ini.append.php, if it wasn't such a huge one.

Thanks in advance looking into this.

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