OpenPublish 7.x-1.0.2
nginx Barracuda/1.0.10
Aegir

Attempting to install the Openpublish Disqus app:
admin/apps/openpublish/app/openpublish_disqus/install

The progress bar and message about download shows up briefly. Then this error displays:

An error has occurred.
Please continue to the error page
An AJAX HTTP error occurred. HTTP Result Code: 500 Debugging information follows. Path: /batch?render=overlay&id=32&op=do StatusText: Internal Server Error ResponseText: 

The "error page" goes back to the Disqus details page and displays:
Fatal error trying to download.

First I tried changing the temporary directory and upping the php memory/time limits with no success.

Then I debugged the OpenPublish apps installer:
/profiles/openpublish/modules/custom/apps/apps.manager.inc

And discovered it was attempting a batch download on these two files:
http://ftp.drupal.org/files/projects/disqus-7.x-1.9.tar.gz
http://jcaldwell.openpublish.dev6.fayze2.com/openpublish_disqus.tgz

The second file does not exist. Where does that exist?

Comments

dooug’s picture

Ok, so I suspect this is the latest openpublish_disqus tarball:
https://github.com/downloads/phase2/openpublish_disqus/openpublish_disqu...

I have yet to figure out where in the openpublish code/db I need to change this.

** also, typo from my original post:
/profiles/openpublish/modules/custom/apps/apps.manager.inc
should be
/profiles/openpublish/modules/custom/apps/apps.installer.inc

dooug’s picture

Looks like that "apps" data is loaded from:
http://appserver.openpublishapp.com/app/query/openpublish

OpenPublish peoples, can you resolve this?

dooug’s picture

Found bugs in the core update module that are also causing problems in the app installer, posted here:
Upload module calling un-loaded functions - causing errors

jec006’s picture

Version: 7.x-1.0-alpha2 » 7.x-1.0-alpha3
Status: Active » Fixed

Hey Dooug,

I saw that issue. I've just created a release for Alpha3 and apps should be fully working, based on my testing you can successfully download and install the disqus app.

Let me know if you have further issues. Thanks for the testing. Marking this as fixed.

Status: Fixed » Closed (fixed)

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