Announcement

Collapse
No announcement yet.

Upload does not work and gives weird error-message

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • #16
    Reinhard, we have a lot of issues with file upload. So much that we had to fix errors in generated code and saved that read-only on the server to prevent it to be overwritten. That was in V6. There are still a lot of issues regarding upload if you search this forum. I can provide you the code of the project if you like to look at it. Scriptfan is one of our university users (like rr and me). But I'll send it to you in private, not here public. That is, if Scriptfan agrees to it. G?
    Albert Drent
    aducom software netherlands
    scriptcase partner, reseller, support and (turn-key) development
    www.scriptcase.eu / www.scriptcase.nl

    Comment


    • #17
      Ok, i have missed page one ... sorry.
      Best regards: - Reinhard -

      I use ScriptCase 8 Enterprise Edition, Version 8.(latest)

      Comment


      • #18
        Hello scriptfan,

        You should use virtual fields (as in fields created on SC) on multiupload.

        regards,
        Bernhard Bernsmann

        Comment


        • #19
          Originally posted by bartho View Post
          Hello scriptfan,

          You should use virtual fields (as in fields created on SC) on multiupload.

          regards,
          Bernhard Bernsmann

          That's interesting. *What* are virtual fields?
          Albert Drent
          aducom software netherlands
          scriptcase partner, reseller, support and (turn-key) development
          www.scriptcase.eu / www.scriptcase.nl

          Comment


          • #20
            Originally posted by aducom View Post
            *What* are virtual fields?
            Fields created in/on SC ...
            Best regards: - Reinhard -

            I use ScriptCase 8 Enterprise Edition, Version 8.(latest)

            Comment


            • #21
              Hello Bartho,

              Thanks for your reaction. Virtual fields? I just did a search in the pdf-manual of Scriptcase for "virtual fields". Nothing to be found. Non existing in the Scriptcase-world.

              What do you mean? Could you post a working upload-app with document and image upload-fields both for filename- as database-administration?

              /Scriptfan

              Comment


              • #22
                Not called Virtual Field, called "Virtual Input" ...

                What he means is that! Virtual input you create an input in SC without the same in this database.

                The upload option works but the SC. Test with an application CONTROL. Create an application control then create an input named "Upload" then check the "Document (file name)" or "Picture (Database)."

                Take this quiz and tell me!

                Comment


                • #23
                  Bartho, you use some translation (google translation)? if yes, the translation not help you very well ... because the translation (google translation) does not reflect the feeling of the words ... the classic example is the topic where the staff do not know what is "Field", which actually would be an "input".

                  Bartho, se você usar 100% o google para traduzir, não será de muita ajuda, isso pode ate confundir mais o pessoal! Campo para eles é como um Lugar (place) ou uma área, "Campo de futebol" por exemplo (Football Field), embora para nós é um input (campo). Apenas uma dica, estou aqui para ajudar de coração!

                  Comment


                  • #24
                    Scriptfan,

                    Sorry for not being clear enough. I meant that instead of using a field that is mapped to your database, you should use a created field (http://s11.postimg.org/o08rlhvcz/Sem_t_tulo.png).

                    Fred,

                    I don't use google translate. Are you sure about field and inputs? As I see input is usually used as "entrada" and field as "campo".

                    De qualquer maneira agradeço muito o toque heheh!

                    regards,
                    Bernhard Bernsmann

                    Comment


                    • #25
                      Originally posted by FredKeyster View Post
                      Not called Virtual Field, called "Virtual Input" ...

                      What he means is that! Virtual input you create an input in SC without the same in this database.

                      The upload option works but the SC. Test with an application CONTROL. Create an application control then create an input named "Upload" then check the "Document (file name)" or "Picture (Database)."

                      Take this quiz and tell me!
                      thanks for your reaction.

                      if i start with a control app i can only define inputs/fields with filename administration. and that works. but i want to upload documents/images with database-administration. so to do that i started with a form-app based on a database-table created for storing the upload-metadata. and on that form-app next to the fields of the database-upload-table i created an upload input/field and that does not work, but gives the error-message as stated in my opening-post.

                      Comment


                      • #26
                        see my post in reaction to fredkeyster.

                        it doesn't work.

                        Comment


                        • #27
                          another week has passed without a solution by scriptcase. it's not working by itself again. the upload-project is on hold because of this. people here wonder why this is happening with a paid tool. i uploaded a couple of screenshots to show the problem:

                          scriptcase upload error 01.jpg

                          scriptcase upload error 02.jpg

                          what is causing the error-message about being only one upload field allowed in the second screenshot? the scriptcase-manual is not of any help. someone inside the scriptcase-organization programmed that error-message. who? could someone ask him/her when this message is shown to the user?

                          /scriptfan

                          Comment


                          • #28
                            I'm not sure I fully understand the issue, but I believe you are looking at having multiple upload fields within the same app. My apologies if I am not fully understanding.

                            I recently finished an app that required 4 upload fields in the same form. For each field, I created a new table specific to that upload field. I then created a new field for the upload using the "Add Field" button in the "Fields" menu. In the Settings page for each field, I assigned the unique table to the field. This allowed me to reference the same record ID for the foreign key for the upload table. I believe each upload field needs to identify a foreign key.

                            So, what I learned from that exercise is that form doesn't use an upload field in the table from which you are creating the form app, but rather it uses an add-on field to store the document data. I have not tried to get those files to show on a grid yet, but I imagine it would be a similar process.

                            Hope this is helpful.

                            Comment


                            • #29
                              hello travler,

                              thanks for your reaction. i understand all what you write and that's how it's supposed to work, but it doesn't in my setup.

                              i'm not looking for having multiple upload-fields in one app. at least not yet. i only have ONE upload-files in the form-app, that i want to be administered with one table. the system allows me define the field, but saving the multiupload-fields gives the weird error about only upload-field allowed. THERE IS ONLY ONE UPLOAD-FIELD as can be seen in the screenshots.

                              if i click something else in the object-tree on the left the system is willing to compile the app and run it without further error-messages, but WITHOUT the administering the upload-metadata in the database-table. and that's logical, because it didn't want to save the multiupload-field definitions.

                              it's completely ridiculous that this problem cannot be addressed by scriptcase. my collegue (rr) has posted another upload-problem, which also is not solved by scriptcase. bartho only keeps passing the info to developers. and after that nothing happens.

                              scriptcase should be called BUGCASE.

                              Comment


                              • #30
                                and another week has passed without a solution or reaction from scriptcase.

                                Comment

                                Working...
                                X