Forums / Developer / multiplefileupload problem

multiplefileupload problem

Author Message

fabio bongiovanni

Friday 02 September 2005 12:11:38 am

Hello and thanks in advice

I got 2 installation with multiplefileupload extension
The first runs on linux, all fine.

The second runs on windows, with the ez bundle (ez+apache+php+mysql) 3.6.1. with virtual host and and multiplefileupload extension.

On windows i'm experiencing really strange behaviour from multiplefileupload.

First of all i've modified the ezpublish.con under apache conf adding e rewrite rule, so apache server the folder containing applet directly.
I've modified .htaccess file so the jar extension is managed by apache.

After that i try to upload file, i can choose destination and the applet start correctly.(I mean that in the java console i don't see any error)

All seem fine, but after the upload process completes
i can't see any of the uploaded images on server.
The Image coontent objects are created but without any image attached.

Does anyone have any idea?

fabio bongiovanni

Friday 02 September 2005 4:23:38 am

SOLVED
problem was on \

i've modified a line in upload_process,
the one that splits the image filename
from:

// $uniqueNameArray = explode( '/', $uniqueName );

TO:
$uniqueNameArray = explode( '\\', $uniqueName );