| View previous topic :: View next topic |
| Author |
Message |
Carina
Joined: 22 May 2008 Posts: 6
|
Posted: May 22, 2008 7:59 am Post subject: Wrong install? "max_upload_files is not defined" |
|
|
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 |
|
 |
PilgrimX182

Joined: 22 Mar 2006 Posts: 1107 Location: Undisclosed location
|
Posted: May 22, 2008 8:04 am Post subject: |
|
|
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 |
|
 |
Carina
Joined: 22 May 2008 Posts: 6
|
Posted: May 22, 2008 10:32 am Post subject: |
|
|
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 |
|
 |
PilgrimX182

Joined: 22 Mar 2006 Posts: 1107 Location: Undisclosed location
|
Posted: May 26, 2008 5:47 am Post subject: |
|
|
| Can't tell this till you tell me your upload form URL. Maybe you've done some modifications there. |
|
| Back to top |
|
 |
Carina
Joined: 22 May 2008 Posts: 6
|
|
| Back to top |
|
 |
PilgrimX182

Joined: 22 Mar 2006 Posts: 1107 Location: Undisclosed location
|
Posted: May 26, 2008 7:46 am Post subject: |
|
|
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 |
|
 |
Carina
Joined: 22 May 2008 Posts: 6
|
Posted: May 27, 2008 9:14 am Post subject: |
|
|
thanks pilgrimx182,
you are my hero of the day
nice support. it works
thanks for it. |
|
| Back to top |
|
 |
|