Testing the interfaces

These documentation pages are no longer maintained. Please visit the new documentation site.

In this section we test the public interface first. Hereafter we will take a closer look at the administration interface.

Testing the public interface

You should be able to reach the public interface by the following URL:
http://[www.example.com/path]/index.php/tscm (of course you have to replace the part between square brackets.)

The site should popup, which is presented in the following screenshot:

eZ publish will look for the templates in the design directory. Because the "design/tscm" directories are empty, the system falls back to the default templates. These templates are stored in the "design/standard" directory.

Testing the administration interface

The administration interface can be reached by the following URL:
http://[www.example.com/path]/index.php/tscm_admin

The login interface will appear. Type here the eZ publish administrator username and password combination:

username: admin
password: specified during the installation.

After a successful login, your browser should display a page that looks like the following figure:

This is the standard administration page. What you're looking at is the root folder of the TSCM site. Because we did not create any content, the root folder is completely emtpy.

The administration interface will not be discussed in detail. However, throughout this tutorial you will learn how to use some its most important features. The point of this exercise was to bring up the interface and log in. To minimize hassle, simply stay logged in (you'll need to use the administration interface frequently). For a walkthrough of the interface itself, please refer to "The Administration Interface" chapter.

Comments

Strange redirects in admin [solved]

When I'm logged in to the admin site and try to change some settings like anonymous user role, I get this message: Redirecting to /sitename/index.php/sitedesign_admin/role/list and a button to click to redirect

Is this what's supposed to be happening at this point?

OK figured it out - that is supposed to be happening because of the setting: DebugRedirection=enabled in site.ini.append.php

To change it set this to disabled: DebugRedirection=disabled

Charles.

Cant log in as admin

When i try to access the user page it works fine but when accessing the admin page the following message is displayed
The requested page could not be displayed. (1)

The system is unable to display the requested page because of security issues.

Possible reasons:

* You are not logged into the system. Please log in.
* The requested page does not exist. Try changing the URL.

What could be the problem

Debug errors

I've got the same problem. Is it a system bug?
Could somebody help me?

Clearing the /var cache

If you already loaded your pages once or twice, the changes may not show up on the page. In the var/ there is a folder that if deleted will refresh changes made to the site.append.ini.php files.

Errors on Public Interface

Hi

I had the same problem with the user index. I had to login in order to see it but Magne's tip solved the issue. However, eZ keeps sendin the same error report. I wonder if this is critical or what.

Error: Feb 16 2005 10:20:38

Invalid class identifier in subTree() classfilterarray, classID : gallery

Error: Feb 16 2005 10:20:38

Invalid class identifier in subTree() classfilterarray, classID : forum

Warning: PHP Feb 16 2005 10:20:38

strpos(): Empty delimiter. in c:\server\ezweb\var\tscm\cache\template\compiled\node_list-53a1f11f86fd75c390ca37e1610dc99f.php on line 49

same problem

I made the changes in this page of the tutorial,
and had the same problem with the public site,
also made the changes that Magne suggested, and that solved the problem,
but not completely

the debuging display still shows:

Error: Feb 13 2005 13:57:00
Invalid class identifier in subTree() classfilterarray, classID : feedback_form
Error: Feb 13 2005 13:57:00
Invalid class identifier in subTree() classfilterarray, classID : gallery
Error: Feb 13 2005 13:57:00
Invalid class identifier in subTree() classfilterarray, classID : forum

About problems with the public interface...

I think this might help someone. I am new to eZ and ran into a similar problem during the tutorial. Got the errors shown below, and had to log in to view the public page...

Tried to figure out what could cause this, and had a look at the roles. (Admin-interface->"User accounts"->"Roles and policies"->...)

The default role "Anonymous" has the following policy with "Module=user" and "Function=login" limited to "SiteAccess( plain )" just after finishing the installation of the "Plain"-site.

During the tutorial we removed the entire "Plain"-site. If you look at the role "Anonymous" after a few steps, you might find that the policy mentioned above now is limited to "SiteAccess( )". Access to nothing...
Try to edit the existing role and set the limitation to the "tscm"-site ("SiteAccess( tscm )").

This helped me, and now the both the login-problem and the errors are gone

My first experience with eZ is great. Keep up the good work!

/Magne

Trying to display the admin interface returns an error

I made all the changes in settings/, var/ and design/ directories as described in "Creating the TSCM Site" step. I have no problem displaying the non-admin intercaes, but the attempt to access the admin interface returns the following errors:


----------
Fatal error: eZ publish did not finish its request

The execution of eZ publish was abruptly ended, the debug output is present below.

eZ debug
Timing:
Dec 30 2004 18:25:26

Module start 'user'

Warning: PHP
Dec 30 2004 18:25:26

main(var/plain/cache/template/compiled/common.php): failed to open stream: No such file or directory in /htdocs/var/lpi/cache/template/compiled/login-202f6bde913d5dd17b14e0368d39b919.php on line 9

Warning: PHP
Dec 30 2004 18:25:26

main(): Failed opening 'var/plain/cache/template/compiled/common.php' for inclusion (include_path='/htdocs/:.:/pear/lib:/var/www/pear/lib') in /htdocs/var/lpi/cache/template/compiled/login-202f6bde913d5dd17b14e0368d39b919.php on line 9
-------

re: Public interface access

Bård,

do u mean I should download a whole different setup file, or can I adjust something in the one I have to make it work? Just trying to go through the tutorial. I downloaded the file from http://ez.no/content/download/757...5/file/ezpublish-3.5.0_installer.exe

-Fred

I think I have the same problem.

Error: Dec 28 2004 13:27:33

Invalid class identifier in subTree() classfilterarray, classID : feedback_form

Error: Dec 28 2004 13:27:33

Invalid class identifier in subTree() classfilterarray, classID : gallery

Error: Dec 28 2004 13:27:33

Invalid class identifier in subTree() classfilterarray, classID : forum

Warning: PHP Dec 28 2004 13:27:33

strpos(): Empty delimiter. in c:\ezpublish\ezpublish\var\tscm\cache\template\compiled\node_list-53a1f11f86fd75c390ca37e1610dc99f.php on line 49

Public interface access

Fredrik, you have probably installed the Intranet package. This is configured to require login to get access to the public interface (user site).

--bård

I had to login to get the Public interface to show


Any ideas why I had to login? Still after login in some debug errors came up. But page was showing ok.

/Fred

Contents

Building an eZ publish site

Prerequisits
Situation
Creating the TSCM site
Testing the interfaces
Setting up the main layout
Creating sections
The welcome page
The news page
The members page
The guestbook
The links page


Created

17/10/2003
12:58:29 pm
by Balazs Halasy

Last updated

23/11/2004
1:59:33 pm
by Raymond Bosman

Authors

Balazs Halasy
Guttorm Flatabø
Raymond Bosman



This page is part of the eZ Publish documentation. The documentation is available under the GNU Free Documentation License. All contributions will be released under the terms of this license.