Hi Luda,
To track clicks you have to setup another database (sql/clicks.sql) and
setup a section in the config like this:
CLICKS {
# options regarding click tracking
# database connection details
DBI_CONNECT = 'dbi:mysql:clicks'
DBI_USERNAME = 'user'
DBI_PASSWORD = 'secret'
}
Perhaps I should make it optional as its quite important for
connotea.org but I imagine for outside instances it may not be so important.
Lyudmila L. Balakireva wrote:
> Hello,
> I am installing connotea and I have problem to restart apache:
>
> Starting httpd: [Wed Dec 19 13:14:56 2007] [error] Configuration variable
> CLICKS > DBI_CONNECT required by Bibliotech::Clicks but not
> found.\nCompilation failed in require at
> /home/ludab/connotea-code-1.8-beta/Bibliotech/Component/AdminStats.pm line
> 14.\nBEGIN failed--compilation aborted at
> /home/ludab/connotea-code-1.8-beta/Bibliotech/Component/AdminStats.pm line
> 14.\nCompilation failed in require at
> /home/ludab/connotea-code-1.8-beta/Bibliotech/WebAPI.pm line 205.\nBEGIN
> failed--compilation aborted at
> /home/ludab/connotea-code-1.8-beta/Bibliotech/WebAPI.pm line
> 205.\nCompilation failed in require at
> /home/ludab/connotea-code-1.8-beta/Bibliotech/Apache.pm line 21.\nBEGIN
> failed--compilation aborted at
> /home/ludab/connotea-code-1.8-beta/Bibliotech/Apache.pm line
> 21.\nCompilation failed in require at (eval 2) line 3.\n
> [Wed Dec 19 13:14:56 2007] [error] Can't load Perl module
> Bibliotech::Apache for server marmot.lanl.gov:0, exiting...
>
> I have /etc/bibliotech.conf
> with
> DBI_CONNECT = 'dbi:mysql:bibliotech'
> DBI_USERNAME = 'lib'
> ...
>
> what can cause such a problem?
>
> Thank you,Luda
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Connotea-code-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/connotea-code-devel