Forums / Developer / Uploading file problem!

Uploading file problem!

Author Message

Jorge estévez

Thursday 05 March 2009 4:20:34 am

Hello

I am making a site with Versión: 4.0.1 of Ez

I wanted to upload a file (file class) within the admin page and whenever I hit the button to publish the class instance it "delays" some 3 seconds and the form of the class appears again to be filled up again.

My file is only 13 megabytes (it should spend more time uploading).
I am the only administrator here, there and everywhere!

And something is going strange...

Can someone do the same, just to start crearing things out!

thanks

Diseño Web Cuba
Web Design Cuba
www.elfosdesign.com

justin kazadi

Thursday 05 March 2009 4:52:28 am

Hi jorge,

i think you must reconfigure your

php.ini  file 

check these directives in php.ini an change it:

; Maximum size of POST data that PHP will accept.
post_max_size = 20M

; Maximum allowed size for uploaded files.
upload_max_filesize =20M

put these values for example.

i think this can solve your problem.

The theory is when we know everything and nothing works.
The practice is when everything works and nobody knows why.
If the practice and theory are met, nothing works and we do not know why.

Albert Einstein

Yannick Komotir

Thursday 05 March 2009 6:09:08 am

Hi,

By adding that Justin Kazadi said, You can also be sure that var folder belongs to apache's user and the right on folder is right (777).

<|- Software Engineer @ eZ Publish developpers -|>
@ http://twitter.com/yannixk