Quantcast
Channel: Discussion Forum > Connect Data Services
Viewing all articles
Browse latest Browse all 2504

Using required_once() in controller file (7 Comments)

$
0
0

Topic by Walid Sarkis

Content

I have a controller file that need to access an API using cURL,i need to use load_curl, so i need to write also : require_once('include/init.phph');  when i write this line of code i get the following error : 

 

Fatal error: Cannot redeclare http_redirect() (previously declared in /cgi-bin/azadearnw.cfg/scripts/cp/core/compatibility/optimized_includes.php:1735) in /cgi-bin/azadearnw.cfg/scripts/include/util_misc.phph

 

How can i load curl and use it properly please?

Regards

Version

May 2016

Viewing all articles
Browse latest Browse all 2504

Trending Articles