Attachments

Post any questions you may have here

Attachments

Postby Rajah on Fri May 09, 2008 8:15 am

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
Rajah
Fresh Boarder
 
Posts: 18
Joined: Mon May 05, 2008 6:38 pm

Re:Attachments

Postby GreyHead on Fri May 09, 2008 7:38 pm

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
Bob Janes
info at greyhead.net
ChronoForms Support If you like ChronoForms please vote or post a review at Joomla.org
User avatar
GreyHead
Platinum Boarder
 
Posts: 3253
Joined: Tue May 29, 2007 10:15 pm
Location: Brittany

Re:Attachments

Postby Rajah on Sat May 10, 2008 4:37 am

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.
Rajah
Fresh Boarder
 
Posts: 18
Joined: Mon May 05, 2008 6:38 pm

Re:Attachments

Postby GreyHead on Sat May 10, 2008 6:43 am

Hi Rajah,

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

Bob
Bob Janes
info at greyhead.net
ChronoForms Support If you like ChronoForms please vote or post a review at Joomla.org
User avatar
GreyHead
Platinum Boarder
 
Posts: 3253
Joined: Tue May 29, 2007 10:15 pm
Location: Brittany

Re:Attachments

Postby Rajah on Sat May 10, 2008 6:49 am

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
Fresh Boarder
 
Posts: 18
Joined: Mon May 05, 2008 6:38 pm

Re:Attachments

Postby Rajah on Sat May 10, 2008 7:25 am

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!
Rajah
Fresh Boarder
 
Posts: 18
Joined: Mon May 05, 2008 6:38 pm


Return to ChronoForms Questions & Answers

Who is online

Users browsing this forum: No registered users and 2 guests