![]() |
![]() |
Hello all:
I am making a new base
catalog, with my own templates and without any additional configuration, is
to say with only the elementary sets of configurations, this is the
catalg.cfg:
VariableDatabase
variable
ParseVariables Yes ################################################################ #### CONSTANT DEFINITION ################################################################ VendURL http://__SERVER_NAME____CGI_URL__ SecureURL __SECURE_SERVER____CGI_URL__ ImageDir __IMAGE_DIR__/ ImageDirInternal http://__SERVER_NAME____IMAGE_DIR__/ MailOrderTo __ORDERS_TO__ #ScratchDefault
mv_add_dot_html 1
#ScratchDefault mv_no_session_id 1 #ScratchDefault mv_no_count 1 ################################################################ ######## THESE DEFINES THE VARIABLES FOR TEMPLATING ####### ################################################################ #ifdef @TRAFFIC =~ /high/i ParseVariables Yes ConfigDir templates/regions Variable LEFT <LEFT Variable BOTTOM <BOTTOM Variable RIGHT <RIGHT Variable TOP <TOP ConfigDir config #endif ## Use [include ...] with low traffic
settings, file read every time
## template changes show up immediately this way ## TRAFFIC is defined in interchange.cfg ## #ifdef @TRAFFIC =~ /low/i Variable LEFT [include templates/regions/LEFT] Variable BOTTOM [include templates/regions/BOTTOM] Variable RIGHT [include templates/regions/RIGHT] Variable TOP [include templates/regions/TOP] #endif ################################################################ ######## DATABASE SETUP ######## ################################################################ #ifndef SQLDSN Variable SQLDSN __MVC_SQLDSN__ #endif ##### MySQL #ifdef MYSQL Message Using MySQL, DSN=__SQLDSN__. # Tell the default DBM we are using
something else...
Variable SOME_DATABASE 1 # The table defs are in separate
files in the dbconf/mysql directory,
# the ones kept in DBM are in TABLENAME.dbm files. #include dbconf/mysql/*
#endif
#####
##### Default DBM if nothing else defined ##### #ifndef SOME_DATABASE Message Using default DBM database. #include dbconf/default_db/* #endif ################################################################
######## END DATABASE SETUP ####### ################################################################ UserTag history-scan Routine
<<EOR
my %var_exclude = ( qw/ mv_credit_card_number 1 mv_pc 1 mv_session_id 1 /); sub { my ($find, $exclude, $default) = @_; my $ref = $Vend::Session->{History} or return $Tag->area($default || $Config->{SpecialPage}{catalog}); my ($hist, $href, $cgi); $exclude = qr/$exclude/ if $exclude; for(my $i = $#$ref; $i >= 0; $i--) { #Log("checking $ref->[$i][0] for $exclude"); if ($exclude and $ref->[$i][0] =~ $exclude) { next; } if($find) {
next unless $ref->[$i][0] =~ /$find/;
} ($href, $cgi) = @{$ref->[$i]}; last; } return $Tag->area($default || $Config->{SpecialPage}{catalog}) if ! $href; my $form = ''; for(grep !$var_exclude{$_}, keys %$cgi) { $form .= "\n$_="; $form .= join("\n$_=", split /\0/, $cgi->{$_}); } return $Tag->area( { href =">" $href, form => $form} ); } EOR The problem is when i try to get into
the Admin Interface menu options, as the folowing options:
Orders
Content
Customers
Design
Items
Reporting
Merchandising
Administration
Then i get the folowing message
error: Page cannot be found.
This is the url trying to find
when the error occurred: http://mercurio/admin/order?id=s3WsPth4&mv_pc=33
I compare this url with the url of a
catalog based on the construct, this is the right url http://mercurio/cgi-bin/construct/admin/order.html?mv_pc=16,
both were trying with the Orders menu option. Obviously there is some problem
with the location of the order.html but i don't know anything about the
solutions.
If somebody knows something about
this, please no doubt in response this email.
Thanks in
advance...
Alexander
Albaracin
|