[ic] editing index.html file

Ben H interchange-users@interchange.redhat.com
Mon Aug 20 19:39:01 2001


First of all, I'm running version 4.8.1


I'm getting this error when attempting to open files for editing.

====
[snip] /cgi-bin/steger/admin/page_edit search error: your search file a 
valid database reference, was 'backup'.
[snip] /cgi-bin/steger/admin/page_new.html Safe: Can't call method 
"open_table" on an undefined value at 
/usr/local/interchange/lib/Vend/Data.pm line 899.
====


This is the statement containing line 899

if($class_config->{Extension}) {
                 $obj->{db_file} = $table_name unless $obj->{db_file};
                 $obj->{db_text} = $database_txt unless $obj->{db_text};
                 no strict 'refs';
#::logDebug("ready to try opening db $table_name") if ! $db;
                 eval {


-- line 899                if($MVSAFE::Safe) {


                                 $db = 
$Vend::Interpolate::Db{$class_config->{Class}}->open_table( $obj, 
$obj->{db_file} );
                         }
                         else {
                                 $db = $class_config->{Class}->open_table( 
$obj, $obj->{db_file} );
                         }
                         $obj->{NAME} = 
$db->[$Vend::Table::Common::COLUMN_INDEX]
                                 unless defined $obj->{NAME};
#::logDebug("didn't die but no db") if ! $db;
                 };
==== end of statement

I'm stumped, I don't understand what this 'if' statement accomplish...

Another problem I'm having, and I'm thinking these two problems are related...

I'm getting the following error when trying to modify the tax tables... 
through the 'wizard' I was able to modify the rates.  This applies to 
various other areas of the administration section.

/cgi-bin/steger/admin/tax_simple.html Attempt to set 
variable::Variable::TAXSHIPPING in read-only table
/cgi-bin/steger/admin/tax_simple.html Attempt to set 
variable::Variable::TAXRATE in read-only table


Any thoughts on any of this?


Sincerely,
Ben H.


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com