I must be missing something very basic but I'm stuck after several hrs of trying various solutions to this apparent function re-declaration in my config.inc.php file. Possibly after staring at the code for so long I just can't see it any more.
But, I keep getting an error: Cannot redeclare my_error_handler() (previously declared in C:\xampp\htdocs\muztash\config\config.inc.php:64) in C:\xampp\htdocs\muztash\config\config.inc.php on line 91
The error seems to say that the function is being declared twice on the same page.
Line 64 is the 1st line of the actual declaration:
function my_error_handler($e_number,$e_message,$e_file,$e_line,$e_vars) {
Line 91 is the ending } of the declaration. It matches the opening { on line 64 and there are no brace mismatches inside the declaration - which pretty closely follows the example code in the book.
I have a couple of other questions but I'll focus on this one first. Thanks to whoever can help me with this.