RegisterRegister    SearchSearch   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

AJAX upload progress bar

File sharing script

File mirror script

Newsletter script
Problems referencing post.cgi

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



Joined: 20 Feb 2007
Posts: 2
Location: Nottingham, UK

PostPosted: Feb 20, 2007 3:10 pm    Post subject: Problems referencing post.cgi Reply with quote

Hi,

I'm having trouble getting the form to post. The form is stored in httpdocs/, and the xupload files are stored in cgi-bin/xupload. Currently the action for the form is set to "/cgi-bin/xupload/upload.cgi?upload_id=" - which as far as i'm aware, should be correct.

When the page loads, the firefox javascript console reports an error saying "max_upload_files" is not defined in the xupload.js file. Then, when the form is posted, another javascript errors read "ext_allowed" is not defined and the form contents is not being posted.

I've been tinkering with this all day trying to get it work, but feel i am slamming my head repeatedly against a brick wall. Any help getting this sorted would be much appreciated!

Best Regards,
Andy
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
PilgrimX182



Joined: 22 Mar 2006
Posts: 2106
Location: UFO Lab

PostPosted: Feb 20, 2007 3:18 pm    Post subject: Reply with quote

Looks there's an error in upload.cgi.

This URL should work for you: /cgi-bin/xupload/upload.cgi?mode=settings
Back to top
View user's profile Send private message Visit poster's website
junoDev



Joined: 20 Feb 2007
Posts: 2
Location: Nottingham, UK

PostPosted: Feb 20, 2007 4:40 pm    Post subject: Reply with quote

Thank you for your help! the javascript errors are now gone!

My problem now is that an error is appearing on the pop-up, that reads "ERROR: You are not allowed to upload files". Naturally, I figured this would be a problem with access rights on the temporary and final destination folders set in the configuration file, but the problem is still occuring after these folders have been CHMOD'ed to 777.

Any clues?
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
PilgrimX182



Joined: 22 Mar 2006
Posts: 2106
Location: UFO Lab

PostPosted: Feb 21, 2007 6:06 am    Post subject: Reply with quote

This is easy - you've set up wrong value for ip_allowed in config.
To allow all IPs use '^.*$'
Back to top
View user's profile Send private message Visit poster's website
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