How to access the admin pages?

Author Message

Theo Molenaar

Saturday 13 December 2003 8:33:23 am

Maybe a stupid question, but how do I access the admin pages? I just installed eZ 3.2.3 and the setup wizzard told me to access http://www.mysite.com/index.php/admin, but I get a 404 error. The normal access works fine.

Mike Borozdin

Saturday 13 December 2003 11:36:47 am

You should use this:
http://www.mysite.com/index.php/{site_path}_admin
{site_path} is the path to your site, you must ave specified it when isntalling EZ, if you didn't change it, it can be:
Corporate website: index.php/corporate_admin
Gallery: index.php/gallery_admin
Bookshop: index.php/bookshop_admin
News: index.php/news_admin
Plain: index.php/plain_admin
Personal: index.php/mysite_admin

Theo Molenaar

Sunday 14 December 2003 10:31:42 am

Doesn't work. Again a 404 error. Also all the links on the homepage are also not working. E.g. a link refers to http://www.mysite.com/index.php/content/view/full/48, but again this gives a 404 error.

BTW: the setup wizzard ends with links to the admin page and the user page. These links both don't work because they refer to http://www.mysite.com/index.php/news and http://www.mysite.com/index.php/news_admin. I previously said that the user page works, but I come to this via http://www.mysite.com/index.php.

I did a reinstallation to check if i missed someting, but again I'm getting the same problem. Who can help?

It seems that the webserver is looking for a directory called http://www.mysite.com/index.php/news_admin and that the part after 'index.php' is not parsed as extra info. Is this a setting in the webserver environment? I am running Linux Redhat 8.0.

Theo Molenaar

Monday 15 December 2003 10:47:12 am

I am getting further (I think). It seems that the rewriteengine doesn't work properly, or that the .htaccess file doesn't have the proper syntax. I haven't modified the .htaccess file, I just copied it from .htaccess_root as the install guide tells.

httpd.conf:
LoadModule rewrite_module modules/mod_rewrite.so

.htaccess:
<FilesMatch ".">
order allow,deny
deny from all
</FilesMatch>

<FilesMatch "(index\.php|\.(gif|jpe?g|png|css|js|html))$">
order allow,deny
allow from all
</FilesMatch>

RewriteEngine On
RewriteRule !\.(gif|jpe?g|png|css|js|html)$ index.php

DirectoryIndex index.php

Who can help?

Theo Molenaar

Monday 15 December 2003 11:48:35 am

Found it. It is NOT the rewrite enigine, but the PATH_INFO variable. See post
http://ez.no/developer/ez_publish_3/forum/install_configuration/note_apache_2043_and_path_info__1
for full details.

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 19 2025 05:17:25
Script start
Timing: Jan 19 2025 05:17:25
Module start 'layout'
Timing: Jan 19 2025 05:17:25
Module start 'content'
Timing: Jan 19 2025 05:17:26
Module end 'content'
Timing: Jan 19 2025 05:17:26
Script end

Main resources:

Total runtime1.2093 sec
Peak memory usage4,096.0000 KB
Database Queries63

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0046 589.1563152.6250
Module start 'layout' 0.00470.0025 741.781339.4453
Module start 'content' 0.00721.1999 781.2266497.5234
Module end 'content' 1.20710.0021 1,278.750012.1641
Script end 1.2092  1,290.9141 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00300.2477160.0002
Check MTime0.00120.0989160.0001
Mysql Total
Database connection0.00070.059010.0007
Mysqli_queries1.155195.5181630.0183
Looping result0.00060.0475610.0000
Template Total1.171596.920.5857
Template load0.00200.168920.0010
Template processing1.169496.704720.5847
Template load and register function0.00020.012510.0002
states
state_id_array0.00170.138210.0017
state_identifier_array0.00120.099920.0006
Override
Cache load0.00170.1441400.0000
Sytem overhead
Fetch class attribute can translate value0.00070.055120.0003
Fetch class attribute name0.00140.114450.0003
XML
Image XML parsing0.00020.020120.0001
class_abstraction
Instantiating content class attribute0.00000.000950.0000
General
dbfile0.00180.1472100.0002
String conversion0.00000.000440.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
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
9content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
6content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 22
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs