Having ERRORS Using XUpload code

XUpload related questions

Moderator: admin

Message
Author
usman
Posts: 4
Joined: May 14, 2008 11:33 am

Having ERRORS Using XUpload code

#1 Postby usman » May 14, 2008 11:40 am

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

User avatar
PilgrimX182
Posts: 2181
Joined: Mar 22, 2006 1:39 pm
Location: UFO Lab
Contact:

#2 Postby PilgrimX182 » May 14, 2008 12:38 pm

Do you have correct form action URL in upload form?

Can you open "upload.cgi?mode=settings" with no errors?

usman
Posts: 4
Joined: May 14, 2008 11:33 am

Yes i can

#3 Postby usman » May 14, 2008 12:56 pm

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

User avatar
PilgrimX182
Posts: 2181
Joined: Mar 22, 2006 1:39 pm
Location: UFO Lab
Contact:

#4 Postby PilgrimX182 » May 15, 2008 6:41 am

Have you uploaded xupload.js?
You can PM me URL to your upload form so I quickly find out the problem.

usman
Posts: 4
Joined: May 14, 2008 11:33 am

XUpload Execution Issue

#5 Postby usman » May 16, 2008 12:31 pm

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

User avatar
PilgrimX182
Posts: 2181
Joined: Mar 22, 2006 1:39 pm
Location: UFO Lab
Contact:

#6 Postby PilgrimX182 » May 16, 2008 1:16 pm

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.

usman
Posts: 4
Joined: May 14, 2008 11:33 am

HTML FORM

#7 Postby usman » May 16, 2008 1:49 pm

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.


Return to “XUpload”

Who is online

Users browsing this forum: No registered users and 0 guests