This forum is no longer open and is for reading/searching only.

Please use our new MachForm Community Forum instead.

MachForm Community Forums » MachForm 3

Error! Failed to Upload


  1. sjones
    Member

    I am having a problem uploading attachments. We had to switch servers. Everything seems to work fine except the file uploads. It doesn't matter what size or file extension. I saw references on the forum about ensuring the php.ini file had the correct settings. It does. I also checked permissions on the folders and they seem fine too.

    Any suggestions?

    Thanks

    Steve

    Posted 12 years ago #
  2. AMurray
    Pro Member

    You need to specify (or at least check) the path to the uploads folder (check this in the admin panel (in Version 3.3) or in the config.php for versions 2.x.

    What version are you using?

    Posted 12 years ago #
  3. sjones
    Member

    Hi AMurray:

    I am running 3.3. My path in the admin panel for uploads is ./data. Still having no luck. Another issue I am having (which may or may not be related) is that when I edit an entry (through Manage Forms, looking at entries, opening an entry, clicking edit.changing one of the fields and clicking submit, causes the following error:

    SQL: [484] UPDATE ap_form_3 set element_1_1=:element_1_1,element_1_2=:element_1_2,element_2=:element_2,element_3_1=:element_3_1,element_3_2=:element_3_2,element_3_3=:element_3_3,element_3_4=:element_3_4,element_3_5=:element_3_5,element_3_6=:element_3_6,element_4_1=:element_4_1,element_4_2=:element_4_2,element_4_3=:element_4_3,element_4_4=:element_4_4,ip_address=:ip_address,date_updated=:date_updated where id=:id; Params: 16 Key: Name: [12] :element_1_1 paramno=-1 name=[12] ":element_1_1" is_param=1 param_type=2 Key: Name: [12] :element_1_2 paramno=-1 name=[12] ":element_1_2" is_param=1 param_type=2 Key: Name: [10] :element_2 paramno=-1 name=[10] ":element_2" is_param=1 param_type=2 Key: Name: [12] :element_3_1 paramno=-1 name=[12] ":element_3_1" is_param=1 param_type=2 Key: Name: [12] :element_3_2 paramno=-1 name=[12] ":element_3_2" is_param=1 param_type=2 Key: Name: [12] :element_3_3 paramno=-1 name=[12] ":element_3_3" is_param=1 param_type=2 Key: Name: [12] :element_3_4 paramno=-1 name=[12] ":element_3_4" is_param=1 param_type=2 Key: Name: [12] :element_3_5 paramno=-1 name=[12] ":element_3_5" is_param=1 param_type=2 Key: Name: [12] :element_3_6 paramno=-1 name=[12] ":element_3_6" is_param=1 param_type=2 Key: Name: [12] :element_4_1 paramno=-1 name=[12] ":element_4_1" is_param=1 param_type=2 Key: Name: [12] :element_4_2 paramno=-1 name=[12] ":element_4_2" is_param=1 param_type=2 Key: Name: [12] :element_4_3 paramno=-1 name=[12] ":element_4_3" is_param=1 param_type=2 Key: Name: [12] :element_4_4 paramno=-1 name=[12] ":element_4_4" is_param=1 param_type=2 Key: Name: [11] :ip_address paramno=-1 name=[11] ":ip_address" is_param=1 param_type=2 Key: Name: [13] :date_updated paramno=-1 name=[13] ":date_updated" is_param=1 param_type=2 Key: Name: [3] :id paramno=-1 name=[3] ":id" is_param=1 param_type=2 Query Failed: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'element_4_1' cannot be null

    Steve

    Posted 12 years ago #

RSS feed for this topic

Reply