Forums

404 - Article not found

Jac Fourie 18 Aug, 2014
Hi

We have a form online that was working perfectly. We then added a "FILE UPLOAD" option, and since then when you press submit, we get a "404-ARTICLE not found" found...

Error on SUBMIT page (http://www.toyotabroers.co.za/index.php/finance-application?chronoform=finance_application&event=submit)

* We've added the option to "Attachments fields name"
* Set the FILES UPLOAD option to YES
* Files "id:jpg-png-gif-doc-docx-pdf-rar-zip-xls"
* Max Size in KB set to "5000" (we've also increased the domains upload size)...

The REDIRECT (Thank you) page works when we remove the upload file option.

What are we missing?
GreyHead 19 Aug, 2014
Hi Jac,

Please drag a Debugger action into the On Submit event, then submit the form and post the debug results here.

Note: if you are using the Easy Wizard you can turn on Debug on the Others tab in CFv4 or the Setup tab in CFv5.

Bob
Jac Fourie 19 Aug, 2014
Nope Sorry - Activated the DEBUG, but when I press submit... I still just receive an 404 - ARTICLE NOT FOUND page ... no additional text...

Printscreen attached...

I'll send the login details for the website in a PM...
Max_admin 19 Aug, 2014
Maybe a permissions problem ? please double check that the uploads path is writable by Joomla ?

Please also try to test the form using the "view form" link in the forms manager

Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Jac Fourie 19 Aug, 2014
Hi

No problems uploading files & images to MEDIA MANAGER...

BUT when I TEST FORM - it works.

Debug info:
Debug Data

Core Captcha
Passed the core captcha check!
Upload routine started for file upload by : id
/usr/www/users/toyotmvzwt/components/com_chronoforms/uploads/finance_application/20140819133533_Marloth_park_map.pdf has been uploaded successfully.
email
10
Result An email has been SENT successfully from (Brandon Brothers Website)quintonb@pnt1.co.za to quintonb@pnt1.co.za
Body
ID NUMBER* 1
APPLICANT'S DETAIL
TITLE* 1
(I removed the rest in order to shorten the debug text)
Upload documents
ID 20140819133533_Marloth_park_map.pdf







Submitted by 41.161.39.222
Attachments array ( 0 => '/usr/www/users/toyotmvzwt/components/com_chronoforms/uploads/finance_application/20140819133533_Marloth_park_map.pdf', )
redirect_user
redirect_user_target_url: index.php/thank-you
Redirect URL (click to continue):
index.php/thank-you

So what am I doing wrong on the main page?
Max_admin 19 Aug, 2014
Answer
Your file field name is "id" ? if yes then please change this, since its used by Joomla to reference articles, they conflict together!

Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Jac Fourie 19 Aug, 2014
Ai Karamba 😀

The whole problem was the "id"- the moment I changed it to id_document, the form worked.

Thanks a bunch!
This topic is locked and no more replies can be posted.