Forums / Install & configuration / trouble on file_upload for packages

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 :.

eZ debug

Timing: Jan 18 2025 10:19:36
Script start
Timing: Jan 18 2025 10:19:36
Module start 'content'
Timing: Jan 18 2025 10:19:37
Module end 'content'
Timing: Jan 18 2025 10:19:38
Script end

Main resources:

Total runtime1.5050 sec
Peak memory usage4,096.0000 KB
Database Queries200

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0062 587.8359180.8203
Module start 'content' 0.00621.3263 768.6563546.9375
Module end 'content' 1.33250.1724 1,315.5938337.3750
Script end 1.5049  1,652.9688 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00430.2854210.0002
Check MTime0.00150.0983210.0001
Mysql Total
Database connection0.00080.055710.0008
Mysqli_queries1.417594.18612000.0071
Looping result0.00190.12351980.0000
Template Total1.449796.320.7248
Template load0.00240.162320.0012
Template processing1.447296.162220.7236
Template load and register function0.00020.011610.0002
states
state_id_array0.00580.384610.0058
state_identifier_array0.00340.227820.0017
Override
Cache load0.00210.1400620.0000
Sytem overhead
Fetch class attribute can translate value0.00140.090430.0005
Fetch class attribute name0.00090.059060.0001
XML
Image XML parsing0.00090.058930.0003
class_abstraction
Instantiating content class attribute0.00000.000970.0000
General
dbfile0.01450.9641270.0005
String conversion0.00000.000430.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
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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/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