Hi,
When I use the storage Api with rackspace. it cause the problem that ajax can't work, call back a pop with 500 error, and deActive it, the system is OK.
The php log seems:

[06-May-2013 12:28:54 America/New_York] PHP Fatal error:  Call to undefined function log_exception() in /mysite/sites/all/modules/storage_api/services/rackspace.inc on line 299
[06-May-2013 12:29:03 America/New_York] PHP Fatal error:  Call to undefined function log_exception() in /mysite/sites/all/modules/storage_api/services/rackspace.inc on line 299

And I check the rackspace.inc.
Is this miss "$this->" before log_exception()? in line 299.

It worked after I add this.

Thank you for your hard work and good module.

CommentFileSizeAuthor
#1 storage_api-missing-this-1988300.patch442 bytespobster
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

pobster’s picture

Status: Active » Patch (to be ported)
FileSize
442 bytes

That's definitely because of the missing $this->. Patch attached.

Thanks,

Pobster

  • Perignon committed 4b11fde on 7.x-1.x authored by pobster
    Issue #1988300 by pobster: Ajax can't work, maybe miss "$this->" on the...
Perignon’s picture

Issue summary: View changes

That's an easy fix. Thanks!

The Racespace service unfortunately has to be completely re-written as they have changed their API. But I went ahead and put this patch in because it was a bug.

Perignon’s picture

Status: Patch (to be ported) » Fixed

Status: Fixed » Closed (fixed)

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

Perignon’s picture

Issue tags: +Storage API 7.x-1.7