How does EZ manage multipart/form-data

Author Message

Tore Skobba

Monday 08 March 2004 8:59:48 am

Hi

I am trying to pump data into EZ (user data) by having script automatically get values from an old database, then set up an post to the EZ site. However, this does not work. EZ accepts the data but fails to store it, i.e. I am having several user objects with no data at all! No login name, email, password etc.. I have tried to do this automatically in Java and Php and it always seems to fail. Therefore I am just wondering if anyone know if EZ does anything special when accepting data via. the post method?

Cheers
Tore

NB: I am making "Content-Type: multipart/form-data" header data. Apache access and error log does not indicate any errors in my headers.

Pseudo code
1: Connect to /user/register and parse out the posts fields
2: Set the post fields (email=dsfdf etc.)
3: Make header and connect (post)

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 19 2025 04:30:51
Script start
Timing: Jan 19 2025 04:30:51
Module start 'layout'
Timing: Jan 19 2025 04:30:51
Module start 'content'
Timing: Jan 19 2025 04:30:52
Module end 'content'
Timing: Jan 19 2025 04:30:52
Script end

Main resources:

Total runtime1.1268 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0088 589.2813152.6406
Module start 'layout' 0.00880.0061 741.921939.4609
Module start 'content' 0.01501.1099 781.3828402.1094
Module end 'content' 1.12490.0018 1,183.49228.1563
Script end 1.1268  1,191.6484 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00410.3670160.0003
Check MTime0.00180.1584160.0001
Mysql Total
Database connection0.00130.115010.0013
Mysqli_queries1.073195.2374460.0233
Looping result0.00070.0633440.0000
Template Total1.083696.220.5418
Template load0.00250.224920.0013
Template processing1.080895.915320.5404
Template load and register function0.00030.024810.0003
states
state_id_array0.00080.068310.0008
state_identifier_array0.00200.177720.0010
Override
Cache load0.00200.1789120.0002
Sytem overhead
Fetch class attribute can translate value0.00290.254610.0029
Fetch class attribute name0.00170.149410.0017
XML
Image XML parsing0.00030.023710.0003
class_abstraction
Instantiating content class attribute0.00000.000610.0000
General
dbfile0.00080.0750100.0001
String conversion0.00000.001040.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
1content/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
2content/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: 8
 Number of unique templates used: 5

Time used to render debug report: 0.0002 secs