Admin returns to login page after login

Author Message

John Axsom

Wednesday 08 June 2005 1:57:01 pm

Running ez 3.6 on apache 2.0.52 on FC3.

Site runs great with initial install, but as we add folders in the admin interface it doesn't refresh. When you clear the cache, the admin interface asks for the login and when you put in the information and hit login, it doesnt go anywhere. You can put in a wrong username and password and it rejects it correctly.

Front end works fine. Can login and edit existing content no problem.

Does anyone know why this is or is anyone experiencing this same issue? This has happened several times now.

Thanks,
John

kracker (the)

Wednesday 08 June 2005 2:55:12 pm

John,

I'm not sure if your breakdown is similar to mine but here is a report (deep thread w/links) that talks in detail about my past problems with eZ publish 3 and apache 2.0.XX

http://www.ez.no/community/bugs/ezurloperator_php_incompatibility_with_apache2

Also Jon ... I have a lingering question whether our mod_rewrite configurations (might be at least at fault or) to blame.

Would you be so good as to post your mod_rewrite configuration (if you use mod_rewrite in your httpd.conf or .htaccess).

cheers,
//kracker
<i>bubba sparkxxx : runnin' with bubba</i>

Member since: 2001.07.13 || http://ezpedia.se7enx.com/

John Axsom

Thursday 09 June 2005 8:20:52 am

Hi Kracker,

I tried the hacks you had posted but that did not fix the issue.

I'm running Apache from Dag Wieers Repo and have mod-rewrite enabled.

Here is my rewrite rule, its the rewrite rule in the EZ documentation.

RewriteRule !\.(css|js|gif|jpg|png)$ /var/www/html/eztest/index.php

I hope that was what you were referring to with the mod_rewrite config. If not, let me know (I'm relatively new to apache).

Do you have any recommendations for the rewrite rule?

Thanks,
John Axsom

John Axsom

Thursday 09 June 2005 3:01:47 pm

Just found out something odd, I can get into the admin console, only I can't view the content structure (/content/view/full/2).

I can browse everything else and modify without problems. When I click on content, it never refreshes the page so I have no debug output.

Is this a template thing you think??

John

Frode Sørhaug

Saturday 25 February 2006 5:26:51 am

I got the same problem when i moved a site from one server to another.
But i found out why. First I thaugt that i could have something to do with the configuration of the apache or the eZ ini files. But i realized that it must be something with the session management. A quick look in the php.ini file confirmed that.

An variable in php.ini goes by the name "session.cookie_domain =". The value of the variable on my site did not match the value. The solution for me,- I deleted the value so the line was just "session.cookie_domain =". Of course it is som security by this entry but i did not find out how to add more than one domain.

I run eZ publish version 3.6.5, PhP 4.3.1 and Apache 2.0.54.

Fr®dis

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 31 2025 01:29:31
Script start
Timing: Jan 31 2025 01:29:31
Module start 'layout'
Timing: Jan 31 2025 01:29:31
Module start 'content'
Timing: Jan 31 2025 01:29:31
Module end 'content'
Timing: Jan 31 2025 01:29:31
Script end

Main resources:

Total runtime0.0263 sec
Peak memory usage4,096.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0046 588.2500151.2266
Module start 'layout' 0.00460.0049 739.4766220.7188
Module start 'content' 0.00950.0153 960.19531,001.8047
Module end 'content' 0.02480.0015 1,962.000033.9922
Script end 0.0263  1,995.9922 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.003111.7386140.0002
Check MTime0.00124.4914140.0001
Mysql Total
Database connection0.00082.885110.0008
Mysqli_queries0.00269.729530.0009
Looping result0.00000.053410.0000
Template Total0.00114.210.0011
Template load0.00093.457910.0009
Template processing0.00020.754810.0002
Override
Cache load0.00062.421710.0006
General
dbfile0.00020.927680.0000
String conversion0.00000.036240.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_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