Iāve installed the Content Areas Plugin but when it is activated the page āSend a campaignā appearing blank. The menu and the title are visibles but forms to admin the campaign not.
Have you enabled CommonPlugin on the Manage Plugins page?
You also need various php XML extensions installed, including DOM and XSL.
Possibly there might be something in the web server error log.
Other than these I donāt really have suggestions.
I work with Sdesrousseaux .
DOM and XML are enabled.
We have this in phpinfo :
When I try to edit an existing campaign or create a new one, we have a blank page and we have the following error in php log:
[29-Sep-2015 15:25:42 Europe/Berlin] PHP Warning: set_error_handler() expects the argument (phpList\plugin\Common\Exception::errorHandler) to be a valid callback in /var/www/diffusion/phplist-3.0.12/lists/admin/plugins/ContentAreas.php on line 106
[29-Sep-2015 15:25:42 Europe/Berlin] PHP Fatal error: Class āphpList\plugin\Common\DAO\Messageā not found in /var/www/diffusion/phplist-3.0.12/lists/admin/plugins/ContentAreas/DAO.php on line 8
@avirlet
For me itās ok, it works fine. No more blank page.
Iāve done a test with the sample template and i see the new tab with the title āEdit areasā
But I donāt know if there are still errors in php log
Glad that it is working but can you explain why you had this problem?
Are the installation instructions not clear about installing or upgrading Common Plugin?
@duncanc
We follow the instruction for Common Plugin. In the installation instruction it is not mentioned to copy Common folder in plugins directory. Content area work since we copy this folder.
We always have blank page when we create or edit campaign but new php error:
[05-Oct-2015 14:02:28 Europe/Berlin] PHP Fatal error: Uncaught exception 'ErrorException' with message 'DOMDocument::loadHTML(): htmlParseEntityRef: expecting ';' in Entity, line: 181' in /var/www/diffusion/phplist-3.0.12/lists/admin/plugins/ContentAreas/TemplateModel.php:116
Stack trace:
#0 [internal function]: phpList\plugin\Common\Exception::errorHandler(2, 'DOMDocument::lo...', '/var/www/diffus...', 116, Array)
#1 /var/www/diffusion/phplist-3.0.12/lists/admin/plugins/ContentAreas/TemplateModel.php(116): DOMDocument->loadHTML('<html>\n <head...')
**2 /var/www/diffusion/phplist-3.0.12/lists/admin/plugins/ContentAreas/TemplateModel.php(109): phpList\plugin\ContentAreas\TemplateModel->loadHtml('<html>\n <head...')**
**#3 /var/www/diffusion/phplist-3.0.12/lists/admin/plugins/ContentAreas/TemplateModel.php(172): phpList\plugin\ContentAreas\TemplateModel->__construct('<html>\n <head...')**
**#4 /var/www/diffusion/phplist-3.0.12/lists/admin/plugins/ContentAreas.php(114): phpList\plugin\ContentAreas\TemplateModel::isTemplateBody('<html>\n <head...')**
**#5 /var/www/diffus in /var/www/diffusion/phplist-3.0.12/lists/admin/plugins/ContentAreas/TemplateModel.php on line 116**
Right, I will update the instructions for that. But you should install plugins through phplist. The manual approach is only for when the automatic does not work.
The new error looks to be caused by incorrect use of an html entity in the template. It appears that the trailing ā;ā is missing. The entities must be correct, e.g.
@sdesrousseaux Yes there is a problem with fckeditor. I will issue a fix later today but if you want to you can edit one of the pluginās files - ContentAreas/EditorProvider.php
add one line near the start of the file
<?php
namespace phpList\plugin\ContentAreas;
use FCKeditor;