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.

CommentFileSizeAuthor
#3 2913774_3.patch2.93 KBmtodor

Comments

mtodor created an issue. See original summary.

mtodor’s picture

mtodor’s picture

StatusFileSize
new2.93 KB

There is another problem, that version ZIP files are not white-labeled at drupal.org. So, other solution is to update liveblog module to support new version of Pusher (^3.0.0).

Patch with a proposal is attached to this issue.

mtodor’s picture

Here is pull request for liveblog module: https://github.com/galaniprojects/liveblog/pull/104

mtodor credited tjwelde.

mtodor’s picture

There is a new release of LiveBlog module with the updated version of Pusher (as mentioned at #4) and that solves the problem.

Tnx @tjwelde

mtodor’s picture

Assigned: mtodor » Unassigned
Status: Active » Fixed

Status: Fixed » Closed (fixed)

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