guest
guest
Offline
0
I have recent gotten an error when I upgraded from Joomla 3.4.4 to Joomla 3.4.6. My site appears an error at header with the notice:

Notice: Undefined index: HTTP_X_FORWARDED_FOR in /home/...../public_html/includes/defines.php on line 41

Notice: Undefined index: HTTP_X_FORWARDED_FOR in /home/...../public_html/includes/framework.php on line 13


Joomla version 3.4.6 (latest).

Maybe anyone could help me what could it mean? And how can I fix it?

Thank for your help?
Responses (1)
  • Accepted Answer

    Support
    Support
    Offline
    Monday, December 21 2015, 06:58 AM - #Permalink
    0
    Recently, I have fixed this problem by replacing HTTP_X_FORWARDED_FOR to REMOTE_ADDR.
    http://i.imgur.com/Yys9C00.jpg

    The first, go to: /home/domain.com/public_html/includes.
    http://i.imgur.com/ARCnZjD.jpg

    Then, Right-Click on defines.php or framework.php.

    Find the line like image below:

    And then, replace HTTP_X_FORWARDED_FOR to REMOTE_ADDR.
    http://i.imgur.com/vxoA5JZ.jpg

    Finally, press Ctrl + S in Windows or Command + S in Mac to save the change.

    To get more a inforamtion for this error, you can see this article..
    The reply is currently minimized Show
Your Reply