I found out what the problem was!!.....
Embarrassingly it was down to something I had accidentally deleted! When I did a modification that required a slight edit of the cmps_index.php file, I somehow managed to delete this line of code that was above the line being modified......
PHP Code:
chdir($forumpath);
which was kinda crucial in the grand scheme of things!! :nervous: :nervous: :nervous: :nervous: :nervous:
So sorry for all the endless questions and tearing out of my hair when it was down to a slip of the backspace key!
Works perfectly now!