Forums / Install & configuration / Can't login to admin after instalation

Can't login to admin after instalation

Author Message

Steve Bibayoff

Thursday 01 April 2004 2:44:56 pm

Hello,

I can't login after the intial installation. When I try, it just brings me back to the orginal login in login page w/o any errors or the like. Tried different platforms/browsers. This is on a Debian 3.0 with some packages from testing. Relevant packages versions:

eZ Publish 3.3-4
Apache 1.3.26
mysql 3.23.49
php 4.1.2

The setup wizard only complained about 2 things:
1) php was an experiemtnal version(I said to ignore).
2) needed to add "AcceptPathInfo" into httpd.conf. Since this is apache 1.3 and doesn't use "AcceptPathInfo" I told it to ignore.

I tried to set it up with both url and host(I would eventually need to do host) and it did the same thing both times. There is nothing in none of the logs to indicate anthing is wrong.

pasted below are my httpd.conf file(comments, libs and obvious non-issues stripped) and my site.ini.append.php file

TIA

Steve

----httpd.conf----------------
ServerType standalone
ServerRoot /etc/apache
LockFile /var/lock/apache.lock
PidFile /var/run/apache.pid
ScoreBoardFile /var/run/apache.scoreboard
TimeOut 300
KeepAlive on
MaxKeepAliveRequests 100
KeepAliveTimeout 15
MinSpareServers 5
MaxSpareServers 10
StartServers 5
MaxClients 150
MaxRequestsPerChild 100
Listen 1.2.3.4:80
ExtendedStatus On
User www-data
Group www-data
<IfModule mod_userdir.c>
UserDir public_html
</IfModule>
<Directory /home/*/public_html>
AllowOverride FileInfo AuthConfig Limit
Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
<Limit GET POST OPTIONS PROPFIND>
Order allow,deny
Allow from all
</Limit>
<Limit PUT DELETE PATCH PROPPATCH MKCOL COPY MOVE LOCK UNLOCK>
Order deny,allow
Deny from all
</Limit>
</Directory>
<IfModule mod_dir.c>
DirectoryIndex index.html index.htm index.shtml index.cgi index.php
</IfModule>
AccessFileName .htaccess
<Files ~ "^\.ht">
Order allow,deny
Deny from all
</Files>
UseCanonicalName off
TypesConfig /etc/mime.types
DefaultType text/plain
<IfModule mod_mime_magic.c>
MIMEMagicFile share/magic
</IfModule>
HostNameLookups off
ErrorLog /var/log/apache/error.log
LogLevel info
ServerSignature Off
Alias /icons/ /usr/share/apache/icons/
<Directory /usr/share/apache/icons>
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory /usr/lib/cgi-bin/>
AllowOverride None
Options ExecCGI
Order allow,deny
Allow from all
</Directory>
AddDefaultCharset on
ErrorDocument 404 /index.php
ErrorDocument 403 /index.php
ErrorDocument 401 /index.php
ErrorDocument 400 /index.php
Alias /doc/ /usr/share/doc/
<Location /doc>
order deny,allow
deny from all
allow from 127.0.0.0/255.0.0.0
Options Indexes FollowSymLinks MultiViews
</Location>
NameVirtualHost 1.2.3.4:80
<VirtualHost 1.2.3.4:80>
<Directory /var/www>
Options FollowSymLinks
AllowOverride None
</Directory>
RewriteEngine On
RewriteRule !(^/design|^/var/.*/storage|^/var/storage|^/var/.*/cache|^/var/cache|^/extension/.*/design|^/kernel/setup/packages).*\.(gif|css|jpg|png|jar|js|ico|pdf|swf)$ /index.php
ServerAdmin xx@xxx.com
DocumentRoot /var/www
ServerName www1.xxx.com
ServerAlias xxx.com
UseCanonicalName off
LogLevel info
ErrorDocument 404 /index.php
ErrorDocument 403 /index.php
ErrorDocument 402 /index.php
ErrorDocument 401 /index.php
ErrorDocument 400 /index.php
</VirtualHost>
<VirtualHost 1.2.3.4:80>
<Directory /var/www>
Options FollowSymLinks
AllowOverride None
</Directory>
RewriteEngine On
RewriteRule !(^/design|^/var/.*/storage|^/var/storage|^/var/.*/cache|^/var/cach\e|^/extension/.*/design|^/kernel/setup/packages).*\.(gif|css|jpg|png|jar|js|ico\|pdf|swf)$ /index.php
ServerAdmin xx@xxx.com
DocumentRoot /var/www
ServerName admin.xxx.com
UseCanonicalName off
LogLevel info
ErrorDocument 404 /index.php
</VirtualHost>

