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