admin login looping - register_globals needs to be on

Author Message

Bruce Morrison

Wednesday 30 April 2003 7:07:11 pm

For all those having issues logging into the admin section try turning on register_globals in your php.ini file. This is turned off by default with PHP since version 4.2(I think)

See http://ez.no/developer/ez_publish_3/bug_reports/admin_login_looping_register_globals_needs_to_be_on

My Blog: http://www.stuffandcontent.com/
Follow me on twitter: http://twitter.com/brucemorrison
Consolidated eZ Publish Feed : http://friendfeed.com/rooms/ez-publish

HK Lam

Sunday 04 May 2003 9:32:24 pm

There are security implications by setting the register_globals=Yes. This article talks about why the register_globals are off by default from Ver 4.2.

http://www.php.net/manual/tw/security.registerglobals.php

Assuming that you are on verion 3, I would imagined that eZ publish 3 will work with the register_globals set to No. This was mentioned in the interview (22-Nov-02) with Bård Farstad

http://www.sitepoint.com/article/920/3

Jan Borsodi

Monday 05 May 2003 12:10:26 am

eZ publish 3 was designed to be used with register_globals off.
If you have some problems with it I believe you will find the problem to be with the PHP version you are using, either upgrade or downgrade to see if it helps.

--
Amos

Documentation: http://ez.no/ez_publish/documentation
FAQ: http://ez.no/ez_publish/documentation/faq

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 18 2025 16:27:15
Script start
Timing: Jan 18 2025 16:27:15
Module start 'layout'
Timing: Jan 18 2025 16:27:15
Module start 'content'
Timing: Jan 18 2025 16:27:16
Module end 'content'
Timing: Jan 18 2025 16:27:16
Script end

Main resources:

Total runtime0.6278 sec
Peak memory usage4,096.0000 KB
Database Queries59

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0077 589.2969152.6563
Module start 'layout' 0.00770.0038 741.953139.5078
Module start 'content' 0.01150.6145 781.4609569.6250
Module end 'content' 0.62600.0017 1,351.085912.1094
Script end 0.6277  1,363.1953 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00380.6058160.0002
Check MTime0.00150.2434160.0001
Mysql Total
Database connection0.00140.225410.0014
Mysqli_queries0.576991.8918590.0098
Looping result0.00070.1156570.0000
Template Total0.591494.220.2957
Template load0.00200.324520.0010
Template processing0.589493.885120.2947
Template load and register function0.00030.042510.0003
states
state_id_array0.00110.183210.0011
state_identifier_array0.00090.146820.0005
Override
Cache load0.00170.2687150.0001
Sytem overhead
Fetch class attribute can translate value0.00120.189730.0004
Fetch class attribute name0.00090.144950.0002
XML
Image XML parsing0.00180.282130.0006
class_abstraction
Instantiating content class attribute0.00000.001150.0000
General
dbfile0.00140.2211230.0001
String conversion0.00000.002240.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
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/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: 11
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs