Snort mailing list archives
Re: php 5 - base error resolution?
From: "mdpeters" <michael.peters () lazarusalliance com>
Date: Tue, 25 Jan 2005 17:30:31 -0500
Yes I did. I offered the solution to the BASE folks but never received word back. My line numbers will be different that everyone else's. Just look in the following pages for these values and I think you should be good to go. Here are the changes I made including the debugging code.
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ base_conf.php: $GLOBALS['MAX_ROWS'] = 10; +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ base_qry_main.php: //echo '<pre>'; //var_dump($GLOBALS['MAX_ROWS']); //var_dump($GLOBALS); //echo '</pre>'; +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ base_stat_time.php: if ( $submit == "" || !is_array($time)) { //InitArray($time, $MAX_ROWS, TIME_CFCNT, ""); InitArray($time, 2, TIME_CFCNT, ''); } +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ includes/base_state_citems.inc.php: $tmp = SetSessionVar($this->export_name); if (!is_null($tmp)) { $this->criteria = $tmp; } +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ includes/base_state_citems.inc.php: GLOBAL $HTTP_SESSION_VARS; //var_dump( SetSessionVar( $this->export_name ) ); //echo "<b>{$this->export_name}:</b><br >"; //var_dump( $this->criteria ); echo "<hr >"; $tmp = SetSessionVar($this->export_name); if (!empty($tmp)) { $this->criteria = $tmp; } //var_dump( $this->criteria ); //echo "<hr><hr >"; $this->criteria_cnt = SetSessionVar($this->export_name."_cnt"); +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ includes/base_state_citems.inc.php: GLOBAL $HTTP_SESSION_VARS; parent::Import(); $tmp = SetSessionVar("data_encode"); if (!empty($tmp)) { $this->data_encode = $tmp; } $HTTP_SESSION_VARS['data_encode'] = &$this->data_encode; } function Clear() +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Best regards, Michael D. Peters Director of Security Services CISSP Lazarus Alliance Inc. M: 502-767-3448 O: 502-231-8017 x8 H: 502-231-6923 F: 502-231-5347 michael.peters () lazarusalliance com www.lazarusalliance.com----- Original Message ----- From: <twebster () daksoft com>
To: <michael.peters () lazarusalliance com> Sent: Tuesday, January 25, 2005 3:53 PM Subject: php 5 - base error resolution?
Michael, On 12-27-2004 you sent a message to snort mailing list regarding the following error. Fatal error: Cannot use string offset as an array in = /usr/local/apache2/htdocs/includes/base_state_citems.inc.php on line 710 Did you ever get BASE to work with PHP 5? I am having the same problem? Do you have a solution? thanks, Tony Webster Daksoft (605) 721-2141 twebster @ daksoft.com
------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Snort-users mailing list Snort-users () lists sourceforge net Go to this URL to change user options or unsubscribe: https://lists.sourceforge.net/lists/listinfo/snort-users Snort-users list archive: http://www.geocrawler.com/redir-sf.php3?list=snort-users
Current thread:
- Re: php 5 - base error resolution? mdpeters (Jan 25)
- Re: php 5 - base error resolution? Kevin Johnson (Jan 25)