Menu

#17 BUG--one of the scripts is getting called twice

BASE
closed-fixed
Tim Rupp
Interface (166)
7
2005-02-05
2005-02-02
Anonymous
No

I have attached the errors received in BASE.
Joel Esler requested for me to report this as a BUG so
that the developers can work on this.

See email:
-----Original Message-----
From: Joel Esler [mailto:esler@knology.net]
Sent: Tuesday, February 01, 2005 6:06 PM
To: GARCIA, TANIA
Cc: base@secureideas.net
Subject: Re: BASE --error message

Tina,
Looks like one of the scripts is getting called twice. Can
you submit
this as a bug on sourceforge.net/project/secureideas?
We'll get one of
our developers on it.
Thanks!!
joel
______I have also attached the screen shot___________
___________________
Notice: Constant _EDIT already defined in
C:\apache\Apache2
\htdocs\base\languages\english.lang.php on line 88

Notice: Constant _DELETE already defined in
C:\apache\Apache2
\htdocs\base\languages\english.lang.php on line 89

Notice: Constant _ADDRESS already defined in
C:\apache\Apache2
\htdocs\base\languages\english.lang.php on line 110

Notice: Constant _ALERTS already defined in
C:\apache\Apache2
\htdocs\base\languages\english.lang.php on line 175

Notice: Constant _NOALERTS already defined in
C:\apache\Apache2
\htdocs\base\languages\english.lang.php on line 261

Notice: Constant _CHRTTITLE already defined in
C:\apache\Apache2
\htdocs\base\languages\english.lang.php on line 340

Notice: Constant _CHRTDIP already defined in
C:\apache\Apache2
\htdocs\base\languages\english.lang.php on line 350

Warning: session_start(): open
(C:\PHP\sessiondata\sess_066eeb6f15c774ac4da817e0e3
980065, O_RDWR) failed: No such file or directory (2) in
C:\apache\Apache2
\htdocs\base\includes\base_state_common.inc.php on
line 88

Warning: session_start(): Cannot send session cookie -
headers already sent by (output started at
C:\apache\Apache2
\htdocs\base\languages\english.lang.php:88) in
C:\apache\Apache2
\htdocs\base\includes\base_state_common.inc.php on
line 88

Warning: session_start(): Cannot send session cache
limiter - headers already sent (output started at
C:\apache\Apache2
\htdocs\base\languages\english.lang.php:88) in
C:\apache\Apache2
\htdocs\base\includes\base_state_common.inc.php on
line 88

Notice: Undefined index: BASERole in C:\apache\Apache2
\htdocs\base\includes\base_auth.inc.php on line 300

Notice: Undefined offset: 1 in C:\apache\Apache2
\htdocs\base\includes\base_auth.inc.php on line 303

Notice: Undefined offset: 2 in C:\apache\Apache2
\htdocs\base\includes\base_auth.inc.php on line 304

Warning: Unknown(): open
(C:\PHP\sessiondata\sess_066eeb6f15c774ac4da817e0e3
980065, O_RDWR) failed: No such file or directory (2) in
Unknown on line 0

Warning: Unknown(): Failed to write session data (files).
Please verify that the current setting of
session.save_path is correct (C:\PHP\sessiondata) in
Unknown on line 0

Discussion

  • Nobody/Anonymous

     
  • Nobody/Anonymous

    Logged In: NO

    If additional information is required please contact me at
    tania.garcia@providentnj.com

     
  • Joel Esler

    Joel Esler - 2005-02-02
    • priority: 5 --> 7
    • assigned_to: nobody --> caphrim007
     
  • Tim Rupp

    Tim Rupp - 2005-02-02

    Logged In: YES
    user_id=628253

    What's the bug? I see some warnings and some constants that
    are defined in the language file more than once but nothing
    that would be killing the script.

    The errors that look like this,
    Warning: session_start(): Cannot send session cookie -
    headers already sent by

    are being caused because PHP is writing those warning
    messages to the screen before the session is started
    (because of the duplicate defines in lang-english). Tone
    down your PHP error_reporting to E_ALL & ~E_NOTICE.

    As for the failed to write errors, that would also be a PHP
    issue and not a BASE issue. Check to make sure that this
    folder (C:\PHP\sessiondata) does actually exist. Otherwise
    PHP wont be able to write it's session data anywhere.

    I can make changes to the lang files but then those changes
    will need to be populated across each language file. This
    will stop the "already defined" warnings.

     
  • Joel Esler

    Joel Esler - 2005-02-03
    • status: open --> open-fixed
     
  • Joel Esler

    Joel Esler - 2005-02-03
    • status: open-fixed --> pending-fixed
     
  • Joel Esler

    Joel Esler - 2005-02-03
    • status: pending-fixed --> open-fixed
     
  • Tim Rupp

    Tim Rupp - 2005-02-05
    • status: open-fixed --> closed-fixed
     
  • Tim Rupp

    Tim Rupp - 2005-02-05

    Logged In: YES
    user_id=628253

    Duplicate defines specifically for this issue have been
    fixed in CVS. If other duplicate defines creep up on other
    pages, they should be submitted as a seperate bug. The
    session warnings are specific to the users environment.
    Other than that, this bug is closed.