Posted by toma on June 28, 2008 at 2:55pm
Jump to:
| Project: | Post Also |
| Version: | 5.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Robin Millette |
| Status: | postponed |
Issue Summary
Thanks for this module, it works fine, i test it in my multisite installation and do work well! some strange errors happend in my teaser view below the teaser content
Array
(
[0] => Array
(
[date] => 1214662001
[error] =>
[result] => 5641
)
)I am using PHP 5 and some modules enabled like panels 2
Thanks
Comments
#1
Same issue here (tested with Drupal core versions 5.7 and 5.10). After enabling the postalso module and
posting content to remote site, the "Array" message appears below most of the content (content that has not
been "involved" in postalso before). These messages appear on the source site.
Seems to have something to do with this part in the postalso.module:
$history[$rid] = array(
'date' => time(),
'error' => $error,
'result' => $post_result,
);
// we can't use form_set_error() since we're redirected away from the form.
//FIXME: find something more meaningful than print_r
drupal_set_message(print_r($post_result, true), $message_type);
watchdog('postalso', print_r($post_result, true),
// should I use WATCHDOG_ERROR?
$error ? WATCHDOG_WARNING : WATCHDOG_NOTICE, $link);
Can this be fixed? Can't see that postalso can be used as long as these messages are showing..
Mike
#2
In the last hour, I received about 10 emails reminding me about this bug. While I haven't fixed it (sorry, I may one day...), I removed the release from the project page and postponing this issue, hoping this will stop the flood of reminders.