Forums / General / Loses information (session?) when browsing.

Loses information (session?) when browsing.

Author Message

Robin Sørlie

Thursday 21 August 2003 4:55:56 am

Hi, posted this in the developer forum, put it here to:

Hi.

Having troubles regarding the add loaction an add related object function. When doing this I can browse and choose a new location/object but when the page refreshes it's gone. Seem's to like the eZ is loosing information, this is in session right?

I've been in contact with serveradministrator, he says the minor upgrades has been done with PHP, the server runs ensim controlpanel. http://onlinesupport.ensim.com/TWKB/ViewCase.asp?QSRuleID=774 - here is the upgrade that has been done - just log in as guest, no password needed.

Thanx in advance.

Debug output:
eZ debug
Timing: Aug 19 2003 15:52:36
Script start
Timing: Aug 19 2003 15:52:36
Module start 'content'
Warning: PHP Aug 19 2003 15:52:36
Undefined variable: limitationList in /home/virtual/site4/fst/var/www/html/kernel/content/browse.php on line 82
Warning: PHP Aug 19 2003 15:52:36
Undefined index: ClassFilterType in /home/virtual/site4/fst/var/www/html/kernel/classes/ezcontentobjecttreenode.php on line 343
Warning: PHP Aug 19 2003 15:52:36
Undefined index: ClassFilterType in /home/virtual/site4/fst/var/www/html/kernel/classes/ezcontentobjecttreenode.php on line 343
Warning: PHP Aug 19 2003 15:52:36
Undefined variable: limitationList in /home/virtual/site4/fst/var/www/html/kernel/content/browse.php on line 87
Notice: eZTSTranslator::load Aug 19 2003 15:52:36
Loading cached translation
Timing: Aug 19 2003 15:52:36
Module end 'content'
Warning: PHP Aug 19 2003 15:52:36
Use of undefined constant EZ_SDK_VERSION_REVISION - assumed 'EZ_SDK_VERSION_REVISION' in /home/virtual/site4/fst/var/www/html/lib/version.php on line 92
Warning: PHP Aug 19 2003 15:52:36
Undefined variable: lang in /home/virtual/site4/fst/var/www/html/kernel/classes/ezcontentobject.php on line 429
Timing: Aug 19 2003 15:52:36
End

Timing points:
Checkpoint Elapsed Rel. Elapsed
Script start 0.0000 sec 0.1109 sec
Module start 'content' 0.1109 sec 0.9537 sec
Module end 'content' 1.0646 sec 0.5895 sec
End 1.6541 sec
Total runtime: 1.6546 sec

Time accumulators:
Accumulator Elapsed Percent Count Average
Mysql Total
Mysql_queries 0.0330 sec 1.9654% 11 0.0030 sec
Looping result 0.0025 sec 0.1468% 10 0.0002 sec
Template Total 1.3659 sec 81.4% 2 0.6829 sec
Template load 0.3381 sec 20.1376% 2 0.1690 sec
String conversion in template resource 0.0063 sec 0.3779% 12 0.0005 sec
Template parser: create text elements 0.0671 sec 3.9972% 12 0.0056 sec
Template parser: remove whitespace 0.0246 sec 1.4666% 12 0.0021 sec
Template parser: construct tree 0.4177 sec 24.8822% 12 0.0348 sec
Template load and register function 0.0145 sec 0.8632% 5 0.0029 sec
Template processing 1.0261 sec 61.1150% 2 0.5130 sec
General
String conversion 0.0015 sec 0.0867% 12 0.0001 sec
Total script time: 1.6789 sec

Jan Borsodi

Monday 25 August 2003 5:25:45 am

My guess is this issue:
Transparent session ID support exposes PHP to cross-site-scripting attacks.

This is required for eZ publish to work properly with session if the cookie are not set in your browser.
Also eZ publish escapes the session key so it's not possible to hack your site if transparent sessions are on.

You should see if a cookie has been made in your browser, if not it won't know the session id from one page load to another.

--
Amos

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

Robin Sørlie

Tuesday 26 August 2003 8:02:44 pm

Thx for your reply.

Guess you're right, no cookies is saved in my browser. I will consult my server administrator and see if he can sort it out.

thanks again.

eZ debug

Timing: Jan 18 2025 05:03:25
Script start
Timing: Jan 18 2025 05:03:25
Module start 'content'
Timing: Jan 18 2025 05:03:26
Module end 'content'
Timing: Jan 18 2025 05:03:26
Script end

Main resources:

Total runtime0.8951 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.0072 588.8594180.8359
Module start 'content' 0.00720.7365 769.6953553.0391
Module end 'content' 0.74370.1513 1,322.7344336.7656
Script end 0.8951  1,659.5000 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00430.4804210.0002
Check MTime0.00180.2012210.0001
Mysql Total
Database connection0.00070.082610.0007
Mysqli_queries0.806990.13861940.0042
Looping result0.00200.22151920.0000
Template Total0.853995.420.4270
Template load0.00280.315020.0014
Template processing0.851195.082920.4256
Template load and register function0.00030.030610.0003
states
state_id_array0.00170.188710.0017
state_identifier_array0.00200.226120.0010
Override
Cache load0.00260.2869660.0000
Sytem overhead
Fetch class attribute can translate value0.00130.141630.0004
Fetch class attribute name0.00190.212240.0005
XML
Image XML parsing0.00090.102630.0003
class_abstraction
Instantiating content class attribute0.00000.001340.0000
General
dbfile0.00580.6426280.0002
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
5content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 18
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs