[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
[ic] VariableDatabase broken?
Hi again,
I've posted a few questions already and I just found out that all my
problems seem to come from the VariableDatabase directive. For some reason
the .gdbm gets created and the values are not used at ALL...
catalog.cfg:
--BEGIN--
### Variables are inside ~/products/var.txt
Database var var.txt TAB
VariableDatabase var
ParseVariables Yes
### Path info
VendURL http://__SERVER_NAME____CGI_URL__
SecureURL __SECURE_SERVER____CGI_URL__
ImageDir __IMAGE_DIR__/
ImageDirInternal http://__SERVER_NAME____IMAGE_DIR__/
ImageDirSecure __SECURE_SERVER____IMAGE_DIR__
### Misc stuff
MailOrderTo __ORDERS_TO__
### Database setup
...
--END--
I have the file products/var.txt and products/var.gdbm. Also, when I do a
"configdump catalogname" I see that NO values are correct.
the var.txt is a (1)TAB delimited text file that looks like:
code Variable
SERVER_NAME domain.com
SECURE_SERVER https://domain.com
IMAGE_DIR /images
CGI_URL /cgi-bin/catalog
DSN dbi:mysql:catalog_db
PRODUCTS_SOURCE products.txt
ORDERS_TO orders
Any help would be appreciated...
Jean-Pierre Parent
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users