RE: [phplib] New User needs help with PHPLib From: Rex Byrns (rexb <email protected>)
Date: 09/18/00

Try emptying out the active_sessions table.

Adding the sqlquery.inc file to the list of includes in prepend.inc took
care of the problem for me.

-----Original Message-----
From: Jeanne Pelletier [mailto:jpellet <email protected>]
Sent: Monday, September 18, 2000 6:30 PM
To: Rex Byrns; 'PHPLIB'
Subject: Re: [phplib] New User needs help with PHPLib

I tried closing the browser, and now I can't even access the index.php page
I also tried editing prepend.inc to include sqlquery.inc
I looked to see if a Cookie could have gotten set, but there isn't one
aarrrgggghhh!!
Any other ideas?
Unfortunately I really need to be able to use sessions and our host doesn't
yet offer PHP4
so I'm kind of stuck trying to get through this somehow. I really appreciate
your help

the url of my test page is
http://www.death-dying.com/lib/pages/index.php3

I'm headed off to class but will be trying to figure this out again later on
this evening
Thanks again
Jeanne

----- Original Message -----
From: "Rex Byrns" <rexb <email protected>>
To: "'Jeanne Pelletier'" <jpellet <email protected>>; "'PHPLIB'"
<phplib <email protected>>
Sent: Monday, September 18, 2000 1:10 PM
Subject: RE: [phplib] New User needs help with PHPLib

> What has happened will correct itself if you close your browser then
> reconnect to the page of your choice. You will not have the problem again
> until you load the probe.php3.
>
> The other way to solve the problem is edit your prepend file to include
> sqlquery.inc.
>
> The problem is that the sqlquery.inc file uses sessions to store its class
> name, so every time you access a file that uses sessions, it will look for
> the Sql_query class that was instantiated by sqlquery.inc.
>
> Clear as Mud?
>
> basically if sqlquery.inc is used anywhere, it has to be used everywhere
> that is available within the same session.
>
>
>
> -----Original Message-----
> From: Jeanne Pelletier [mailto:jpellet <email protected>]
> Sent: Monday, September 18, 2000 5:21 PM
> To: PHPLIB
> Subject: [phplib] New User needs help with PHPLib
>
>
> Please forgive me if this question has been answered already, but I am
long
> past rational thought on this one. I have searched through the
documentation
> and have not been able to find anything that will help me with this one.
>
> I have been working with PHP and MySQL for some time, but this is my first
> attempt to use PHPLib. I am using PHP3 and including prepend.inc since I
> am unable to access the .ini files on this server. When I first set the
> lilbrary up, everything in the test pages seemed to work, but after I
logged
> out, I began to get this error message:
>
> Sql_Query is not a class in /mypath/session.inc on line 332
>
> Could someone please help me understand what is happening?
> The sqlquery.inc file is there, and the path to it and to prepend.inc is
> correct.
> The probe.php3 file has the include statement with the correct path for
> sqlquery.inc
>
> I couldn't even find where in the session.inc that class was being
called.
>
> Dazed and confused...
> Jeanne
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: phplib-unsubscribe <email protected>
> For additional commands, e-mail: phplib-help <email protected>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-unsubscribe <email protected>
For additional commands, e-mail: phplib-help <email protected>

---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-unsubscribe <email protected>
For additional commands, e-mail: phplib-help <email protected>