hallo there,
i have made a beutyfull form with your tool (Chronoforms_V4_stable_J2.5) and its work perfect
is an e-mail form with 5 upload files , the form works, the email arrives with attachments ... but
when i leave an upload file empty the form still works the email still arrives with attachments and above the thanks message i have this ...
Warning: array_values() expects parameter 1 to be array, null given in /home/domain/public_html/new/administrator/components/com_chronoforms/form_actions/email/email.php on line 205
Warning: Invalid argument supplied for foreach() in /home/domain/public_html/new/administrator/components/com_chronoforms/form_actions/email/email.php on line 206
this message comes for every file upload i leave empty
could you plaesa help me
i have made a beutyfull form with your tool (Chronoforms_V4_stable_J2.5) and its work perfect
is an e-mail form with 5 upload files , the form works, the email arrives with attachments ... but
when i leave an upload file empty the form still works the email still arrives with attachments and above the thanks message i have this ...
Warning: array_values() expects parameter 1 to be array, null given in /home/domain/public_html/new/administrator/components/com_chronoforms/form_actions/email/email.php on line 205
Warning: Invalid argument supplied for foreach() in /home/domain/public_html/new/administrator/components/com_chronoforms/form_actions/email/email.php on line 206
this message comes for every file upload i leave empty
could you plaesa help me
Hi geodan,
Please set Error Reporting to System Default or None in the Site Global Configuration. That should hide these warnings.
Bob
Please set Error Reporting to System Default or None in the Site Global Configuration. That should hide these warnings.
Bob
GreyHead thanks that was very helpful tip
but is there any possibility to having other problems from that error ?
or it just warning?
and something else
if someone put in a field wrong input then in email box place appears that message
<script type='text/javascript'> <!-- var prefix = 'ma' + 'il' + 'to'; var path = 'hr' + 'ef' + '='; var addy81001 = 'test' + '@'; addy81001 = addy81001 + 'test' + '.' + 'gr'; document.write('<a ' + path + '\'' + prefix + ':' + addy81001 + '\'>'); document.write(addy81001); document.write('<\/a>'); //-->\n </script><script type='text/javascript'> <!-- document.write('<span style=\'display: none;\'>'); //--> </script>Αυτή η διεύθυνση ηλεκτρονικού ταχυδρομείου προστατεύεται από τους αυτοματισμούς αποστολέων ανεπιθύμητων μηνυμάτων. Χρειάζεται να ενεργοποιήσετε τη JavaScript για να μπορέσετε να τη δείτε. <script type='text/javascript'> <!-- document.write('</'); document.write('span>'); //--> </script>
ex
in my form
i add the email
i upload a jpg (input_file_9:jpg-png-gif)
i upolad a pdf (input_file_10:jpg-png-gif)
enter the captcha
and submit
the result
in place of mail i wrote appears the above message
the correct file disappear
to the wrong file appears the correct message for wrong file
what is this message ?
Thanks again
but is there any possibility to having other problems from that error ?
or it just warning?
and something else
if someone put in a field wrong input then in email box place appears that message
<script type='text/javascript'> <!-- var prefix = 'ma' + 'il' + 'to'; var path = 'hr' + 'ef' + '='; var addy81001 = 'test' + '@'; addy81001 = addy81001 + 'test' + '.' + 'gr'; document.write('<a ' + path + '\'' + prefix + ':' + addy81001 + '\'>'); document.write(addy81001); document.write('<\/a>'); //-->\n </script><script type='text/javascript'> <!-- document.write('<span style=\'display: none;\'>'); //--> </script>Αυτή η διεύθυνση ηλεκτρονικού ταχυδρομείου προστατεύεται από τους αυτοματισμούς αποστολέων ανεπιθύμητων μηνυμάτων. Χρειάζεται να ενεργοποιήσετε τη JavaScript για να μπορέσετε να τη δείτε. <script type='text/javascript'> <!-- document.write('</'); document.write('span>'); //--> </script>
ex
in my form
i add the email
i upload a jpg (input_file_9:jpg-png-gif)
i upolad a pdf (input_file_10:jpg-png-gif)
enter the captcha
and submit
the result
in place of mail i wrote appears the above message
the correct file disappear
to the wrong file appears the correct message for wrong file
what is this message ?
Thanks again
Hi geodan,
PHP Notices and Warnings are just that - advice of a potential problem. They very very rarely have any real effect apart from the messages. On a Production site the messages should be hidden - on a development site typically I'd have them showing.
Please see this FAQ for the stray JavaScript.
Bob
PHP Notices and Warnings are just that - advice of a potential problem. They very very rarely have any real effect apart from the messages. On a Production site the messages should be hidden - on a development site typically I'd have them showing.
Please see this FAQ for the stray JavaScript.
Bob
This topic is locked and no more replies can be posted.
