Forums / Setup & design / How to access the admin pages?

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.

eZ debug

Timing: Jan 19 2025 03:17:45
Script start
Timing: Jan 19 2025 03:17:45
Module start 'content'
Timing: Jan 19 2025 03:17:45
Module end 'content'
Timing: Jan 19 2025 03:17:45
Script end

Main resources:

Total runtime0.1743 sec
Peak memory usage2,048.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0058 590.0703180.8359
Module start 'content' 0.00580.0059 770.906397.7578
Module end 'content' 0.01170.1626 868.6641525.8047
Script end 0.1743  1,394.4688 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00351.9880200.0002
Check MTime0.00140.7976200.0001
Mysql Total
Database connection0.00060.335510.0006
Mysqli_queries0.123170.63701410.0009
Looping result0.00120.67691390.0000
Template Total0.162293.110.1622
Template load0.00090.514510.0009
Template processing0.161392.555810.1613
Override
Cache load0.00070.380910.0007
Sytem overhead
Fetch class attribute can translate value0.00080.476810.0008
XML
Image XML parsing0.00020.114110.0002
General
dbfile0.00422.4294200.0002
String conversion0.00000.003730.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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/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