Yesterday night something weird happened... went on my forum to find that only the following message was displayed: 8: Undefined index: lang_locale /homepages/10/d107635368/htdocs/Forum/Sources/Subs.php 868 the url is http://www.ProJumpForum.co.uk do you think we have been hacked or it is something less sinister than that! Please can someone point me in the right direction and help me get it sorted all advise appreciated Thank you in advance.
Notice: Undefined offset: 1001 in /homepages/10/d107635368/htdocs/Forum/Sources/Errors.php on line 138 : INSERT command denied to user 'dbo169867188'@'212.227.109.169' for table 'smf_sessions' /homepages/10/d107635368/htdocs/Forum/Sources/Load.php 2037 your users access is limited to database.Grant access for all commands or create another database user & update information.
Seeing Undefined Index and Notice messages usually mean the error_reporting level of PHP has been set too high. They aren't actually errors, but notices and warnings. Has PHP been upgraded on the server lately? Lots of times a host will upgrade PHP and overwrite the existing php.ini with a default one. http://www.php.net/manual/en/function.error-reporting.php For a production server I would turn off error_reporting entirely until you need it to debug. It gives away too much information for a hacker's eyes. To get rid of the notices you could do something like: // Report all errors except E_NOTICE // This is the default value set in php.ini error_reporting(E_ALL ^ E_NOTICE); Code (markup): or similar in a .htaccess.