Search results

  1. E

    Beacon inserted incorrectly in CampaignHelper::parseContent()

    I know it's most likely caused by a custom-made extension, but the beacon from CampaignHelper::parseContent() is being inserted inside the template body instead of just before </table> The thing is I tried to log from CampaignHelper::parseContent() but nothing gets logged. I can log from the...
  2. E

    Can't validate a SparkPost delivery server

    I have SparkPost delivery servers configured on my live server. I need to create one on my local environment for testing, I'm using the same SparkPost API key, but the server does not validate. What could be the issue? I need this to debug the template parsing, because Mailwizz is inserting the...
  3. E

    How to trace or log from within an extension

    Hi, I want to Yii::trace() or Yii::log() from within an extension, how would I do that? Should I add something to apps/common/config/main.php? Should the logged lines appear in apps/common/runtime?
  4. E

    How to test an extension's run() mehtod?

    Hi, I'm debugging an extension somebody else made, and I want to execute its run() method so I can enter it with the debugger. How do I do this? PS: The extension is supposed to run with a daily cronjob, and I'm not sure how do extensions get hooked in cron, so maybe there's the solution?
  5. E

    I'm getting a big server load with requests to Mailwizz's /dswh/{id}

    I'm getting a big server load with requests to Mailwizz's /dswh/{id} I have it set up with Sparkpost. Is there a way I could optimize this from the Mailwizz side?
  6. E

    A global webhook instead of per-customer custom webhooks?

    Hi, I'd like to have a single webhook to be called when a subscriber subscribes to any list, instead of having each customer customize their own webhook. Is this possible? I'm using the List form custom webhooks extension. Or should I do it a different way?
  7. E

    Delivery server won't validate on my local dev environment

    Can't send campaigns from my local dev environment. The delivery server config won't validate, it just reloads the page, no mail is sent, no error message, nothing. Is there an error log I can look into? Is there a likely cause for this?
  8. E

    API lists GET endpoint has no user ID despite being restricted to non logged users.

    *** Edit: a custom extension may be causing this. *** Hi, I'm calling the API and for some reason, at least the /lists endpoint with the method GET (this should get all of a user's lists) the user identification is failing, Yii::app()->user->getId() returns 0, although the controller explicitly...
  9. E

    Webhook or redirection from list form submission back to my site.

    Hi, this is the page when someone subscribes to a list. Is there a way to redirect users back to my site? Or even not showing this page at all? I have the form on my site and it submits to the mailwizz site.
  10. E

    1.3.8.5 /install redirects me to ../ which redirects me to /site/offline

    Hi, I upgraded to 1.3.8.5, wiped the DB clean and wanted to install it from scratch, but /install redirects to ../ and from there it redirects to /site/offline What can be the problem here? Edit: I saw the redirect was made at line 42 of the install script: if...
  11. E

    From the API: "Invalid API request signature. Please refer to the documentation"

    Hi, I get this from the API: "Invalid API request signature. Please refer to the documentation", what is the error?
  12. E

    Is there a way to extend the API?

    I'm associating my main site users with MW customers via their uid, and to call API endpoints like the list/view for example, I need the customer's keys. So I'd need to add an API endpoint that lets me get the customer keys. I know this may pose a security threat, but the API is restricted to...
  13. E

    Can't get the php-sdk to work from my Yii application

    Hi, I tested the mailwizz-php-sdk examples and they worked great. But now I'm trying to test calling the SDK from within a controller of my Yii app, but can't make the Autoloader work. I get this error: include(MailWizzApi_Config.php): failed to open stream: No such file or directory Because my...
  14. E

    Why use MailWizz as a REST app through http when you have it installed in your own server?

    Hi, I installed MailWizz in our server (in my local dev env, actually) and tested the examples of mailwizz-php-sdk. It all works well, but why would I need to call it through http? Couldn't I just call the code directly locally? is there a way to do that or REST is the only way? Thanks.
  15. E

    Where's the API documentation?

    Hi, I can't find any API documentation. After I install MailWizz, how do I use it? how do I call MailWizz endpoints from my code? How do I create forms and embed them in my site? Thanks.
Back
Top