Forums

Help me Please !

Walmir 19 Aug, 2008
Help me Please !
Look this link:
http://www.projetoweb.net/hospedagem/index.php?option=com_chronocontact&chronoformname=Cadastro

and look this message after press SUBMIT :
Warning: reset() [function.reset]: Passed variable is not an array or object in /home/projetow/public_html/hospedagem/includes/joomla.php on line 3871

Warning: Variable passed to each() is not an array or object in /home/projetow/public_html/hospedagem/includes/joomla.php on line 3873

Look the CODE:

3868 //Important for being able to use mosMail without spoofing...
3869 if ($replyto) {
3870 if (is_array( $replyto )) {
3871 reset( $replytoname );
3872 foreach ($replyto as $to) {
3873 $toname = ((list( $key, $value ) = each( $replytoname )) ? $value : '');
3874 if (!JosIsValidEmail( $to ) || !JosIsValidName( $toname )) {
3875 return false;
3876 }
3877 $mail->AddReplyTo( $to, $toname );
3878 }
3879 } else {
3880 if (!JosIsValidEmail( $replyto ) || !JosIsValidName( $replytoname )) {
3881 return false;

What can i do to ?

Tanks Regard

Walmir Rodrigues
[email]wrjr57@terra.com.br[/email]
[email]cobranca@projetoweb.net[/email]
Max_admin 19 Aug, 2008
Hi walmir, do you have a joomla 1.0.x ?
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
GreyHead 19 Aug, 2008
Hi walmir,

It looks as though maybe you don't have a RepyTo Name or ReplyTo Email for your form??

Bob
AHLA_Brian 09 Oct, 2008
I am running Joomla 1.0x and get the same error of " Warning: reset() [function.reset]: Passed variable is not an array or object in"

Any suggestions?

Thank you.
Max_admin 09 Oct, 2008
Hi Brian, what about Bob's suggestion ? you need to try this one.
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
AHLA_Brian 10 Oct, 2008
Thanks for the reply.

Here is the out put:
_POST: Array ( [company] => Brian [phone] => 9999999999 [email] => [email]brian@here.com[/email] [type] => O [contact] => Brian [fax] => [address1] => here Ave [address2] => [city] => Orlando [state] => Florida [zip] => 33333)
Case 1: Use table layout
E-mail: 'Yes' custom


I have both a "From name" and "Reply To email address" in the general tab under Chronoforms.
Max_admin 10 Oct, 2008
Remove any reply to data and add a From email too, from email and the target email should be different!
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
This topic is locked and no more replies can be posted.