Okay
  Public Ticket #1771878
Email Notifications
Closed

Comments

  • Itzerott started the conversation

    I have set the email name and address under Notifcation Settings, and tried with PHP Mail, WP Mail and SMTP, but no matter what, saving changes to email notifications will not work and crucially, it wont send a test email.


    It keeps saying "To be able to send test email please configure "Sender Email" in Notification Settings."


    My last booking software sent mail just fine, I also tried installing an SMTP sender plugin which tested fine too!

  • Itzerott replied

    Further info:


    So I checked and when adding a name and email to the email notifications settings page, I click save and the pop up says 

    "Success

    Settings has been saved"


     - but they HAVENT been saved, as if I then refresh the page they are empty again!

  • Itzerott replied

    In fact it hasn't saved ANY of my changes to ANY settings!

    Curios that it reports Success in the pop ups though!

    SQL issue?

    CHMOD?

  • Itzerott replied

    Bit more digging - in error log I am getting wordpress database duplicate entry errors. Below I have pasted an example of one of the error logs:


    [05-Nov-2018 10:37:06 UTC] WordPress database error Duplicate entry 'provider_appointment_rejected' for key 'name' for query INSERT INTO wp_amelia_notifications 
                            (
                                `name`,
                                `niceName`,
                                `type`,
                                `time`,
                                `timeBefore`,
                                `timeAfter`,
                                `sendTo`,
                                `subject`,
                                `content`
                            ) 
                            VALUES
                            (
                                'provider_appointment_rejected',
                                'Appointment Rejected',
                                'email',
                                 NULL,
                                 NULL,
                                 NULL,
                                'provider',
                                '%service_name% Appointment Rejected',
                                'Hi <strong>%employee_full_name%</strong>,<br><br>Your <strong>%service_name%</strong> appointment 
                         at <strong>%location_name%</strong>, scheduled for <strong>%appointment_date%</strong> at  
                         <strong>%appointment_start_time%</strong> has been rejected.
                         <br><br>Thank you,<br><strong>%company_name%</strong>'
                            ) made by activate_plugin, do_action('activate_ameliabooking/ameliabooking.php'), WP_Hook->do_action, WP_Hook->apply_filters, AmeliaBooking\Plugin::activation, AmeliaBooking\Infrastructure\WP\InstallActions\ActivationDatabaseHook::init, AmeliaBooking\Infrastructure\WP\InstallActions\DB\AbstractDatabaseTable::init, dbDelta
    [05-Nov-2018 10:37:06 UTC] WordPress database error Duplicate entry 'provider_appointment_canceled' for key 'name' for query INSERT INTO wp_amelia_notifications 
                            (
                                `name`,
                                `niceName`,
                                `type`,
                                `time`,
                                `timeBefore`,
                                `timeAfter`,
                                `sendTo`,
                                `subject`,
                                `content`
                            ) 
                            VALUES
                            (
                                'provider_appointment_canceled',
                                'Appointment Canceled',
                                'email',
                                 NULL,
                                 NULL,
                                 NULL,
                                'provider',
                                '%service_name% Appointment Canceled',
                                'Hi <strong>%employee_full_name%</strong>,<br><br>Your <strong>%service_name%</strong> appointment,
                         scheduled on <strong>%appointment_date%</strong>, at <strong>%location_name%</strong> has been 
                         canceled.<br><br>Thank you,<br><strong>%company_name%</strong>'
                            ) made by activate_plugin, do_action('activate_ameliabooking/ameliabooking.php'), WP_Hook->do_action, WP_Hook->apply_filters, AmeliaBooking\Plugin::activation, AmeliaBooking\Infrastructure\WP\InstallActions\ActivationDatabaseHook::init, AmeliaBooking\Infrastructure\WP\InstallActions\DB\AbstractDatabaseTable::init, dbDelta


  •  1,688
    Miloš replied

    Hi Itzerott,
    Thank you for your purchase.

    Please provide me a temporary WP-admin login for your site where this happens, so we could log in and take a look ‘from the inside’ as that’s the most efficient way to see and resolve the issue. We do not interfere with any data or anything else except for the plugin (in case that’s a production version of the site), and of course we do not provide login data to third party. You can write credentials here just check Private Reply so nobody can see them except us.


    Best regards.

    Kind Regards, 

    Miloš Jovanović
    [email protected]

    Rate my support

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia demo sites | Docs | Discord Community

    You can try wpDataTables add-ons before purchasing on these sandbox sites:

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables

  •   Itzerott replied privately
  •   [deleted] replied privately
  •   Itzerott replied privately
  •   [deleted] replied privately
  •   Itzerott replied privately
  •   [deleted] replied privately
  •   Itzerott replied privately
  •   [deleted] replied privately
  •   Itzerott replied privately
  • [deleted] replied

    Hi Itzerott,

    Thank you for letting us know. This is the first time that I heard that hosting doesn't support one of the HTTP methods. There were cases before that some of the methods are not allowed and request returns 405 Method Not Allowed, but always hostings were able to enable these methods on their end.

    "It might be worth looking at tunnelling PUT headers through POST... but really if this is the first time you've come across this issue, it might not be worth the work for the tiny amount of users it will affect"

    - Some of the routes are the same, just the method is different, so there would be a lot of work to change all routes to POST method.

    Regarding the second your requirement, we should release next update next week so we will add 9, 10, 11 and 12 hours.

    Thank you once again for lettings us know that some hostings doesn't support PUT method

    If you have any more issues don't hesitate to ask. We'd greatly appreciate it if you could take a minute and leave a review on CodeCanyon on this link. Thanks!