Topics

User Functions

Events

There are no upcoming events

What's New

Stories

No new stories

Comments last 2 weeks

No new comments

Trackbacks last 2 weeks

No new trackback comments

Links last 2 weeks

No recent new links

NEW FILES last 14 days

No new files

Welcome to Geeklog Tuesday, May 21 2013 @ 10:42 PM EDT


 Forum Index > Support > General Geeklog Support New Topic Post Reply
 lib-common.php errors
   
no1
 01/19/02 07:41AM (Read 1401 times)  
+----
Newbie

Status: offline


Registered: 01/16/02
Posts: 4
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?

 
Profile Email Website
 Quote
Anonymous: Anonymous
 01/20/02 05:51AM  



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)

 
 Quote
Anonymous: Anonymous
 01/20/02 11:17AM  



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.

 
 Quote
no1
 01/21/02 08:37AM  
+----
Newbie

Status: offline


Registered: 01/16/02
Posts: 4
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

 
Profile Email Website
 Quote
no1
 01/21/02 09:58AM  
+----
Newbie

Status: offline


Registered: 01/16/02
Posts: 4
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.

 
Profile Email Website
 Quote
Anonymous: Anonymous
 02/25/02 04:37PM  



go to lib-sessions.php and delete and empty lines after ?>

 
 Quote
Content generated in: 0.43 seconds
New Topic Post Reply

Normal Topic Normal Topic
Sticky Topic Sticky Topic
Locked Topic Locked Topic
New Post New Post
Sticky Topic W/ New Post Sticky Topic W/ New Post
Locked Topic W/ New Post Locked Topic W/ New Post
View Anonymous Posts 
Able to post 
Filtered HTML Allowed 
Censored Content