Is anyone working on a BASE port?  Does anyone with BASE installed have the
archive feature successfully?  

I've got the application installed and running fine, but I've been having 
trouble getting archiving working.

If anyone has already jumped thru this hoop and gotten archive working, a
pointer in the right direction would be greatly appreciated!

-----

While I do have a /var/www/tmp directory mode 1777 in place -- these 
problems seem to occur whether apache is chrooted or not.  Symptoms 
vary, too -- the only successful "move alerts to archive" I've been able 
to accomplish is a "move entire query" when running unchrooted.  If I 
select individual alerts, I get odd syntax errors on screen, but they 
don't seem to duplicate in the apache error log.

Selecting a single alert (chrooted or not) produces this error 
message on the browser: 

        Database ERROR:Database ERROR:ERROR: syntax error at or 
        near ")" at character 120

Selecting an entire query, shows this same message when chrooted. When
running -u, I can move an entire query's alerts to the archive without
trouble.  Therefore, I'm missing *something* in /var/www, but I do not
know what that something is.

The error_log (below), shows the usual string of undefined variables.
If there is meaningful information in this log, I have difficulty 
determining what it might be.  

3.9-current with:

BASE 1.2.5      (today's snapshot, as well as production 1.2.4 produce the
                same odd errors)
ADOdb 4.8.0

        snort-2.4.3-postgresql
        postgresql-client-8.1.3
        postgresql-server-8.1.3
        gd-2.0.33p2
        php5-core-5.0.5
        php5-gd-5.0.5p2-no_x11
        php5-pear-5.0.5
        php5-pgsql-5.0.5p0

---- error from single query ----

