Hi!
When I try to publish a node with 'Send node to subscribers' checked I get a White Screen, looking on the logs I get:
PHP Fatal error: Unsupported operand types in /var/www/vhosts/esporas.org/subdomains/fenologia/httpdocs/includes/common.inc on line 1582
If I set the 'Traffic parameter' on settings I get these warnings:
warning: preg_match_all() [function.preg-match-all]: Unknown modifier '/' in /.../sites/all/modules/postsubscribe/postsubscribe.module on line 420.
warning: Invalid argument supplied for foreach() in .../sites/all/modules/postsubscribe/postsubscribe.module on line 422.
Thank you for this great module, it has all the features I ever need on Drupal, now I can move many blog from Wordpress to Drupal ;-)
| Comment | File | Size | Author |
|---|---|---|---|
| #11 | postsubscribe-6.x-2.6_2_header_image.patch | 753 bytes | chirale |
| #7 | postsubscribe-6.x-2.6_header_image.patch | 857 bytes | lashad |
Comments
Comment #1
Anonymous (not verified) commentedPlease, remove the root path from the first error warning. Thanks
Comment #2
lashad commentedjmesam,
Please remove 'Traffic parameter' and 'Domain names' parameter and try again.
Thanks.
Comment #3
Anonymous (not verified) commentedThe same warning:
PHP Fatal error: Unsupported operand types in .../includes/common.inc on line 1582Comment #4
Anonymous (not verified) commentedIf I remove the Header image setting, the problem magically solve...
The email is sended, no warning and no WSoD.
:)
Comment #5
lashad commentedStrange,
What string you using in Header image setting ?
Comment #6
Anonymous (not verified) commentedThe absolute url to the website header icon: http://www.mydomain.com/sites/default/files/my_logo.png.
Comment #7
lashad commentedQuick fix, add postsubscribe-6.x-2.6_header_image.patch in postsubscribe module folder
run command:
patch < postsubscribe-6.x-2.6_header_image.patch
Thank you.
Comment #8
Anonymous (not verified) commentedAfter the patch the header image problem is solutioned. Thanks.
What about the 'Traffic parameter' and 'Domain names' problem? ;-)
Can I use in Traffic parameters settings multiple values separated by ampersands (for example the Google Analytics URL tagger: ?utm_source=source&utm_medium=medium&utm_campaign=name)?
Comment #9
lashad commentedYes sure,
for example:
To append utm_source=source&utm_medium=medium&utm_campaign=name parameter to the url www.example.com, then you set
example.com string in 'Domain names' and utm_source=source&utm_medium=medium&utm_campaign=name string in 'Trafic parameter' on settings page.
When you send a content item through postsubscribe module that contains url http://www.example.com/index.html
the module appends a utm_source=source&utm_medium=medium&utm_campaign=name code to that url like this: http://www.example.com/index.html?utm_source=source&utm_medium=medium&ut...
please note, multiple domains separated by comma in 'Domain names' settings.
example.com,bashmaki.com
Comment #10
Anonymous (not verified) commentedThanks for the info.
Comment #11
chirale commentedMake it in Drupal API way:
Comment #12
lashad commentedThank you chirale.
Comment #13
lashad commented