responsiv / campaign-plugin

[PREMIUM] Send professional campaign messages to your subscribers.
http://octobercms.com/plugin/responsiv-campaign
5 stars 2 forks source link

AJAX handler 'onCreate' was not found in responsiv/campaign/messages #81

Closed Davox08 closed 11 months ago

Davox08 commented 11 months ago

screenshot-01

I am using version 3.5.1 of OctoberCMS and testing the plugin locally gives me the following error when I try to create a campaign:

AJAX handler 'onCreate' was not found.

What could be causing this problem?

daftspunk commented 11 months ago

Hi @Davox08

I've never seen this before and can't seem to recreate the problem. Could you try on a fresh installation?

Davox08 commented 11 months ago

Thank you very much for your attention. I did a clean install of OctoberCMS locally and also on a shared server and got the same result. I'll tell you the configuration I used.

Laragon Environment PHP Version: 8.2.10 Apache Version: 2.4.54 MySQL Version: 8.0.3 OctoberCMS 3.5.1

Shared hosting Environment PHP Version: 8.2.10 Apache Version: 2.4.57 MySQL Version: 10.6.15-MariaDB OctoberCMS 3.5.1

Installation Method: I installed October CMS using Composer locally and Wizard Installation on shared hosting.

Issue Description: When trying to create a new campaign I receive the following error message: AJAX handler 'onCreate' was not found.

Steps Taken:

  1. Install OctoberCMS 3.5.1 using composer

  2. Assign the project key

  3. Install the plugin using the command: php artisan plugin:install Responsiv.Campaign

  4. Select New campaign

  5. Create a new template using the form in the Setup Message Template window Captura de pantalla 2023-10-04 231601

  6. Create a new campaign using the form in the Setup Message Template window

  7. At this point, when I click on create campaign, I get the error message: AJAX handler 'onCreate' was not found. Captura de pantalla 2023-10-04 231749

Please let me know if you need any additional details or if there are specific troubleshooting steps you would like me to follow. Thank you for your prompt attention to this matter.

daftspunk commented 11 months ago

Thanks for finding this. It is an issue with the core lifecycle. We will publishing a fix and let you know when it is available.

daftspunk commented 11 months ago

Please try updating to October CMS v3.5.2 to see if it helps.

Davox08 commented 11 months ago

Thanks! Once version 3.5.2 was installed I was able to create the new campaign. I appreciate your help.

Captura de pantalla 2023-10-05 113359