If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Sounds like something in the code is trying to instantiate an abstract class (duh! ). So, look for something in the code (including in the included file) that does "new AbstractClass()". (You can only create objects from any concrete child classes of an abstract class, not the abstract class itself.)

thanks but.

Thank you both for your replies but I didn't phrase my question very well. These (or similar) are the first 2 lines of the code.

It seems as if session_start() is trying to instantiate the class. If I remove this it goes on OK. What I really need to know is why session_start() should be behaving like this as I have session variables to pass to the next page..

It looks like you are requiring an abstract class and when the session starts, something is trying to create an instance of the abstract class. It isn't possible to create an instance of an abstract class directly, so you get the error. If you want to use an abstract class, create a child class of the abstract class and create an instance of the child class.

Last edited by qjensen; 12-17-2010 at 10:38 AM.
Reason: first explanation was way too involved :)