Accessory

Archived
Forum
(read-only)

CP Analytics

ExpressionEngine 2

Back to this add-on's main page
View Other Add-ons From Derek Hogue

     

PHP error in last version, 2.1

Support (Resolved)

Fabio Marchi
Fabio Marchi

When i try to get the Google Analytics authorize key, and confirm the code, i got it this.


( ! ) Fatal error: Call to undefined function curl_init() in C:\Servidor\www\Ee261\system\expressionengine\third_party\cp_analytics\models\cp_analytics_model.php on line 543

Call Stack
# Time Memory Function Location
1 0.0004 270072 {main}( ) ..\index.php:0
2 0.0012 319472 require_once( ‘C:\Servidor\www\Ee261\system\codeigniter\system\core\CodeIgniter.php’ ) ..\index.php:192
3 1.0892 6145016 call_user_func_array ( ) ..\CodeIgniter.php:319
4 1.0892 6145096 Addons_modules->show_module_cp( ) ..\CodeIgniter.php:319
5 1.1085 6693888 Cp_analytics_mcp->index( ) ..\addons_modules.php:357
6 1.1086 6695112 Cp_analytics_model->exchange_authorization_for_token( ) ..\mcp.cp_analytics.php:83
7 1.1086 6696696 Cp_analytics_model->_curl_request( ) ..\cp_analytics_model.php:75

Using WAMP server, local development. ExpressionEngine 2.6.1

Derek Hogue
# 1
Developer
Derek Hogue

Looks like you don’t have the cURL extension installed for PHP. It’s required to use CP Analytics.