From: skaill <sk...@ro...> - 2004-09-07 20:07:30
|
If I put the $title line at the top before session.inc include then I get an error. I have not tampered with my session.auto_start or any other php settings. That was just information I passed on the other day but did not try. I'm thinking since the _() function is defined in session.inc as far as I see this would mean that the $title translation call is before the translation _() function is defined. I can't remember if php sees all functions in the includes whether before encountered or not though. I'm thinking not. The error is Fatal error: Call to undefined function: _() in /home/weberp/public_html/weberpcvstest/BankAccounts.php on line 4 when $title is before the session.inc include. Steve ----- Original Message ----- From: "Jesse Peterson" <je...@st...> To: <web...@li...> Sent: Monday, September 06, 2004 11:54 AM Subject: Re: [Web-erp-developers] Re: input & goods received mods > > >That is interesting that you had to include session.inc before $title > >was set. This doesn't appear necessary in php 5 and I have not done this > >in the scripts I have modified - I will go back and modify them. I > >thought it would be necessary initially. > > > > > I don't have this problem ... I even see some scripts I am running out > of yesterday's CVS have this change made and seem to work fine. Steve, > maybe this is a result of mucking with the session.auto_start variable > you mentioned in a post some days ago?? For the record, I am running > under php 4.3.4 . > > > jesse > > > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic Workshop > FREE Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 today. > http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click > _______________________________________________ > Web-erp-developers mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/web-erp-developers |