Dropbox icon indicating copy to clipboard operation
Dropbox copied to clipboard

Examples not working

Open core000 opened this issue 11 years ago • 2 comments

After updating the Bootstrap.php with my key and secret, I rant the accountInfo.php. I get the following errors starting with:

Notice: Use of undefined constant CURLOPT_SSL_VERIFYPEER - assumed 'CURLOPT_SSL_VERIFYPEER' in C:\wamp\www\Ben\bootstrap.php on line 50

Notice: Use of undefined constant CURLOPT_VERBOSE - assumed 'CURLOPT_VERBOSE' in C:\wamp\www\Ben\bootstrap.php on line 50

Please help.

core000 avatar May 07 '13 23:05 core000

Hi,

This would suggest that you don't have cURL enabled. Can you confirm?

BenExile avatar May 09 '13 07:05 BenExile

Actually, I enabled CURL in PHP.ini, but still a no go: Below is entire message:

! ) SCREAM: Error suppression ignored for

( ! ) Notice: Use of undefined constant CURLOPT_SSL_VERIFYPEER - assumed 'CURLOPT_SSL_VERIFYPEER' in C:\wamp\www\Ben\bootstrap.php on line 50

Call Stack

Time

Memory

Function

Location

1 0.0013 670736 {main}( ) ..\accountInfo.php:0 2 0.0022 688448 require_once( 'C:\wamp\www\Ben\bootstrap.php' ) ..\accountInfo.php:10

( ! ) SCREAM: Error suppression ignored for

( ! ) Notice: Use of undefined constant CURLOPT_VERBOSE - assumed 'CURLOPT_VERBOSE' in C:\wamp\www\Ben\bootstrap.php on line 50

Call Stack

Time

Memory

Function

Location

1 0.0013 670736 {main}( ) ..\accountInfo.php:0 2 0.0022 688448 require_once( 'C:\wamp\www\Ben\bootstrap.php' ) ..\accountInfo.php:10

( ! ) SCREAM: Error suppression ignored for

( ! ) Notice: Use of undefined constant CURLOPT_HEADER - assumed 'CURLOPT_HEADER' in C:\wamp\www\Ben\bootstrap.php on line 50

Call Stack

Time

Memory

Function

Location

1 0.0013 670736 {main}( ) ..\accountInfo.php:0 2 0.0022 688448 require_once( 'C:\wamp\www\Ben\bootstrap.php' ) ..\accountInfo.php:10

( ! ) SCREAM: Error suppression ignored for

( ! ) Notice: Use of undefined constant CURLINFO_HEADER_OUT - assumed 'CURLINFO_HEADER_OUT' in C:\wamp\www\Ben\bootstrap.php on line 50

Call Stack

Time

Memory

Function

Location

1 0.0013 670736 {main}( ) ..\accountInfo.php:0 2 0.0022 688448 require_once( 'C:\wamp\www\Ben\bootstrap.php' ) ..\accountInfo.php:10

( ! ) SCREAM: Error suppression ignored for

( ! ) Notice: Use of undefined constant CURLOPT_RETURNTRANSFER - assumed 'CURLOPT_RETURNTRANSFER' in C:\wamp\www\Ben\bootstrap.php on line 50

Call Stack

Time

Memory

Function

Location

1 0.0013 670736 {main}( ) ..\accountInfo.php:0 2 0.0022 688448 require_once( 'C:\wamp\www\Ben\bootstrap.php' ) ..\accountInfo.php:10

( ! ) SCREAM: Error suppression ignored for

( ! ) Notice: Use of undefined constant CURLOPT_FOLLOWLOCATION - assumed 'CURLOPT_FOLLOWLOCATION' in C:\wamp\www\Ben\bootstrap.php on line 50

Call Stack

Time

Memory

Function

Location

1 0.0013 670736 {main}( ) ..\accountInfo.php:0 2 0.0022 688448 require_once( 'C:\wamp\www\Ben\bootstrap.php' ) ..\accountInfo.php:10

( ! ) SCREAM: Error suppression ignored for

( ! ) Fatal error: Uncaught exception 'Dropbox\Exception' with message 'The cURL OAuth consumer requires the cURL extension' in C:\wamp\www\Dropbox\OAuth\Consumer\Curl.php on line 54

( ! ) Dropbox\Exception: The cURL OAuth consumer requires the cURL extension in C:\wamp\www\Dropbox\OAuth\Consumer\Curl.php on line 54

Call Stack

Time

Memory

Function

Location

1 0.0013 670736 {main}( ) ..\accountInfo.php:0 2 0.0022 688448 require_once( 'C:\wamp\www\Ben\bootstrap.php' ) ..\accountInfo.php:10 3 0.0105 940752 Dropbox\OAuth\Consumer\Curl->__construct( ) ..\bootstrap.php:50

core000 avatar May 15 '13 23:05 core000