using eZSession outside of eZPublish

Author Message

Rib Rdb

Wednesday 11 June 2003 5:50:29 pm

I'm trying to integrate ez's login and registration with a forum script. The problem is that when I call removeSessionVariable (possibly setSessionVariable too), the script just stops, and my apache error log says "[notice] child pid ### exit signal Illegal instruction (4)". Here's an example of the code I'm using:
include_once( "lib/ezutils/classes/ezhttptool.php" );
$http =& eZHTTPTool::instance();
$http->removeSessionVariable( "eZUserLoggedInID" );

I've included ezsession.php already. Do I need to include something else too, or is there something else I need to do to get this working?

Rib Rdb

Wednesday 11 June 2003 5:52:11 pm

It seems that the call to eZSessionStart stops the script execution. I can't figure out what else is going on. Is there some way I can use ezdebug in the other script to see if the session is giving some sort of error?

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

Main resources:

Total runtime0.8039 sec
Peak memory usage4,096.0000 KB
Database Queries52

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0062 587.9375152.6250
Module start 'layout' 0.00620.0036 740.562539.4453
Module start 'content' 0.00980.7927 780.0078423.2188
Module end 'content' 0.80250.0014 1,203.22668.1563
Script end 0.8039  1,211.3828 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00300.3774160.0002
Check MTime0.00130.1557160.0001
Mysql Total
Database connection0.00080.097410.0008
Mysqli_queries0.767695.4797520.0148
Looping result0.00050.0564500.0000
Template Total0.774196.320.3870
Template load0.00210.263320.0011
Template processing0.772096.023520.3860
Template load and register function0.00010.018510.0001
states
state_id_array0.00080.101910.0008
state_identifier_array0.00110.133820.0005
Override
Cache load0.00170.2121100.0002
Sytem overhead
Fetch class attribute can translate value0.00080.096510.0008
Fetch class attribute name0.00120.145820.0006
XML
Image XML parsing0.00010.015310.0001
class_abstraction
Instantiating content class attribute0.00000.000720.0000
General
dbfile0.00060.0715100.0001
String conversion0.00000.001540.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/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
2content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 7
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs