Problem/Motivation
There is an issue when liveblog module is used with Pusher notification when the project is built with Drush command.
The library is not loaded properly and following error occurs:
Warning: include_once(): Failed opening '/[my_project_path]/profiles/thunder/libraries/pusher/lib/Pusher.php' for inclusion
Problem is that downloaded library is not same as one defined in composer.json of the liveblog module.
The version in composer.json is: "pusher/pusher-php-server": "^2.2"
Proposed resolution
Instead downloading master branch, we shold download 2.x release archive file.
Comments
Comment #2
mtodor commentedThere is pull request: https://github.com/BurdaMagazinOrg/thunder-distribution/pull/414
Comment #3
mtodor commentedThere is another problem, that version ZIP files are not white-labeled at drupal.org. So, other solution is to update
liveblogmodule to support new version of Pusher (^3.0.0).Patch with a proposal is attached to this issue.
Comment #4
mtodor commentedHere is pull request for
liveblogmodule: https://github.com/galaniprojects/liveblog/pull/104Comment #6
mtodor commentedThere is a new release of LiveBlog module with the updated version of Pusher (as mentioned at #4) and that solves the problem.
Tnx @tjwelde
Comment #7
mtodor commented