From: Mitra <mi...@ea...> - 2003-02-13 22:05:37
|
Yes - that sounds like the problem, yes - extsess is only included by locsess and extsessi by locsessi, but we have some cases where locsess is being included AS WELL as locsessi and other cases where neither are being included. I'd fix it, but i can't figure out what, whoever wrote this, intended. In particular when to include one and when the other. I think we need a single file to include "locsesseither.php3" which includes one and only one of the other files, but I don't understand when one should be included, and when the other. - Mitra At 2:18 PM +0100 13/2/03, Marek Tichy wrote: >Hi Mitra, >I'm getting an error in latest cvs, which i think is related to this. > > Call to a member function on a non-object in ><b>/raid/www/htdocs/aa.ecn.cz/apc-aa- > cvs/include/itemfunc.php3</b> on line <b>1172</b><br /> > >Which is: > relatedwindow =3D open( "'. $sess->url("related_sel.php3") ........... > >As far as I remember, extsess and extsessi are extensions to the >phplib session class. >I can't see any reason why would those two be included anywhere else >than locsess /locsessi, and also in locauth. > >Another weird problem I have is that slices don't show up - the >server returns blank document, as if it had crashed php. It happens >in slice.php3 at this spot: > >$zids=3DQueryZIDs($fields, $slice_id, $conds, $sort, $slice_info[group_by], > "ACTIVE", $slices, $neverAllItems, 0, >$defaultCondsOperator, true ); > >Don't think I can move this any forward. > >Best > Marek > > >> -----Original Message----- >> From: apc...@li... >> [mailto:apc...@li...]On Behalf Of Mitra >> Sent: 13. =FAnora 2003 4:46 >> To: apc...@so... >> Subject: [Apc-aa-coders] extsess and extsessi >> >> >> The change to require_once seems to have worked fairly well, except >> for one problem. >> >> There are some problems with extsess and extsessi >> >> If you include one, you can't include the other. >> >> But .... code has to include one or the other to function, >> >> What I'm finding is that certain combinations include either none or >> both and so break. >> >> Where SHOULD these be included from ? >> >> - Mitra >> >> -- >> Mitra Technology Consulting - www.mitra.biz - mi...@mi... >> 02-6684-8096 or 0414-648-0722 >> >> Life is a Mystery to be Lived, not a Problem to be Solved >> >> >> >> ------------------------------------------------------- >> This sf.net email is sponsored by:ThinkGeek >> Welcome to geek heaven. >> http://thinkgeek.com/sf >> _______________________________________________ >> Apc-aa-coders mailing list > > Apc...@li... > > https://lists.sourceforge.net/lists/listinfo/apc-aa-coders > > -- Mitra Technology Consulting - www.mitra.biz - mi...@mi... 02-6684-8096 or 0414-648-0722 Life is a Mystery to be Lived, not a Problem to be Solved |