Forums

Mailer Error: Could not instantiate mail function.

steverahks 10 Feb, 2016
My problems started after updating to V5. I have read the related posts and FAQ related to this error message. I have tried everything suggested to no avail. I have uninstalled the component, reinstalled and that didn't help any either. The settings are the same for other websites I have and the other site forms are working.

Here is some information from my hosting provider, any ideas on what the problem is? (I substituted x's for the directory info)

[Mon Feb 08 10:13:51 2016] [error] [client xx.xx.x.x] PHP Fatal error: require_once(): Failed opening required '/xxx/xxx/xxx/xxx/xxx/xxxxxxx.com/joomlaDScomponentsDScom_chronoformsDSchronoforms.html.php' (include_path='.:/usr/share/pear:/usr/share/php') in /xxx/xxx/xxxx/xxx/xxx/xxxx.com/joomla/components/com_chronoforms/chronoforms.php on line 62, referer: http://xxxx.com/lets-get-started

When checking the file it can't open, /xxx/xxx/xxx/xxx/xxx/xxxxxxx.com/joomlaDScomponentsDScom_chronoformsDSchronoforms.html.php , it does not exist:

[root@cloud httpd-logs]# ls -l /xxx/xxx/xxx/xxx/xxx/xxxx.com/joomlaDScomponentsDScom_chronoformsDSchronoforms.html.php
ls: cannot access /xxx/xxx/xxx/xxx/xxx/xxx.com/joomlaDScomponentsDScom_chronoformsDSchronoforms.html.php: No such file or directory
GreyHead 10 Feb, 2016
Hi tjhaas,

The error messages appear to refer to ChronoForms v4 - do you have both installed?

Bob
steverahks 10 Feb, 2016
No, I uninstalled V4 before installing V5. I have cleared all the cache files for both the system and chronoform.

When uninstalling Chronoforms does it delete the database related items as well?
GreyHead 10 Feb, 2016
Hi tjhaas,

Do you have the CFv4 plug-in or module still installed; or a menu item linked to CFV4 form? Something is trying to load those files???

Uninstalling should I think remove the tables where the form structure is saved - but not any form data tables.

Bob
steverahks 10 Feb, 2016
I do not have the module or plugin installed from CFv4 all previous versions have been removed. There is only one menu item linked to the form and it is linked to CFv5.

I found two tables in the database chronoengine_chronoforms and chronoengine_extensions. After uninstalling the CFv5 again, I found that chronoengine_extensions remained in the database. I manually deleted the table from the database and reinstalled CFv5.

Still get the error.

I use a dynamic subject line to make sure each subject line is unique, otherwise they all get grouped together within my email program. The code for that is:

<input type='hidden' name='input_recordtime' id='input_recordtime' value='midmnmarketing.com visitor submission <?php echo date('Y-m-d H:i:s'); ?>' />


Using the debug within the form the error generated is:

Array
(
)

The debug information is:

Array
(
    [2] => Array
        (
            [Email] => Array
                (
                    [0] => An email with the details below could NOT be sent:
                    [1] => To:support@midmnmarketing.com
                    [2] => Subject:midmnmarketing.com visitor submission 2016-02-10 20:37:00
                    [3] => From name:Mid Minnesota Marketing
                    [4] => From email:tim.haas@midmnmarketing.com
                    [5] => CC:
                    [6] => BCC:
                    [7] => Reply name:
                    [8] => Reply email:tim.haas@midmnmarketing.com
                    [9] => Attachments:
                    [10] => Body:
<table>
<tr><td></td><td></td></tr>
<tr><td>Full Name:</td><td>fadf</td></tr>
<tr><td>Company Name:</td><td>safdfasd</td></tr>
<tr><td>Mailing Address:</td><td>afsdfd</td></tr>
<tr><td>CIty:</td><td>dfdsa</td></tr>
<tr><td>State:</td><td>asdfas</td></tr>
<tr><td>Zip Code:</td><td>sdf</td></tr>
<tr><td>Phone:</td><td>320-582-2288</td></tr>
<tr><td>E-mail:</td><td>tim.haas@midmnmarketing.com</td></tr>
<tr><td>Website:</td><td>http://midmnmarketing.com</td></tr>
<tr><td>Array</td><td>adsfasdfsadf</td></tr>
<tr><td></td><td></td></tr>
</table><br /><br />IP: 50.82.0.153
                )

        )

)
Max_admin 11 Feb, 2016
The errors reported by the host are not related to the mailer error I think, please check this FAQ:
http://www.chronoengine.com/faqs/52-cfv4/cfv4-emails/3556-error-qcould-not-instantiate-mail-functionq.html

Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
steverahks 11 Feb, 2016
I have already read that FAQ several times. Is there something in there that I am missing?
GreyHead 11 Feb, 2016
Hi tjhaas,

Possibly,

Firstly - if you are still seeing the same messages in the server logs then they can only be coming from a CFv4 extension of some kind. Though, as Max said - it's unlikely that they have anything to do with the CFv5 mailer problem.

Does your site send Emails from a Mail a Friend link in an article? That is the basic test for Joomla! mailer functioning.

Have you added settings to the ChronoForms mailer tab to supersede the Joomla! settings?

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