Tried to use the module without docs or help.. Interesting, like a playing a game..

Have two questions:

1. Error
Fatal error: Class 'XSLTProcessor' not found in /home/mysote/public_html/dir/sites/all/modules/sunmailer/sunmailer.xml.inc on line 170

BTW: Current XSL File: html-default.xsl

2. How to schedule sending the newsletter, for axmple ona daily basis?

Thanks for contributing this promising module.

Comments

Mike Wacker’s picture

Title: Class 'XSLTProcessor' not found » Better Error Reporting When PHP's XSL Module is not Installed

I agree the documentation is lacking, which is why I still have this in alpha.

In short, SunMailer uses PHP's XSL module. Since it not installed or enabled on your server, it is generating the class not found error. However, it would make sense to display something more informative than the white screen of death if the XSL module is missing.

It may also make sense to add an item to the status report if Sunmailer can't find either the XSL module or PHPMailer.

Also, I've moved #2 into another issue, #673154: Schedule the Newsletter to Automatically Send.

Mike Wacker’s picture

Title: Better Error Reporting When PHP's XSL Module is not Installed » Implement hook_requirements(). Avoid WSOD.
Status: Active » Fixed

This should be fixed as of 1.0-alpha3. You should get an informative error page instead of a WSOD, and a missing XSL module will get reported on the status report.

For an unrelated reason, you'll need to do a fresh install of this new version or manually update the database schema yourself (see the release notes for alpha 3).

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.