Forums

Upload doesn't work and i get nog attachment!

Faro-designs 27 Apr, 2010
Hi,

In my previous post i said my form wasn't working but ive got that done know😀 .
Only now i've got one problem!

The mail and the form works right only my upload doesn't load the file up to the directory after my ftp so i cant find it in my upload directory.

I've set the upload directory to /www/htdocs/hockeyboekje/http/components/com_chronocontact/uploads/

So this should be the map where the file needs to get in, but this doesn't work, and i've uploaded a .jpg and i set the allowed file extensions to: file_1:jpg|png{2000-1}

And my uploads stands on enabled, and the file size is only 130k while the maximum is up to 2000k.
If someone could help me i would appreciate it!

Further how do i set the upload file in the attachment of my mail when i got this working?


Yours sincerely,

Guido Faro
GreyHead 27 Apr, 2010
Hi Guido,

Is the folder marked as 'Wrtable' in the File Uploads tab?

If so, please turn on debug, submit the form and post the debug reports here.

Bob
Faro-designs 27 Apr, 2010
Thanx for the fast reply,

I checked the form and it is writeble (cmod: 777) if this is what you mean, but it still doesn't work.
So i did the debug tool as you said here it is:

Form passed first SPAM check OK
Form passed the submissions limit (if enabled) OK
Form passed the Image verification (if enabled) OK
Form passed the server side validation (if enabled) OK
$_POST Array: Array ( [text_8] => Guido Faro [text_7] => Gweedo [text_6] => 22-08-1990 [text_5] => Webdeveloper [text_4] => 0 [text_3] => n.v.t. [text_2] => n.v.t. [text_1] => n.v.t. [chrono_verification] => qJS5N [button_10] => Verzenden [35431ec49c2e7d47c1859d3eb3a6949a] => 1 [1cf1] => 0a314592da22e5650bba9c150c9902fc [chronoformname] => registratie )
$_FILES Array: Array ( [file_0] => Array ( [name] => 668731679_5_VWwL.jpg [type] => image/pjpeg [tmp_name] => /tmp/phpRoWYqA [error] => 0 [size] => 48609 ) )
Form passed the plugins step (if enabled) OK
An email has been SENT successfully from (admin)admin@hockeyboekje.nl to [email]office@publisherpartners.com[/email]
Debug End
Redirect link set, click to test:



I hope you can help me with this.
GreyHead 27 Apr, 2010
Hi Guido,

No, I meant the little Writeable / Not writeable message that appears on the Form Editor | File Uplaods tab.

From the debug it looks as though File Uploads may not be enabled (on the same tab)?

Bob
Faro-designs 27 Apr, 2010
Hi Greyhead,

In the attachment you can find a screenshot from the upload area where you can see that its writable.

Further there is another attachmet that says the file upload is on so can you help me further.

Thank you!

Yours sincerely,

Guido Faro
GreyHead 27 Apr, 2010
Hi Guido,

Thank you. Now I see the problem. The settings on the File UPload tab are for file_1 but the Form Debug shows that the File upload input is file_0.

These two need to match.

Bob
Faro-designs 29 Apr, 2010
Thanks for your reply, it works now.
This topic is locked and no more replies can be posted.