Welcome Guest! You need to login or register to make posts.

Notification

Icon
Error

Options
Go to last post Go to first unread
Gareth  
#1 Posted : Saturday, March 14, 2009 4:13:29 AM(UTC)
Gareth

Rank: Newbie

Groups: Member
Joined: 12/30/2008(UTC)
Posts: 6

Hi,
I have just activated Image Uploader and have uploaded it for the first time to my demo site. There is a problem. I get the error' Image uploader encountered a problem' when I try and use it.

A forum post suggested that I add the param 'iu.addParam("ShowDebugWindow", "true");'

I have no idea what is wrong. The page is www.wedalbum.co.uk/demo

Any advise would be great because the program isn't cheap.
Thanks,
Fedor  
#2 Posted : Saturday, March 14, 2009 5:35:47 PM(UTC)
Fedor

Rank: Advanced Member

Groups: Member, Administration, Moderator
Joined: 7/28/2003(UTC)
Posts: 1,567

Thanks: 5 times
Was thanked: 64 time(s) in 63 post(s)
I recommend you to use Java Console. Here is it s content:

Quote:
Aurigma ImageUploader version: 5.7.14.0
Current document URL: http://www.wedalbum.co.uk/demo/uploader/index.html
Reading cookies
Reading referer
Referer: http://www.wedalbum.co.uk/demo/uploader/index.html
Form element:<text><textfield><>
Form element:<text><textfield2><>
Form element:<text><textfield3><>
Radio/Checkbox:<Terms><checked>
Additional form processing done
Uploading to http://www.wedalbum.co.uk/demo/uploads
No cookies specified
Setting HTTP params: Host=www.wedalbum.co.uk
Starting upload
Status =[301]
UploadException occured
###Error occured###
Status=[ERROR]
Progress=[0]
ValueMax=[0]
Value=[4]
[ErrorPage]
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>301 Moved Permanently</title>
</head><body>
<h1>Moved Permanently</h1>
<p>The document has moved <a href="http://www.wedalbum.co.uk/demo/uploads/">here</a>.</p>
<hr>
<address>Apache/2.2.11 (Unix) mod_ssl/2.2.11 OpenSSL/0.9.8i DAV/2 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 Server at www.wedalbum.co.uk Port 80</address>
</body></html>

[EndOfErrorPage]



It seems when we upload to http://www.wedalbum.co.uk/demo/uploads the server redirect us to http://www.wedalbum.co.uk/demo/uploads/ (with slash in the end). That's why upload fails.
Best regards,
Fedor Skvortsov
Gareth  
#3 Posted : Saturday, March 14, 2009 7:00:39 PM(UTC)
Gareth

Rank: Newbie

Groups: Member
Joined: 12/30/2008(UTC)
Posts: 6

Thanks for the reply.
If the forward slash is the problem, what is the solution? What should I do?
Thanks
Gareth  
#4 Posted : Sunday, March 15, 2009 5:08:23 AM(UTC)
Gareth

Rank: Newbie

Groups: Member
Joined: 12/30/2008(UTC)
Posts: 6

I have tried adding to the action parameter a url page destination, instead of just a folder (http://www.wedalbum.co.uk/demo/uploads/index.html)
Now I recieve the 'Upload complete' message, but no images are uploaded.

Any ideas?
Fedor  
#5 Posted : Sunday, March 15, 2009 9:24:19 PM(UTC)
Fedor

Rank: Advanced Member

Groups: Member, Administration, Moderator
Joined: 7/28/2003(UTC)
Posts: 1,567

Thanks: 5 times
Was thanked: 64 time(s) in 63 post(s)
Quote:
I have tried adding to the action parameter a url page destination, instead of just a folder (http://www.wedalbum.co.uk/demo/uploads/index.html)
Now I recieve the 'Upload complete' message, but no images are uploaded.

Any ideas?


Image Uploader is just client-side control which sends data to server in RFC1867-compliant request (the same way as browser sends with <input type=field> field). You need to implement server upload processing logic yourself. Please read Writing Server-Side Upload Code article or see our samples for more info.
Best regards,
Fedor Skvortsov
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.