Yii Framework Forum: yii requirements - $_SERVER variable Failed - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

yii requirements - $_SERVER variable Failed $_SERVER does not have HTTP_USER_AGENT. Rate Topic: -----

#1 User is offline   rrbot 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 21
  • Joined: 23-August 10

Posted 04 November 2010 - 12:33 PM

Hi all. I'm attempting to setup yii on a new Centos 5 server and I get the following message.

$_SERVER variable Failed $_SERVER does not have HTTP_USER_AGENT.

Does anyone know how to enable this var? I'm turning up a blank in my searches.
Also is this var strictly required?

Thanks!
0

#2 User is offline   rrbot 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 21
  • Joined: 23-August 10

Posted 04 November 2010 - 02:54 PM

View Postrrbot, on 04 November 2010 - 12:33 PM, said:

Hi all. I'm attempting to setup yii on a new Centos 5 server and I get the following message.

$_SERVER variable Failed $_SERVER does not have HTTP_USER_AGENT.

Does anyone know how to enable this var? I'm turning up a blank in my searches.
Also is this var strictly required?

Thanks!



Got it. I turned safe mode off and it fixed the problem.
0

#3 User is offline   Mohamed Alsemany 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 7
  • Joined: 27-July 12

Posted 28 July 2012 - 04:49 PM

I have the same problem :)
my server is a test vps on my home node
centos 5 , using local IP 10.0.0.102 on virtual min

I found that the safe mode is already off

I resolved this issue by executing php scripts by CGI wrapper
instead of FCGId

my regards
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users