trouble on file_upload for packages

Author Message

pierre oOo

Thursday 08 November 2007 5:53:30 am

hi all,

I've got trouble while I'm importing packages.
I can't import a package ( contentobject ) of 9Mo. (I have some at 40Mo)

At first, I modified my php.ini on the serveur , and put the file_upload at 50Mo.
But nothing changed !

Is there a config file on Ezpublish which limit the file upload... ?

Have a nice day.

Thanks

PieRRe

Vicente Olivan

Thursday 08 November 2007 7:31:44 am

Hi Pierre,
Have you restart apache server?
Grettings

pierre oOo

Thursday 08 November 2007 8:45:52 am

Unfortunatly , I did !

The strange thing is that I have no error message when I try to import.
It just return to the "Upload package" page.

My package contain an object of a class I've made.
This object have textlines and pdf file.

So, I've checked my "/var/www/html/mysite/var/log/error_log ":
***********************************************************************************
[ Nov 08 2007 17:17:27 ] ["my_IP_address"] :
Error parsing XML, unmatched tags
[ Nov 08 2007 17:17:28 ] ["my_IP_address"] :
Error parsing XML, unmatched tags
[ Nov 08 2007 17:17:28 ] ["my_IP_address"] eZPackageInstallationHandler::rootDOMNode():
Failed fetching dom from file var/storage/packages/local/"my_package_name"/ezcontentobject/contentobjects.xml
***********************************************************************************
(I put "my_package_name" to make it easier to read, cause it's a french package name)

what's "dom" ?

It doesn't seem now to be a problem of upload_file_size.

I'm not really sure to create my package very well... there are some options I don't really understand, especialy in the "Content object limits" options.
May be that why I have a parsing xml error...

I've take a look at the documentation, but it's very limited.
Do you know where I can find more docs about packages ?

Thanks again.

Pierre

My server conf : apache 2.2.6 / php 4.4.7 / mysql 5.0.22-2.1

Vicente Olivan

Friday 09 November 2007 8:31:57 am

Hi,
Check these links:

- http://ez.no/ezpublish/documentation/ez_publish_3_4/content_object_import_and_export
- http://ez.no/developer/developer_information/specs/packages_system_and_setup_wizard
- http://en.wikipedia.org/wiki/Document_Object_Model

Greetings

pierre oOo

Tuesday 13 November 2007 8:06:44 am

Thanks for the docs !

I found another way to bypass my problem...

While I was exporting or importing my package, there were problems of parsing xml.

I created a package from an install of ezpublish, and copy it to another install :

# cp -r /var/www/html/"X"/var/storage/packages/local/"mypackage"/ /var/www/html/"Y"/var/storage/packages/local/

By this way, the package is not import as .ezpkg , but as a folder.
It's recognised as a normal package in the "Y_admin" siteaccess.
And now there's no problem during the installation.

Vicente, many thanks for yours answers.

Bye
:: PieRRe :.

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

Main resources:

Total runtime1.0234 sec
Peak memory usage4,096.0000 KB
Database Queries63

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0065 588.0391152.6406
Module start 'layout' 0.00650.0031 740.679739.4766
Module start 'content' 0.00961.0121 780.1563541.8438
Module end 'content' 1.02180.0016 1,322.000012.1406
Script end 1.0233  1,334.1406 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00430.4166160.0003
Check MTime0.00170.1612160.0001
Mysql Total
Database connection0.00150.145910.0015
Mysqli_queries0.949092.7276630.0151
Looping result0.00080.0829610.0000
Template Total0.981395.920.4907
Template load0.00330.325120.0017
Template processing0.978095.563920.4890
Template load and register function0.00020.024310.0002
states
state_id_array0.00150.149510.0015
state_identifier_array0.00320.312320.0016
Override
Cache load0.00280.2688620.0000
Sytem overhead
Fetch class attribute can translate value0.00150.149120.0008
Fetch class attribute name0.00220.212860.0004
XML
Image XML parsing0.00130.131420.0007
class_abstraction
Instantiating content class attribute0.00000.001870.0000
General
dbfile0.00210.2017160.0001
String conversion0.00000.000740.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
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
15content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
12content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 36
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs