21285 Posts in 5732 Topics by 2602 members
General Questions
SilverStripe Forums » General Questions » Warning: Director::protocolAndHost() lacks sufficient information - HTTP_HOST not set
General questions about getting started with SilverStripe that don't fit in any of the categories above.
Moderators: martimiz, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba, simon_w
|
Page:
1
|
Go to End | |
| Author | Topic: | 576 Views |
-
Warning: Director::protocolAndHost() lacks sufficient information - HTTP_HOST not set

2 August 2011 at 3:03am
Hello everyone!
Our company developing a site with SilverStripe 2.4.5 and working fine but we are facing one problem. When we viewing the pages of website, got below warning. But we don't know from where it will come.
Below is the warning that we are getting :
Warning: Director::protocolAndHost() lacks sufficient information - HTTP_HOST not set.Please can anybody have solution for this? can we disable this warning?
Thanks in advance...
-
Re: Warning: Director::protocolAndHost() lacks sufficient information - HTTP_HOST not set

2 August 2011 at 9:26am
I'd contact my hosting support because php superglobal not set correctly sounds like a php ini or host issue
-
Re: Warning: Director::protocolAndHost() lacks sufficient information - HTTP_HOST not set

2 August 2011 at 10:33am
Hey there,
Joril seems to have some kind of solution in this thread:http://www.silverstripe.org/general-questions/show/16369
Also, here might be some possible explanation of this warning:http://bugs.typo3.org/view.php?id=16960
(^^Yapp, I know It's TYPO3 related, but maybe it helps)Cheers
-
Re: Warning: Director::protocolAndHost() lacks sufficient information - HTTP_HOST not set

23 August 2011 at 10:49am
make sure you have register_globals = On set in your php.ini
| 576 Views | ||
|
Page:
1
|
Go to Top |




