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

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