Reply To not working and JModel error

rbeilby 31 Jan, 2012
I have a Chronoforms 4 RC 3.1 form. I have set the dynamic "reply to" to the e-mail address in the form, but it is always ignored. The "reply to" address is that of the static "from" address. I need the dynamic reply to address in the e-mail received from the form.

After pressing the submit button, I get the following error:-
Fatal error: Class 'JModel' not found in /home/fk22beil/public_html/dent/modules/mod_weblinks/helper.php on line 14
I have added the custom code <?php
jimport( 'joomla.application.component.model' );
?> to the "on load" action.

Any help with these 2 problems will be greatly appeciated.

I am using Joomla 1.7 and Chronoforms 4 RC 3.1

Regards,

Richard Beilby.
rbeilby 03 Feb, 2012
I am getting no where with this and as such cannot proceed. I now have no alternative, but, to have to ditch this software. Does anyone know of a good alternative component? What about BreezingForms?

Regards,

Richard Beilby.
GreyHead 03 Feb, 2012
Hi Richard,

The Reply To problem is a continuing Joomla! bug. Please see this post for more info and a workaround.

The Model error looks like a Joomla! bug in the web-links module. I've just tested a form with the web links module in Joomla! 2.5 and I don't see this error - it's possible that it's been fixed.

Breezing Forms is an excellent extension and I'm sure that they will be pleased to have you as a user.

Bob
rbeilby 03 Feb, 2012
Thanks, Bob. I will update to 2.5 (has to be done anyway!) and then add the modification you suggest in the other post.

Regards,

Richard Beilby.
GreyHead 03 Feb, 2012
Hi Richard,

If you still see the error please post a link to the form so I can take a quick look.

Bob
rbeilby 03 Feb, 2012
Hello Bob,

I have upgraded Joomla to 2.5.1 and Chronoforms to V4 Rc 3.11. I am still getting the JModel error as below:-
Fatal error: Class 'JModel' not found in /home/fk22beil/public_html/dent/modules/mod_weblinks/helper.php on line 13

I also modified the mail.php as per your post, but, sadly this does not seem to work.

Do you have any suggestions, please.
GreyHead 04 Feb, 2012
Hi Richard,

There's not much more that I can suggest. By all means email or PM me the site URL and a SuperAdmin login and I'll take a quick look.

Bob
rbeilby 15 Feb, 2012
Bob,

I have found a resolution to the JModel error: load it in helper.php with the jimage command. Happily this does seem to work.

I am afraid that the reply to problem is still on going, though. I made the changes as you suggested in mail.php, but, this has had no effect. I have checked the fields and their names on the form and all seems to be in order.

Also the dynamic CC and BCC are not being populated. I would like to be able to send the submitter a copy of the e-mail that has been sent from the form.

Do you have any other suggestions on the problems?
rbeilby 18 Feb, 2012
One other thing I have discovered is that in the headers of the incoming e-mail it state that the mailer is PHP Mailer version 5.2. I have configured Joomla to use SendMail. I set this is Global Configuration -> Server. The path to sendmail looks correct and in the correct case.

So why does Chronoforms/Joomla use PHP Mailer, even thoguh I have set it to use SendMail?

Regards,

Richard Beilby.
GreyHead 19 Feb, 2012
Hi Richard,

I think that these are different things. PHP Mailer is the PHP class that Joomla! uses to manage sending emails. It sends the Email using the mailer you have set up for your site.

PHPMailer is a PHP email transport class featuring file attachments, SMTP servers, CCs, BCCs, HTML messages, word wrap, and more. Sends email via sendmail, PHP mail(), QMail, or directly with SMTP. Support for additional transports, such as SMS, MMS will be forthcoming


from http://code.google.com/a/apache-extras.org/p/phpmailer/

Bob
rbeilby 19 Feb, 2012
Hello Bob,

Thanks for the information. Somewhat confusing to see that PHP Mailer is in the header rather than SendMail.

I still cannot get the Reply To, CC and BCC to work with dynamic fields from the form. It is really frustrating!
rbeilby 29 Feb, 2012
Bob,

Do you know if Chronoforms will work with formmail.pl? If so, where should the file be placed and how is it called?
GreyHead 29 Feb, 2012
Hi Richard,

I've no idea. Looks a bit dated now.

Bob
rbeilby 29 Feb, 2012
Thanks for your reply, Bob. At least formmail works! I think I will revert to designing my own forms and using formmail; at least then I have full control over the processing.
rbeilby 03 Mar, 2012
Bob,

Do you think there is a way that we can get the Chronoforms/Joomla problems fixed? If the e-mailing faults are solely in Joomla, then it must affect every form component there is.

Can a bug report be raised for Joomla?
rbeilby 07 Mar, 2012
Hello Bob,

I have now tested with BreezingForms and found it does exactly what I need. The "reply to" is set correctly, a return message to sender is sent and the other fields are populated as desired.

BreezingForms uses PHPMailer too, so its mechanism to send mail seems very similar to Chronoforms.

I am afraid I will have to ditch Chronoforms. Sorry about that.

😀 😀
This topic is locked and no more replies can be posted.