Current time: 11-25-2024, 02:40 AM Hello There, Guest! (LoginRegister)


Post Reply 
Warning: curl_setopt(): CURLOPT_FOLLOWLOCATION
Author Message
mixgo7 Offline


Posts: 3
Joined: Sep 2008
Reputation: 0
Post: #1
Exclamation Warning: curl_setopt(): CURLOPT_FOLLOWLOCATION
Holas ,
Quote:Warning: curl_setopt(): CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set in /var/www/virtual/xxxx/xxx/xxxx/htdocs/xxxx.php on line 50


me da ese error con CURL,
tengo safe_mode = ON


que puedo hacer .???
12-10-2010 12:49 PM
Find all posts by this user Quote this message in a reply
kurgans Offline
Moderator
*****
Moderators

Posts: 1,565
Joined: Feb 2008
Reputation: 23
Post: #2
RE: Warning: curl_setopt(): CURLOPT_FOLLOWLOCATION
Configurar el php.ini de ese dominio y adaptarlo a lo que necesita

php.ini del dominio -> /var/www/fcgi/dominio.tld/php5/php.ini

Reinicia apache despues del cambio
(This post was last modified: 12-10-2010 06:16 PM by kurgans.)
12-10-2010 06:16 PM
Visit this user's website Find all posts by this user Quote this message in a reply
mixgo7 Offline


Posts: 3
Joined: Sep 2008
Reputation: 0
Post: #3
RE: Warning: curl_setopt(): CURLOPT_FOLLOWLOCATION
ya lo modifique deje el
safe_mode On
y el
open_basedir = none pero sigue el error .... nose como solucionarlo ya que en i nternet no sale mucho sobre el error
12-10-2010 08:25 PM
Find all posts by this user Quote this message in a reply
kilburn Offline
Development Team
*****
Dev Team

Posts: 2,182
Joined: Feb 2007
Reputation: 34
Post: #4
RE: Warning: curl_setopt(): CURLOPT_FOLLOWLOCATION
Quote:Warning: curl_setopt(): CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set in /var/www/virtual/xxxx/xxx/xxxx/htdocs/xxxx.php on line 50

En castellano:
Code:
Aviso: curl_setopt(): CURLOPT_FOLLOWLOCATION no se puede activar cuando safe_mode está activo o open_basedir está definido.

Es decir, desactiva el safe_mode (ponlo a Off) y COMENTA el open_basedir.
12-10-2010 09:15 PM
Visit this user's website Find all posts by this user Quote this message in a reply
mixgo7 Offline


Posts: 3
Joined: Sep 2008
Reputation: 0
Post: #5
RE: Warning: curl_setopt(): CURLOPT_FOLLOWLOCATION
esta listo muchas gracias
(This post was last modified: 12-11-2010 02:14 AM by mixgo7.)
12-11-2010 02:04 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)