XUpload - max_upload_files not defined

Message
Author
packerm
Posts: 8
Joined: Dec 05, 2006 4:23 pm

max_upload_files not defined

#1 Postby packerm » Jan 10, 2007 3:13 pm

Hi

Hope someone can help with this as I don't want to have to start from scratch again. I have the Pro version and was working fine, but I seem to have broken it when I've been customising it for our site and wondered if anyone can give me a starting point to start looking.

www.tshirt-mad.co.uk/upload_form.html reports an error on the page now, and does nothing when I try to upload a file. Error message says max_upload_files is undefined on line 414. Think it must be in xupload.js as that has 415 lines and the message chnaged to that when I reverted to a baacked up copy of xupload.js.

Any ideas where max_upload_files is defined or what I'm missing? It's set in the xuploadconfig.pm I know but should it be definded somewhere else?

User avatar
PilgrimX182
Posts: 2186
Joined: Mar 22, 2006 1:39 pm

#2 Postby PilgrimX182 » Jan 11, 2007 8:49 am

You've done some evil with upload.cgi: http://www.tshirt-mad.co.uk/cgi-bin/upl ... e=settings

Probably CHMOD or Win linebreaks.