Hi there, I haven't done any updates to my website: www.tickity-boo.co.uk, however today the site 's coming up with lots of errors. My host says it's not their end and that I need to look into constants in my php script. Not that familiar with php, so any help would be much appreciated.
put: <?php error_reporting(E_ALL ^ E_NOTICE); ?> PHP: at the top of the problematic file. Edit: This is generally caused by using things like $array_of_names[name] as opposed to $array_of_names['name'] Jay
Hi Jay, Many, many thanks, everything's fine now. Just quickly, what does this code do and why did the website all of a sudden not function without it : <?php error_reporting(E_ALL ^ E_NOTICE); ?>
Hello, Basically, the code tell's PHP to display all errors, except "notices". Arguably, they aren't errors at all and most hosts should have the code I provided you set in the PHP.ini file anyway. Jay