----admin/site.ini.append.php-------
<?php /* #?ini charset="utf8"?
[SiteAccessSettings]
RequireUserLogin=true
[DesignSettings]
StandardDesign=standard
SiteDesign=admin
[FileSettings]
VarDir=var/corporate
[ContentSettings]
TranslationList=
[SiteSettings]
SiteName=Corporate
SiteURL=www1.xxx.com
[DatabaseSettings]
DatabaseImplementation=ezmysql
Server=localhost
Database=xxx
User=xxx
Password=xxx
Charset=
Socket=disabled
[InformationCollectionSettings]
EmailReceiver=
[UserSettings]
RegistrationEmail=
[MailSettings]
AdminEmail=admin@localhost
EmailSender=
[RegionalSettings]
Locale=eng-US
ContentObjectLocale=eng-US
TextTranslation=enabled
*/ ?>

Lazaro Ferreira

Friday 02 April 2004 10:38:59 am

Hi,

Turn on Debug output at <b>yourdir</b>/settings/siteaccess/<b>yourdefaultsiteaccessname</b>/site.ini.append and see what is happening

By the way the recommended php version for EZP 3.3.4 is 4.3.x

if you are able to upgrade to php 4.3.x, do it because it worths

weird things can happen with 4.1.x and 4.2.x php versions

Lazaro
http://www.mzbusiness.com

Steve Bibayoff

Friday 02 April 2004 1:39:16 pm

Hello,

> Turn on Debug output at ...

Did that(sorry forgot to mention, it only complained about teanslations missing).

> if you are able to upgrade to php 4.3.x, do it because it worths
This was apparently the problem. Upgraded to PHP 4.3.3 (along with a whole lot of other things) and now it works.

> weird things can happen with 4.1.x and 4.2.x php versions

Since Debian Stable came with PHP 4.1, I was hoping I wouldn't have any problems. Apparently I was wrong. Now I just have to hope that running a mixed Debian system(stable/testing) won't byte me in another way ;) . It did upgrade a whole lot(>15) of other packages when I upgraded PHP to 4.3, but it does appear it might have been a php problem.

Thanks for the suggestion.

Steve

eZ debug

Timing: Jan 19 2025 07:25:12
Script start
Timing: Jan 19 2025 07:25:12
Module start 'content'
Timing: Jan 19 2025 07:25:13
Module end 'content'
Timing: Jan 19 2025 07:25:13
Script end

Main resources:

Total runtime0.8513 sec
Peak memory usage4,096.0000 KB
Database Queries194

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0156 589.0938180.8203
Module start 'content' 0.01560.6302 769.9141531.3594
Module end 'content' 0.64570.2055 1,301.2734337.4766
Script end 0.8512  1,638.7500 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00420.4935210.0002
Check MTime0.00140.1678210.0001
Mysql Total
Database connection0.00080.092510.0008
Mysqli_queries0.745687.58831940.0038
Looping result0.00200.23921920.0000
Template Total0.813695.620.4068
Template load0.00240.286420.0012
Template processing0.811295.290320.4056
Template load and register function0.00020.020910.0002
states
state_id_array0.00070.085310.0007
state_identifier_array0.00130.156620.0007
Override
Cache load0.00210.24861800.0000
Sytem overhead
Fetch class attribute can translate value0.00120.136130.0004
Fetch class attribute name0.00110.131230.0004
XML
Image XML parsing0.00050.058830.0002
class_abstraction
Instantiating content class attribute0.00000.001230.0000
General
dbfile0.00210.2451210.0001
String conversion0.00000.000730.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
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
7content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
4content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 16
 Number of unique templates used: 5

Time used to render debug report: 0.0002 secs