Posted on: 01/19/02 07:41am
By: Anonymous (no1)
I keep getting the following message when I go to my pages:
Parse error: parse error in lib-common.php on line 2133
Fatal error: Cannot instantiate non-existent class: template in lib-common.php on line 323
When not in the main directory it shows something like:
Parse error: parse error in ../../lib-common.php on line 2133
Fatal error: Cannot instantiate non-existent class: template in ../../lib-common.php on line 323
Anyone know what the problem is and how I can fix it?
Probable reason: template not included
Posted on: 01/20/02 05:51am
By: Anonymous (Anonymous)
Hi!
I have no insight in the code you use, but the only times I encountered this same error was when I did not include the needed classes.
So: check your header-file to see if it includes the template-class. Otherwise, calling $tpl = new template(...) would result in the given error.
Good luck! Robert-Reinder (rr@nederhoed.com)
Probable reason: template not included
Posted on: 01/20/02 11:17am
By: Anonymous (Anonymous)
I think lib-common can't find any of the class files for some reason. On other pages such as the calendar page, it can't find the calendar.class file. All of the pages give the same error, saying that the problem lies in the two lines that my original post mentions.
Removed Formatting, New Error
Posted on: 01/21/02 08:37am
By: Anonymous (no1)
I removed all file formatting, such as indentation, and now I get the following error:
Parse error: parse error in lib-common.php on line 1
Fatal error: Call to undefined function: com_siteheader() in /home/sites/site43/web/index.php on line 39
New Error Message
Posted on: 01/21/02 09:58am
By: Anonymous (no1)
Now, most of the page shows up (including the template) but I get the following error:
Warning: Cannot add header information - headers already sent by (output started at /home/sites/site43/web/system/classes/timer.class.php:166) in /home/sites/site43/web/system/lib-sessions.php on line 133
Warning: Cannot add header information - headers already sent by (output started at /home/sites/site43/web/system/classes/timer.class.php:166) in /home/sites/site43/web/system/lib-sessions.php on line 145
And when I try to login as admin, I keep getting the same errors and getting sent back to the same page.
New Error Message
Posted on: 02/25/02 04:37pm
By: Anonymous (Anonymous)
go to lib-sessions.php and delete and empty lines after ?>