Import Script error

Author Message

Marco Zinn

Saturday 30 August 2003 4:19:27 pm

Hi there,

I'm trying to run the import scripts to import data from 2.2. to 3.1 (or 3.2beta1)
With the user import script, i get two warning about "Cannot send session cookie - headers already sent by" and " Cannot send session cache limiter - headers already sent", both because "output started at blabla/importuser.php:5)"

Okay, fine.
But then, the script stop with this error:
Call to a member function on a non-object in EZROOT/kernel/content/ezcontentoperationcollection.php on line 208.

Can anyone (wenyue?) please tell me, what this could be?
This happens with a "clean" database for ez3 (i ran clean_data.sql), both with a 3.1 final and a 3.2beta1 installation.
The original data from 2.2 seems nice and with some debug prints, I found, that the DB is opened an read perfectly (import script can print the group name of the first user group, before it halts).

The other scripts all produce the same warnings and errors. :(

Marco
http://www.hyperroad-design.com

Wenyue Yu

Wednesday 03 September 2003 1:06:01 am

Hi,

I think the problem is because of unclean data in database. In 3.1 final, I guess you should import kernel_shema.sql and then cleandata.sql. ( clean_data.sql may from 3.1 beta? ). I have just tested with success.

Regards,
wenyue

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

Main resources:

Total runtime0.0127 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0038 588.1328151.2109
Module start 'layout' 0.00380.0028 739.343836.6484
Module start 'content' 0.00660.0050 775.992290.1563
Module end 'content' 0.01160.0011 866.148429.9922
Script end 0.0127  896.1406 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002015.9150140.0001
Check MTime0.00107.5730140.0001
Mysql Total
Database connection0.00064.442410.0006
Mysqli_queries0.002318.364530.0008
Looping result0.00000.095410.0000
Template Total0.00096.710.0009
Template load0.00075.282610.0007
Template processing0.00021.412810.0002
Override
Cache load0.00043.358910.0004
General
dbfile0.00118.879180.0001
String conversion0.00000.059940.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