Hi,

When trying to remote upload a 37MB file from Dropbox public folder, the following error is received:

An AJAX HTTP request terminated abnormally.
Debugging information follows.
Path: /home/file/ajax/field_ijarticle_pdf/und/0/form-v3FH2KQHgJrCWAO6Hh367f7Fiml2_5ZPlTxS_ttkFBE
StatusText: n/a
ResponseText: Fatal error: Call to undefined function curl_init() in /foo/sites/all/modules/filefield_sources/sources/remote.inc on line 139
ReadyState: undefined

Any comment on fixing the issue would be appreciated.
Thanks

Comments

webdrips’s picture

Also getting this error; msamavi, did you figure out what's wrong yet?

quicksketch’s picture

It sounds like you don't have cURL installed on your server. If you have the ability to install software on your server, you may need to install it.

quicksketch’s picture

Title: Fatal error on line 139 » Fatal error on line 139 when cURL not installed
Issue summary: View changes

Updating the title on this issue to reflect the source of the problem. Really the remote source shouldn't even make itself available if cURL isn't available in the first place.

  • profak committed 0056145 on 7.x-1.x
    Issue #2088985: Fatal error on line 139 when cURL not installed.
    
profak’s picture

Status: Active » Fixed

Issue fixed, committed to 7.x-1.x.

  • Added check for 'curl_version' function exist.
  • Added warning for field widget.

Thank you!

Status: Fixed » Closed (fixed)

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