Application.PHP Error - Joomla! Forum - community, help and support
my host site said error in application.php on line 323 slowing stuff down. running 1.5.26.
i have tons of these errors.
[08-nov-2012 09:05:41] php notice: undefined index: http_user_agent in /home4/subterio/public_html/cordovajj/libraries/joomla/application/application.php on line 323
[09-nov-2012 11:08:22] php notice: undefined index: http_user_agent in /home4/subterio/public_html/cordovajj/libraries/joomla/application/application.php on line 323
any thoughts?
many thanks.
i have tons of these errors.
[08-nov-2012 09:05:41] php notice: undefined index: http_user_agent in /home4/subterio/public_html/cordovajj/libraries/joomla/application/application.php on line 323
[09-nov-2012 11:08:22] php notice: undefined index: http_user_agent in /home4/subterio/public_html/cordovajj/libraries/joomla/application/application.php on line 323
any thoughts?
many thanks.
it's possible server not setting value. there may setting in server configuration can change passes info along.
you modify code not create warning.
you modify code not create warning.
code: select all
if (!$moved && strstr(strtolower(@$_server['http_user_agent']), 'webkit') !== false) {
or
if (!$moved && isset($_server['http_user_agent']) && strstr(strtolower($_server['http_user_agent']), 'webkit') !== false) {
Comments
Post a Comment