[Wed Mar 29 11:56:04 2006] [error] PHP Notice:  Undefined offset:  1 in 
/htdocs/base/includes/base_auth.inc.php on line 340
[Wed Mar 29 11:56:04 2006] [error] PHP Notice:  Undefined offset:  2 in 
/htdocs/base/includes/base_auth.inc.php on line 341
[Wed Mar 29 11:56:04 2006] [error] PHP Notice:  Use of undefined constant 
VAR_BOOLEAN - assumed 'VAR_BOOLEAN' in 
/htdocs/base/includes/base_state_common.inc.php on line 165
[Wed Mar 29 11:56:04 2006] [error] PHP Notice:  Use of undefined constant 
_ADDADDR - assumed '_ADDADDR' in /htdocs/base/base_qry_main.php on line 95
[Wed Mar 29 11:56:04 2006] [error] PHP Notice:  Use of undefined constant 
VAR_BOOLEAN - assumed 'VAR_BOOLEAN' in 
/htdocs/base/includes/base_state_common.inc.php on line 165
[Wed Mar 29 11:56:04 2006] [error] PHP Notice:  Use of undefined constant 
VAR_BOOLEAN - assumed 'VAR_BOOLEAN' in 
/htdocs/base/includes/base_state_common.inc.php on line 165
[Wed Mar 29 11:56:04 2006] [error] PHP Notice:  Use of undefined constant 
VAR_BOOLEAN - assumed 'VAR_BOOLEAN' in 
/htdocs/base/includes/base_state_common.inc.php on line 165
[Wed Mar 29 11:56:04 2006] [error] PHP Notice:  Uninitialized string offset:  0 
in /htdocs/base/includes/base_state_citems.inc.php on line 369
[Wed Mar 29 11:56:04 2006] [error] PHP Notice:  Use of undefined constant 
VAR_BOOLEAN - assumed 'VAR_BOOLEAN' in 
/htdocs/base/includes/base_state_common.inc.php on line 165
[Wed Mar 29 11:56:04 2006] [error] PHP Notice:  Uninitialized string offset:  0 
in /htdocs/base/includes/base_state_citems.inc.php on line 530
[Wed Mar 29 11:56:04 2006] [error] PHP Notice:  Use of undefined constant 
VAR_BOOLEAN - assumed 'VAR_BOOLEAN' in 
/htdocs/base/includes/base_state_common.inc.php on line 165
[Wed Mar 29 11:56:04 2006] [error] PHP Notice:  Use of undefined constant 
VAR_BOOLEAN - assumed 'VAR_BOOLEAN' in 
/htdocs/base/includes/base_state_common.inc.php on line 165
[Wed Mar 29 11:56:04 2006] [error] PHP Notice:  Use of undefined constant 
VAR_BOOLEAN - assumed 'VAR_BOOLEAN' in 
/htdocs/base/includes/base_state_common.inc.php on line 165
[Wed Mar 29 11:56:04 2006] [error] PHP Notice:  Use of undefined constant 
VAR_BOOLEAN - assumed 'VAR_BOOLEAN' in 
/htdocs/base/includes/base_state_common.inc.php on line 165
[Wed Mar 29 11:56:04 2006] [error] PHP Notice:  Use of undefined constant 
VAR_BOOLEAN - assumed 'VAR_BOOLEAN' in 
/htdocs/base/includes/base_state_common.inc.php on line 165
[Wed Mar 29 11:56:04 2006] [error] PHP Notice:  Use of undefined constant 
VAR_BOOLEAN - assumed 'VAR_BOOLEAN' in 
/htdocs/base/includes/base_state_common.inc.php on line 165
[Wed Mar 29 11:56:04 2006] [error] PHP Notice:  Use of undefined constant 
VAR_BOOLEAN - assumed 'VAR_BOOLEAN' in 
/htdocs/base/includes/base_state_common.inc.php on line 165
[Wed Mar 29 11:56:04 2006] [error] PHP Notice:  Use of undefined constant 
VAR_BOOLEAN - assumed 'VAR_BOOLEAN' in 
/htdocs/base/includes/base_state_common.inc.php on line 165
[Wed Mar 29 11:56:04 2006] [error] PHP Notice:  Use of undefined constant 
VAR_BOOLEAN - assumed 'VAR_BOOLEAN' in 
/htdocs/base/includes/base_state_common.inc.php on line 165
[Wed Mar 29 11:56:04 2006] [error] PHP Notice:  Use of undefined constant 
VAR_BOOLEAN - assumed 'VAR_BOOLEAN' in 
/htdocs/base/includes/base_state_common.inc.php on line 165
[Wed Mar 29 11:56:04 2006] [error] PHP Notice:  Use of undefined constant 
VAR_BOOLEAN - assumed 'VAR_BOOLEAN' in 
/htdocs/base/includes/base_state_common.inc.php on line 165
[Wed Mar 29 11:56:04 2006] [error] PHP Notice:  Use of undefined constant 
VAR_BOOLEAN - assumed 'VAR_BOOLEAN' in 
/htdocs/base/includes/base_state_common.inc.php on line 165
[Wed Mar 29 11:56:04 2006] [error] PHP Notice:  Use of undefined constant 
VAR_BOOLEAN - assumed 'VAR_BOOLEAN' in 
/htdocs/base/includes/base_state_common.inc.php on line 165
[Wed Mar 29 11:56:04 2006] [error] PHP Notice:  Use of undefined constant 
VAR_BOOLEAN - assumed 'VAR_BOOLEAN' in 
/htdocs/base/includes/base_state_common.inc.php on line 165
[Wed Mar 29 11:56:04 2006] [error] PHP Notice:  Use of undefined constant 
VAR_BOOLEAN - assumed 'VAR_BOOLEAN' in 
/htdocs/base/includes/base_state_common.inc.php on line 165
[Wed Mar 29 11:56:04 2006] [error] PHP Notice:  Undefined offset:  0 in 
/htdocs/base/includes/base_state_common.inc.php on line 120
[Wed Mar 29 11:56:04 2006] [error] PHP Notice:  Use of undefined constant 
VAR_BOOLEAN - assumed 'VAR_BOOLEAN' in 
/htdocs/base/includes/base_state_common.inc.php on line 165
[Wed Mar 29 11:56:04 2006] [error] PHP Notice:  Use of undefined constant 
VAR_BOOLEAN - assumed 'VAR_BOOLEAN' in 
/htdocs/base/includes/base_state_common.inc.php on line 165
[Wed Mar 29 11:56:04 2006] [error] PHP Notice:  Use of undefined constant 
VAR_BOOLEAN - assumed 'VAR_BOOLEAN' in 
/htdocs/base/includes/base_state_common.inc.php on line 165
[Wed Mar 29 11:56:04 2006] [error] PHP Notice:  Use of undefined constant 
VAR_BOOLEAN - assumed 'VAR_BOOLEAN' in 
/htdocs/base/includes/base_state_common.inc.php on line 165
[Wed Mar 29 11:56:04 2006] [error] PHP Notice:  Use of undefined constant 
VAR_BOOLEAN - assumed 'VAR_BOOLEAN' in 
/htdocs/base/includes/base_state_common.inc.php on line 165
[Wed Mar 29 11:56:04 2006] [error] PHP Notice:  Use of undefined constant 
VAR_BOOLEAN - assumed 'VAR_BOOLEAN' in 
/htdocs/base/includes/base_state_common.inc.php on line 165
[Wed Mar 29 11:56:04 2006] [error] PHP Notice:  Undefined index:  archive in 
/htdocs/base/includes/base_state_query.inc.php on line 129
[Wed Mar 29 11:56:04 2006] [error] PHP Notice:  Undefined index:  archive in 
/htdocs/base/includes/base_state_query.inc.php on line 129
[Wed Mar 29 11:56:04 2006] [error] PHP Notice:  Use of undefined constant 
VAR_BOOLEAN - assumed 'VAR_BOOLEAN' in 
/htdocs/base/includes/base_state_common.inc.php on line 165
[Wed Mar 29 11:56:04 2006] [error] PHP Notice:  Use of undefined constant 
VAR_BOOLEAN - assumed 'VAR_BOOLEAN' in 
/htdocs/base/includes/base_state_common.inc.php on line 165
[Wed Mar 29 11:56:04 2006] [error] PHP Notice:  Use of undefined constant 
VAR_BOOLEAN - assumed 'VAR_BOOLEAN' in 
/htdocs/base/includes/base_state_common.inc.php on line 165
[Wed Mar 29 11:56:04 2006] [error] PHP Notice:  Undefined offset:  2 in 
/htdocs/base/includes/base_action.inc.php on line 938
[Wed Mar 29 11:56:04 2006] [error] PHP Notice:  Undefined variable: pcap_header 
in /htdocs/base/includes/base_action.inc.php on line 1151
[Wed Mar 29 11:56:04 2006] [error] PHP Notice:  Undefined variable: data_header 
in /htdocs/base/includes/base_action.inc.php on line 1151
[Wed Mar 29 11:56:04 2006] [error] PHP Notice:  Uninitialized string offset:  0 
in /htdocs/base/includes/base_signature.inc.php on line 78

Reply via email to