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



Go to last post Go to first unread
#1 Posted : Monday, March 7, 2005 12:53:00 PM(UTC)

Rank: Member

Groups: Member
Joined: 3/7/2005(UTC)
Posts: 2

I have tried to test out Image Uploader with the exact sample code (php). This time it works ok and I get the OK button after upload. However the directory Gallery was not created and the files were not uploaded. Any idea why this is?

#2 Posted : Tuesday, March 8, 2005 1:33:00 PM(UTC)

Rank: Advanced Member

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

Thanks: 5 times
Was thanked: 76 time(s) in 74 post(s)
Please check whether you have given appropriate permissions for Gallery folder.

Also please note, that if server-side error occured, PHP doesn't return error 500. It returns page with code 200 and write error trace in HTML output. As answer code is 200 (success), Image Uploader can't detect whether server-side error ocured and shows message "Upload Complete".

To check answer returned by upload.php we can add following code to index.htm:

<script for="ImageUploader" event="Progress(Status, Progress, ValueMax, Value, StatusText)">
if (Status=="COMPLETE"){
	//The answer from page to which we uploaded files is in StatusText parameter

Edited by user Wednesday, October 29, 2008 12:38:57 PM(UTC)  | Reason: Not specified

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.