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

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>