Guys, I'm mistyfied...I've run makecat to install an additional standard catalog. If I restart IC I get this error:
>Configuring catalog wpagina...Using MySQL, >DSN=dbi:mysql:wpagina...Can't overlap ifdef at line 74 of catalog.cfg
>In line 74 of the configuration file 'catalog.cfg': > >wpagina config error: Can't overlap ifdef at line 74 of catalog.cfg >In line 74 of the configuration file 'catalog.cfg': > >wpagina: error in configuration. Skipping. >wpagina: config error. Skipping.The other catalogs start with no problems. I have looked in the cfg to see if the if-endif's are in synch, which they are. I have not fiddled with the catalog.cfg, it is straight out of the box.
I have appended the top part of the catalog.cfg, in case somebody wants to see it. The error points to line 74, but no if-endif problem there. If I mark out the section which causes the problem nothing changes. Any thoughts? I have run makecat again and again, just in case, but no change.
Below an exerpt from the catalog.cfg -PatrickPS. just before I wanted to send this message I checked the newly created database 'wpagina', but it is empty; no tables, no data. Isnt it supposed to be filled with demo data?
#==========================================================================# # catalog.cfg # See the 'icconfig' document for details. #==========================================================================# # Ignore older C-style directives like #ifdef, #endif, #include. # This directive affects the entire catalog configuration. ConfigParseComments No # Read in some initial default variables from a directory. These are # larger ones -- they could conceivably be maintained in the # VariableDatabase but might be easier to maintain in a file, especially # for development. # # Notable settings: THEME_CSS, COMMON_MENU, COPYRIGHT # DirConfig Variable variables # Read in large variables or dynamic variables from a series # of files in a directory VariableDatabase variable # Read in site-specific variables from a database (if any). # Used to create a information for a temporarily transferred # catalog, i.e. for development. # # Ignored if file doesn't exist. VariableDatabase site # Warn if any important modules or usertags are missing. Require module Digest::MD5 "Need %s %s for better cache keys." Require module Safe::Hole "Need %s %s for embedded perl object access."Require UserTag email var loc table_editor button component#==========================================================================# # Can send various files outside the catalog directory, for disk partition # reasons, for example. ParseVariables Yes ifdef LOGDIR ErrorFile __LOGDIR__/error.log AsciiTrack __LOGDIR__/tracking.asc TrackFile __LOGDIR__/usertrack endif ifndef LOGDIR AsciiTrack logs/tracking.asc TrackFile logs/usertrack endif ifdef CACHEDIR SessionDatabase __CACHEDIR__/session ScratchDir __CACHEDIR__/tmp endif ifndef CACHEDIR SessionDatabase session ScratchDir tmp endif #==========================================================================# # Database setup ParseVariables Yes ifndef SQLDSN Variable SQLDSN dbi:mysql:wpagina endif ## We want to hide the .gdbm, .autonumber, .numeric, .sql, .db files DatabaseDefault HIDE_AUTO_FILES 1 ifdef MYSQL DatabaseDefault NO_ASCII_INDEX 1 include dbconf/mysql/mysql.cfg endif ifdef PGSQL DatabaseDefault NO_ASCII_INDEX 1 include dbconf/pgsql/pgsql.cfg endif # Default DBM if nothing else defined ifndef SOME_DATABASE Require We_need_a_database "%s, must have either MySQL or Postgres" endif
_______________________________________________ interchange-users mailing list suppressed http://www.icdevgroup.org/mailman/listinfo/interchange-users
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.