The following warnings occurred:
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
File Line Function
/global.php 783 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
File Line Function
/global.php 783 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $newpmmsg - Line: 40 - File: global.php(841) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/global.php(841) : eval()'d code 40 errorHandler->error
/global.php 841 eval
/printthread.php 16 require_once
Warning [2] Undefined array key "style" - Line: 909 - File: global.php PHP 8.1.31 (Linux)
File Line Function
/global.php 909 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined property: MyLanguage::$lang_select_default - Line: 5024 - File: inc/functions.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions.php 5024 errorHandler->error
/global.php 909 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key "additionalgroups" - Line: 7162 - File: inc/functions.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions.php 7162 errorHandler->error
/inc/functions.php 5044 is_member
/global.php 909 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key 1 - Line: 1415 - File: inc/functions.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions.php 1415 errorHandler->error
/inc/functions.php 1370 fetch_forum_permissions
/printthread.php 76 forum_permissions
Warning [2] Undefined property: MyLanguage::$archive_pages - Line: 2 - File: printthread.php(257) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/printthread.php(257) : eval()'d code 2 errorHandler->error
/printthread.php 257 eval
/printthread.php 117 printthread_multipage
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error



Form Tools
file upload probs - Printable Version

+- Form Tools (https://forums.formtools.org)
+-- Forum: Form Tools (https://forums.formtools.org/forumdisplay.php?fid=1)
+--- Forum: General Discussion (https://forums.formtools.org/forumdisplay.php?fid=5)
+--- Thread: file upload probs (/showthread.php?tid=57)

Pages: 1 2


file upload probs - mizison - Mar 13th, 2009

i just have to comment on the absolute beauty of this new release. it is [filled] with features and programmability!

regarding the file upload; however, i'm having a bit of trouble.
i setup a multiple page form [4pgs] with pgs 3 having a file upload field w/ .js that populates divs with up to 5 files. after reading through the documentation, i implemented a 'code' initialization and my files are not uploading. pg 3 with the autoGenerated divs, formTools did not even pick up the name or id of that div, neither did it upload the file. on pg 4 i have a single upload field without any <script> and formTools did identify that $key but did not upload the file nor capture the $value of the upload...

what am i doing wrong? do i need to write separate code to manually upload the files on forms 3 + 4...?

thx!
miz


RE: file upload probs - mizison - Mar 15th, 2009

i still haven't been able to upload any files through the 'code' part of initializing a form. when i do the 'direct' initialization of a form, the only upload i get is the file page upload.
On the first version of formtools, i was able to upload files from form 3 + 4; however, that script no longer works with the upgrade.

Anyone else having file upload problems...? or is it just me? I suppose i have no other choice than to revert back to the old version of formTools. thanks.
miz.


RE: file upload probs - stech - Aug 28th, 2009

I just created one form with two file upload fields but when i submit everything comes through but the uploaded files.

I checked the formtools upload folder and nothing is there. what is the correct procedure to get the files to upload to the server in the upload folder?


RE: file upload probs - Ben - Sep 1st, 2009

Hey Stech,

If ever you have problems uploading files through your form, try to upload them through the Form Tools admin panel instead - just for testing purposes. Create a dud submission and try uploading the same file.

This can really help in identifying what's the problem. Within the admin panel, it'll provide helpful error message like "unsupported file format", "file too large" or "invalid file upload folder" which can give you some clues on how to debug it.

Let me know how it goes!

- Ben


file upload probs - oliversitzler - Nov 13th, 2009

Hello,

In my form i have one file for upload. But no file will be uploaded. Only the path will be shown in mysql Database (like : C:\Dokumente und Einstellungen\Oliver\Eigene Dateien\Dive-Coop_web\SKOT.jpg). No uploaded file.

If i leave the file tag in form empty and post it to Database, and make the upload of the file in the Formtool administartion area everything works correctly. Then we have an uploaded file and a correct therm (SKOT.jpg)

Here ist my code in Form Tag:

<form action="http://www.dive-cooperation.de/form_tools/process.php" method="post" enctype="multipart/form-data">
<input type="hidden" name="form_tools_form_id" value="22" />
<input type="file" name="Bilddatei">
<input type="submit" value="submit">
</form>

Please can you help me ? What have i done wrong ?

Many thanks to all from - black forrest - Germany

Oliver


RE: file upload probs - Ben - Nov 14th, 2009

Hello from Vancouver, BC!

First off, how do things look from within Form Tools? Have you checked permissions on the upload folder & confirmed the URL+path matches? (These are both found out by clicking the appropriate option on the Settings -> Files page, or on the individual Edit Field page, if you've overridden the default settings). That would be the first place to check.

Secondly, if that looks okay, try uploading a file via the Form Tools interface, for any submission. Does that work? I suspect it won't... from what you described, it sounds like maybe it's a server configuration issue, but let me know about the above and we'll proceed.

- Ben


RE: file upload probs - oliversitzler - Nov 16th, 2009

Hello Ben,

thank you for your reply.
The permissions on the upload folder & confirmed the URL an path matches are correct and checked.
An uploading process woks, when i start the upload via FormTools interface in the adminitration area.

But there is no upload by the form.
You can find the configuration - PDF here:
http://www.dive-cooperation.de/html/Down_public/formtools_fehler_.pdf

Whart can I do ?

Best regards

Oliver


RE: file upload probs - Ben - Nov 17th, 2009

Hey Oliver,

In that case it's a problem with your form. Mind posting your form source code so we could take a look?

- Ben


RE: file upload probs - oliversitzler - Nov 17th, 2009

Hello Ben,

you´ll find the form on

http://www.dive-cooperation.de/html/teamanlage.html

thank you, for your help.

Oliver


RE: file upload probs - Ben - Nov 17th, 2009

Hi Oliver,

Ah, I think it's a markup problem. The opening <form> tag doesn't contain the enctype="multipart/form-data" atttribute, then there's another opening tag further down the page (which I think is supposed to be a </form> closing tag). Then the submit tag isn't closed properly and has another form tag embedded within it.

Once all that stuff is fixed, the file upload should probably work.

- Ben