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
Wrong install? "max_upload_files is not defined"

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



Joined: 22 May 2008
Posts: 6

PostPosted: May 22, 2008 7:59 am    Post subject: Wrong install? "max_upload_files is not defined" Reply with quote

Hello guys,

i am from germany so pleasy excuse my english.

i have a few experience with php, but cgi not. so perhaps someone can help me with the right installation of the script.

my server-folders:
xy/cgi-bin/
xy/htdocs/ <- this is my root
i moved the files from /html to /htdocs and the files from /cgi-bin to my /cgi-bin -folder

my first question in the upload_form.html:
what is the action? i wrote: /cgi-bin/upload.cgi?upload_id=
but isnt this meaning, that the cgi-bin is in the htdocs-folder?

and second: xuploadconfig.pm
as "url_post" i wrote: http://bluefolder.pagonic.com/cgi-bin/post.cgi
the same problem? what should i write there?

and when i open the uploader, firebug gives the message "max_upload_files is not defined". i think because of this it doesnt work.

i have no idea what system is running on the server or s.th. else, its only a web. but i can ask my hoster if this information is much important.

thanks for reading.
Back to top
View user's profile Send private message
PilgrimX182



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

PostPosted: May 22, 2008 8:04 am    Post subject: Reply with quote

You're using Pro version?
Have you CHMODed CGI files to 755?
Can you open /cgi-bin/upload.cgi?mode=settings in broser?
Back to top
View user's profile Send private message Visit poster's website AIM Address
Carina



Joined: 22 May 2008
Posts: 6

PostPosted: May 22, 2008 10:32 am    Post subject: Reply with quote

Hello,

thanks for the quick support. I forgot settings chmod to the *.cgi-files. but now it works.

Yes, i am using pro version.

i can open upload.cgi?mode=settings with mydomain.com/cgi-bin/upload.cgi?mode=settings. is this bad?

i have an upload.php-script in the folder /mods/files and i am including this from the index.php in the root. the xupload files are in the root, too.

in the add.php is following:
<script src='xupload.js'></script>
<script>InitUploadSelector();</script>

but now i have the error:
f is undefined in bugzilla.

perhaps you can say me why. is it because of the structure?
Back to top
View user's profile Send private message
PilgrimX182



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

PostPosted: May 26, 2008 5:47 am    Post subject: Reply with quote

Can't tell this till you tell me your upload form URL. Maybe you've done some modifications there.
Back to top
View user's profile Send private message Visit poster's website AIM Address
Carina



Joined: 22 May 2008
Posts: 6

PostPosted: May 26, 2008 7:32 am    Post subject: Reply with quote

Here you can try the script:

http://bluefolder.pagonic.com/?show=files&action=add&id=2f355e2f11b95401ec2b

i will modify the optic a little bit, but only when it runs Wink

thanks for reply.
Back to top
View user's profile Send private message
PilgrimX182



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

PostPosted: May 26, 2008 7:46 am    Post subject: Reply with quote

Ok, here goes my reccomendations:
1) Name form as 'F1Upload'
Code:
<form name='F1Upload'....


2) Move
Code:
<script src='xupload.js'></script>
<script>InitUploadSelector();</script>

after "</form>" tag.

Then should work I think.
Back to top
View user's profile Send private message Visit poster's website AIM Address
Carina



Joined: 22 May 2008
Posts: 6

PostPosted: May 27, 2008 9:14 am    Post subject: Reply with quote

thanks pilgrimx182,

you are my hero of the day Wink

nice support. it works Smile

thanks for it.
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