Search results

  1. E

    Beacon inserted incorrectly in CampaignHelper::parseContent()

    Sorry, I meant before </body>, not </table> I guess you mean before, not after. But the thing is I can't log.
  2. 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...
  3. 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...
  4. E

    How to trace or log from within an extension

    And what categories should I use? I know this is a question about Yii and not so much about Mailwizz, but I never found this to be clear in Yii's documentation.
  5. 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?
  6. E

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

    Thanks, I tried that, but it doesn't work, and it kind of makes sense, because I see all the processing in the plugin is hooked to the console_command_daily. I know I could test this by executing that console command, but it also would trigger any other daily hooked process. Is there a way to...
  7. 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?
  8. 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?
  9. 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?
  10. 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?
  11. E

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

    Haha well I actually singled the extension out and when disabling it, the API works correctly, so yes, I'm contacting the extension developer now. Thanks!
  12. 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...
  13. 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.
  14. E

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

    Ok I just gave the permissions and the install finally worked. I just found it strange that the install created the configuration file, but then it wasn't able to write to it.
  15. 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...
  16. E

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

    From searching the mailwizz API source, that message is only displayed in RequestAccessFilter.php line 149. That filter has many other error messages that are very specific, like Invalid API key or Your IP address is not allowed but I'm not sure what Invalid API request signature, means, I can't...
  17. E

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

    @twisted1919 : This is the code. SCHEME_DOMAIN is the site's URL, it's correctly setup as well as both API keys. Yii::registerAutoloader(['MailWizzApi_Autoloader', 'autoloader'], true); $config = new MailWizzApi_Config([ 'apiUrl' => SCHEME_DOMAIN.'/mailwizz/api/index.php'...
  18. E

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

    @twisted1919 What could be the error here, so I know where to start searching? API keys? API endpoint URL? anything else? The error code is not specific.
Back
Top