Quote:
Originally Posted by aapkae
when i import gmail contact ... a error had come .. ?
Warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set in /home/***/public_html/forum/scripts/gmail.php on line 25
Fatal error: Call to undefined function: iconv() in /home/***/public_html/forum/scripts/gmail.php on line 71
how to solve it ?
|
Quote:
Originally Posted by aapkae
yahoo import the contacts but .. error on head ..
Warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set in /home/***/public_html/forum/scripts/yahoo.php on line 23
Warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set in /home/***/public_html/forum/scripts/yahoo.php on line 23
Warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set in /home/***/public_html/forum/scripts/yahoo.php on line 23
Warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set in /home/***/public_html/forum/scripts/yahoo.php on line 23
.. 4 times came . ..
solve it plz
|
Above warnings are due to your server is running in safe mode
Try this :
1. Open ../scripts/gmail.php
2. Find : (Line 26)
Code:
curl_setopt($ch, CURLOPT_HEADERFUNCTION, 'read_header');
Add Below :
Code:
curl_setopt($ch, CURLOPT_HEADER, 0);
3. Open ../scripts/yahoo.php
4. Find : (Line 23)
Code:
curl_setopt($ch,CURLOPT_FOLLOWLOCATION,$follow);
Add Below :
Code:
curl_setopt($ch, CURLOPT_HEADER, 0);
I hope this will fix your problem.