jDownloadsownloads.com


Author Topic: 404 Error by cklikcung on formButton when no download is selected  (Read 514 times)

0 Members and 1 Guest are viewing this topic.

Offline kaddibo

  • Newbie
  • *
  • Posts: 19
Hello,
i have a little problem. I get a 404 error instead of the message "Please select at least one file in the list before pressing the continue button." if no download is checked. I think ist in row 1606 in my overridefile. I've not made any changes here. Has anyone any idea how to fix this problem?

Look here:
http://bst.trittec.de/fachh%C3%A4ndlerbereich/verkaufshilfen-downloads/category/8-formulare-programme


Thanks Katrin


[gelöscht durch Administrator]
« Last Edit: 15.07.2016 12:47:16 by Arno »

Offline Arno

  • Administrator
  • ***
  • Posts: 12.271
    • jDownloads.com
See pic. Line 1616: remove the }

But not tested the result.

[gelöscht durch Administrator]
« Last Edit: 13.07.2016 13:46:14 by Arno »
Best Regards / Gruß
Arno
Please make a Donation for jDownloads and/or write a review on the Joomla! Extensions directory!

Offline kaddibo

  • Newbie
  • *
  • Posts: 19
Hello Arno,
thank you for your suggestion but that produces an syntax error.
And if i delete the if with $has no file the checkbox will be displayed if there is no downloadfile an the 404 error is still there.
S I think its in the form row 1607 because the return doesn't seam to work. I'am not knowing how to fix....

Offline kaddibo

  • Newbie
  • *
  • Posts: 19
Hello Arno,
I have found a Javascript Error in Firebug, but I don't know anything about Javascript. maybe you know what to do?

Code: [Select]
TypeError: f.boxchecked is undefined
if (f.boxchecked.value < 1) {
in Line 45 in jdownloads.js


Offline Arno

  • Administrator
  • ***
  • Posts: 12.271
    • jDownloads.com
Please check the activated 'category' layout. It must have a {form_hidden} placeholder which is later replaced in the script with: '<input type="hidden" name="boxchecked" value=""/> '. This field exist not on your page.
« Last Edit: 14.07.2016 01:11:10 by Arno »
Best Regards / Gruß
Arno
Please make a Donation for jDownloads and/or write a review on the Joomla! Extensions directory!

Offline kaddibo

  • Newbie
  • *
  • Posts: 19
Hello Arno,
this was right. Thank you so much. The form_hidden was on the wrong place. Now it works.  :)