SibSoft Ltd.
Development Services
software products
 RegisterRegister    SearchSearch   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
EZYWebhost - Cheap XUpload & XFileSharing 100% campatible hosting

AJAX upload progress bar

File sharing script
Having ERRORS Using XUpload code

 
Post new topic   Reply to topic    SibSoft Ltd Forum Index -> XUpload
View previous topic :: View next topic  
Author Message
usman



Joined: 14 May 2008
Posts: 4

PostPosted: May 14, 2008 11:40 am    Post subject: Having ERRORS Using XUpload code Reply with quote

Hi,

2day i just buy XUPLOAD n receive the code.

I install the code as directed in INSTALL.txt.

Now on loading the upload_form.html page placed in htdocs folder, i am receiving an ERROR ;

1- max_upload_files is not defined

Also, if i continue to upload process by selecting the file n press upload, i get this ERROR;

2- ext_allowed is not defined

Now as far as Paths are concern, i have used absolute path as directed.

So kindly can you help me out from this problem.

Looking forward for your kind and _ive response.

Best Regards

Usman
Back to top
View user's profile Send private message
PilgrimX182



Joined: 22 Mar 2006
Posts: 1107
Location: Undisclosed location

PostPosted: May 14, 2008 12:38 pm    Post subject: Reply with quote

Do you have correct form action URL in upload form?

Can you open "upload.cgi?mode=settings" with no errors?
Back to top
View user's profile Send private message Visit poster's website AIM Address
usman



Joined: 14 May 2008
Posts: 4

PostPosted: May 14, 2008 12:56 pm    Post subject: Yes i can Reply with quote

Hi

Thanks for replying so quick.

Yes , i try to open that file and got following result as out put.

OUTPUT
var ext_allowed='.*';var ext_not_allowed='';var max_upload_files='10';var max_upload_size='1000';var enable_file_descr='1';var pass_required='';var email_required='';




NOTE:Also, for your information iam using XUpload Pro Version

Looking for for ur kind and +ive response Once again.

Best Regards

Usman
Back to top
View user's profile Send private message
PilgrimX182



Joined: 22 Mar 2006
Posts: 1107
Location: Undisclosed location

PostPosted: May 15, 2008 6:41 am    Post subject: Reply with quote

Have you uploaded xupload.js?
You can PM me URL to your upload form so I quickly find out the problem.
Back to top
View user's profile Send private message Visit poster's website AIM Address
usman



Joined: 14 May 2008
Posts: 4

PostPosted: May 16, 2008 12:31 pm    Post subject: XUpload Execution Issue Reply with quote

Hi!

thanks for ur time n quick response.

With ur help i was able to run the script successfully. But now i have another issue.

When i click upload , it upload the file but it also move to the POST.php file where basic info regarding file is shown.

Now wht i want is that, as iam using AJAX , so i don't wanna refresh the page at all and also wht that basic info regarding file uplode.

Now, tell me how can i handle this issue so that , i be able to upload file without refreshing page and all the details are shown on the same Page Frame and in last it only says FILE IS UPLODED SUCCESSFULLY after showing graphs and progress bar.

In short like progress barr is shown , in the same way, when uploding is completed, it say uplode successfull along iwth the file name.

And this is the URL
http://test.largefilesasap.com/

Please use code running on home page only.

Looking forward for ur kind n +ive response.

Best Regards

Usman
Back to top
View user's profile Send private message
PilgrimX182



Joined: 22 Mar 2006
Posts: 1107
Location: Undisclosed location

PostPosted: May 16, 2008 1:16 pm    Post subject: Reply with quote

First of all, there's no FORM for your file fields. There's only one dummy form with no use.

Looks inside upload_form.html sample and make it the same.
Back to top
View user's profile Send private message Visit poster's website AIM Address
usman



Joined: 14 May 2008
Posts: 4

PostPosted: May 16, 2008 1:49 pm    Post subject: HTML FORM Reply with quote

Well Sir,

This is wht i told u in advance. I am using AJAX and the resulting form you see is HTTP Request result.

That is y , when you try to view the source code , you came to know there is no FORM available. Bcoz this form is generated on run time.

Looking forwar for ur kind n +ive response

Best Regards

Usman.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    SibSoft Ltd Forum Index -> XUpload All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group