Forums

Attachments

Rajah 09 May, 2008
Hi,

I succeeded with uploading an attachment.
The only problem was that it was not possible to downlaod the files from components > com_chronocontact > upload
In Joomla Config CHMOD new files is set to 0644

After some experiments such as Reset Ownership and CHMOD I got this error message which I can't get rid of it.

Parse error: syntax error, unexpected '<' in /home/virtueel/domains/interneming.nl/public_html/test/components/com_chronocontact/chronocontact.php(537) : eval()'d code on line 7



The map upload is protected.

1. How to correct the problem and
2. How to download the files
GreyHead 09 May, 2008
Hi Rajah,

The error message looks like it's caused by a typo in one of the input boxes. I'm not sure which one as I don't have any code in line 537 in my version but probably the 'OnSubmit after' box.

I download the files using FTP from my server . . . not quite sure what the problem is??

Bob
Rajah 10 May, 2008
Thanks Bob, you are right!

Mistake by changing the "refresh"content="1; instead of "1";

Most mistakes are made by correcting them....now I get
You are not allowed to access this URL directly, POST array is empty.

The file is uploaded to the upload map with CHMOD 600
I can't get this file: Cannot move file. Cannot read from source file (or something like that (is Dutch for me😉 )

Oh, oh stupid me:blush: . Disregard the last problem! This is caused because the test is with a file from my desktop which I did download to the same desktop.

I have to look if all problems are solved now.
Edit again:
I am less stupid than I thought🙂
I did put the test file in a separate map, but the problem still exists. Not possible to download the file.
GreyHead 10 May, 2008
Hi Rajah,

I'm just confused. I have no idea what you are doing or what doesn't work.

Bob
Rajah 10 May, 2008
You are entirely right, it's a mess now.
I am making a new form from scratch and let you know what will be the result!
Sorry! :blush:
Rajah 10 May, 2008
It works :laugh: and it's awsome! Did not know that the attachment was with the e-mail.
I was used to download it from the server (FacileForms).
The only thing I did forget was to set the map on 707.

Very nice Bob!
This topic is locked and no more replies can be posted.

VPS & Email Hosting 20% discount
hostinger