Thanks for giving me all the files John. I modified the code as per your advice, and I met with few bugs which I hope you left it for my practise and I was able to solve them I believe
Whoops, I have amended index-001.php, now the error does not appear, have also included/required the correct file and a PRE block to show the source file.
Hi John, I tried with the code you put in the link above. It is giving another error as:
Fatal error: Cannot redeclare _show_setup() (previously declared in C:\webserver\www\proj-2-1\_function_show_setup.php:5) in C:\webserver\www\proj-2-1\_function_show_setup.php on line 34
I also see that in the index-001.php you have if loops like:
The basic idea I had in mind was to get you started with debugging. The index-001.php page now renders and error logging is now working.
Your javascript files are not being called because of the if(0) where 0 is a shortcut to FALSE.
Your mission is now to include the javascript files by changing if(0) to if(1) where the 1 is equivalent to TRUE.
Include each file one at a time and notice if any errors are being saved to the ERROR_LOG.PHP file. If there are errors then fix them, then move on to the next javascript file and change the 0 to 1.
The following link shows index-001.php without any javascript and without a stylesheet: