Webdav and Mac OS X

Author Message

Damien Pitard

Monday 22 October 2007 4:43:47 am

Does anybody success to use the webdav integrated in Finder on Mac OS X?

I can mount it but I can't upload.

When I try to upload pictures in Media/images, an error message is displayed in Finder telling:
'Certaines données de "mypicture.jpg" n'ont pas pu être lues ou écrites (Code d'erreur -36)'
which is in english:
'Some data from "mypicture.jpg" can't be read or write (Error code -36)'

On the server, in var/mysiteaccess/log/webdav.log, I got an PHP error telling me that the picture is empty:

<b>Warning</b>: exif_read_data(image1.jpg) [<a href='function.exif-read-data'>function.exif-read-data</a>]: file to small (0) in <b>/mysite/lib/ezimage/classes/ezexifimageanalyzer.php</b> on line <b>63</b><br />
<br />
<b>Warning</b>: getimagesize() [<a href='function.getimagesize'>function.getimagesize</a>]: Read error! in <b>/mysite/lib/ezimage/classes/ezimagemanager.php</b> on line <b>942</b><br />
<br />
<b>Warning</b>: exif_read_data(image1.jpg) [<a href='function.exif-read-data'>function.exif-read-data</a>]: file to small (0) in <b>/mysite/lib/ezimage/classes/ezexifimageanalyzer.php</b> on line <b>63</b><br />
<br />
<b>Warning</b>: getimagesize() [<a href='function.getimagesize'>function.getimagesize</a>]: Read error! in <b>/mysite/kernel/classes/datatypes/ezimage/ezimagealiashandler.php</b> on line <b>1192</b><br />
<br />
<b>Warning</b>: exif_read_data(testwebdav.jpg) [<a href='function.exif-read-data'>function.exif-read-data</a>]: file to small (0) in <b>/home/dpitard/www/dpitard.gala.fr/lib/ezimage/classes/ezexifimageanalyzer.php</b> on line <b>63</b><br />
[DAV: PHP Output]

My system:
Mac OS X 10.4.10
eZ Publish 3.9.1

Damien Pitard

Damien Pitard | Prisma Presse

Tony Wood

Monday 22 October 2007 4:53:55 am

Hi Damien,

This is broken, or to be more precise is not complete enough for Mac OSX

Here is some reading for getting it working
http://ez.no/developer/forum/general/webdav_3_9_in_macosx_finder_error_image/re_webdav_3_9_in_macosx_finder_error_image__5

Tony

Tony Wood : twitter.com/tonywood
Vision with Technology
Experts in eZ Publish consulting & development

Power to the Editor!

Free eZ Training : http://www.VisionWT.com/training
eZ Future Podcast : http://www.VisionWT.com/eZ-Future

Damien Pitard

Monday 22 October 2007 5:28:56 am

Thanks Tony,

I follow the discussion on the other thread: http://ez.no/developer/forum/general/webdav_3_9_in_macosx_finder_error_image/re_webdav_3_9_in_macosx_finder_error_image__5

Damien Pitard | Prisma Presse

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 31 2025 06:24:37
Script start
Timing: Jan 31 2025 06:24:37
Module start 'layout'
Timing: Jan 31 2025 06:24:37
Module start 'content'
Timing: Jan 31 2025 06:24:37
Module end 'content'
Timing: Jan 31 2025 06:24:37
Script end

Main resources:

Total runtime0.0141 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0047 588.0313151.1953
Module start 'layout' 0.00470.0026 739.226636.6172
Module start 'content' 0.00740.0050 775.843894.1250
Module end 'content' 0.01240.0017 869.968833.9922
Script end 0.0140  903.9609 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002316.3967140.0002
Check MTime0.00117.8489140.0001
Mysql Total
Database connection0.00074.659810.0007
Mysqli_queries0.002719.105730.0009
Looping result0.00000.100110.0000
Template Total0.00138.910.0013
Template load0.00107.114410.0010
Template processing0.00021.777710.0002
Override
Cache load0.00075.173810.0007
General
dbfile0.00107.122980.0001
String conversion0.00000.056040.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs