New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Undefined Index" for HTTP_USER_AGENT and HTTP_HOST #3740
Comments
settings/includes.php is not a file maintained by ownCloud - where is it coming from? THX |
I'm the user with the HTTP_USER_AGENT problem, just checked my installation and there is NO file with the name includes.php in that folder.. when I'm logged in as ADMIN through IE10 I can see in the OC log on the webpage that every time I visit/update the page the line appears in the logfile.. Fatal PHP Undefined index: HTTP_USER_AGENT at /home/owncloud.mydomain.com/settings/includes.php#73 June 17, 2013 17:36 Fatal PHP Undefined index: HTTP_USER_AGENT at /home/owncloud.mydomain.com/settings/includes.php#73 June 17, 2013 17:35 BUT!! this only seems to happend when I'm logged in as Admin. I tried to log in with my personal account and navigate around in the webinterface of ownCloud. When I check the logfile for that time period there are no errors/fatal PHP.. But then I logged on as Admin, the errors started to appear in the logfile.. |
I’m closing this issue because it has been inactive for a few months. This probably means that the issue is not reproducible or it has been fixed in a newer version. Please reopen if you still encounter this issue with the latest stable version (currently ownCloud 5.0.10) and then please use the issue template. You an also contribute directly by providing a patch – see the developer manual. :) Thank you! |
I can confirm that the issue with HTTP_USER_AGENT has been resolved in 5.0.10, just updated my installation and there are no more error messages to be found in the logfiles. Thanks guys! |
@Mannerheim thank you for confirming! |
Hi,
two users at the forums:
https://forum.owncloud.org/viewtopic.php?f=23&t=12792
https://forum.owncloud.org/viewtopic.php?f=23&t=11835
reporting that they are getting those Undefined Index errors in their logfiles. This is probably just a cosmetic problem caused by crawlers which are hitting the server.
Expected behaviour
No fatal errors should be shown in the logfiles
Actual behaviour
Fatal errors are should in the logfiles
Steps to reproduce
No steps to reproduce
Server configuration
Operating system: Debian 7.0
Web server: Apache 2.2.22
Database: SQLite
PHP version: 5.4.4-14
ownCloud version: 5.0.7 / 5.0.6
Logs
The text was updated successfully, but these errors were encountered: