Forums / General / file upload fails in 3.10.0

file upload fails in 3.10.0

Author Message

Greg McAvoy-Jensen

Thursday 26 June 2008 11:49:19 am

We recently upgraded from 3.9.4 to 3.10.0. All works well on the local testing server. On the remote shared hosting server, however, we can't upload files/images through eZ Publish. It appears to work, but when we go back to see the file in the object, it says there is no file. PHP settings allow file upload and have a max size of 64MB, so we're well under that. I've set var and subdirectories to 777. There are no errors, but here are the entries from warning.log:

[ Jun 26 2008 20:17:24 ] [75.18.137.121] Timing Point: Module start 'content'
[ Jun 26 2008 20:17:24 ] [75.18.137.121] :
Extension 'ezdhtml' does not have the subdirectory ezxmltext/handlers/output, looked for directory 'extension/ezdhtml/ezxmltext/handlers/output'
[ Jun 26 2008 20:17:25 ] [75.18.137.121] :
Extension 'ezdhtml' does not have the subdirectory ezxmltext/handlers/output, looked for directory 'extension/ezdhtml/ezxmltext/handlers/output'
[ Jun 26 2008 20:17:25 ] [75.18.137.121] eZTemplate:def:
Variable 'icon_title' is already defined.
[ Jun 26 2008 20:17:51 ] [75.18.137.121] Timing Point: Module start 'content'
[ Jun 26 2008 20:17:51 ] [75.18.137.121] PHP:
call_user_func_array() [<a href='function.call-user-func-array'>function.call-user-func-array</a>]: First argumented is expected to be a valid callback, '' was given in /home/sites/mysite.com/ezpublish-3.10.0/kernel/classes/clusterfilehandlers/ezfsfilehandler.php on line 359
[ Jun 26 2008 20:17:51 ] [75.18.137.121] PHP:
call_user_func_array() [<a href='function.call-user-func-array'>function.call-user-func-array</a>]: First argumented is expected to be a valid callback, '' was given in /home/sites/mysite.com/ezpublish-3.10.0/kernel/classes/clusterfilehandlers/ezfsfilehandler.php on line 359

What have I done? Thanks!

In case it helps--it does look like eZ Publish, on this installation, wrote to the var directory once, but it isn't doing it again. I see an entry for an image with the apache server as the owner, with the subdirectory and the image files below that. But now it doesn't even appear to be trying to write.

Granite Horizon, Certified Developer of eZ Publish Web Solutions
Provider of the SaaS Solution Granite Horizon In The Cloud | http://granitehorizon.com/cloud
http://granitehorizon.com | +1 916 647 6350 | California USA | @granitegreg
Blog: http://granitehorizon.com/blog

Maxime Thomas

Sunday 24 August 2008 11:07:48 pm

As a precaution, have you checked the existence of the output directory ?

Maxime Thomas
maxime.thomas@wascou.org | www.wascou.org | http://twitter.com/wascou

Company Blog : http://www.wascou.org/eng/Company/Blog
Technical Blog : http://share.ez.no/blogs/maxime-thomas