Dropbox
Dropbox copied to clipboard
Examples not working
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.
Hi,
This would suggest that you don't have cURL enabled. Can you confirm?
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