It was working all fine. I added a function and suddenly I had this error message. Then I removed the function. I still get the same problem. The error messge on the browser is like this:
Fatal error: Cannot redeclare class dbfile in /usr/local/apache/htdocs/webapp/content/DBFile.php on line 8
where line 8 is the line where I the class is declared with the statement,
class DBFile { <--This is line 8
...
...
...
}
Why is this happening. There is no change to this class. I am not trying to redeclare it. All the php pages the system uses this class, now none of them can work becoz of this error. I am totally lost.
Can someone please shed some light?
Grateful,
Selvam