Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Which DBD do I have to install ?

Quote Reply
Which DBD do I have to install ?
Hi all together :-)

I installed Linkssql yesterday, everything went without any problem.

After the installation, nothing was working :

http://213.133.98.229/...re/linkssql/page.php

http://213.133.98.229/...ssql/admin/admin.cgi

I think it could be because of DBD is not installed correctly ? I installed

perl-DBD-Pg

Do I need to install perl-DBD-CSV or perl-DBD-XBase ?

Thanks for your answeres,

Dennis

Quote Reply
Re: [dbode] Which DBD do I have to install ? In reply to
What does your error log say and what database are you using?
Quote Reply
Re: [dbode] Which DBD do I have to install ? In reply to
If I'm right, you use PostgreSQL. Then you only need PostgreSQL DBD.
You will not need to install perl-DBD-CSV or perl-DBD-XBase, unless you use any scripts which use CSV files or connects to XBase.
Links SQL will not need these DBD-s.

EDIT: yeah, about the error, see error log, as Paul suggested
The error on page.php says: "Configuration file, /www/hardware/linkssql/admin/defs/database.def, is not readable."
This means you don't have correctly installed LSQL, or there were some problems with database definition files. Go to Admin/Database/Edit Category Properties page.
At the bottom of the page click on Resync database link.
Hopefully this will solve your problem.

Best regards,
Webmaster33


Paid Support
from Webmaster33. Expert in Perl programming & Gossamer Threads applications. (click here for prices)
Webmaster33's products (upd.2004.09.26) | Private message | Contact me | Was my post helpful? Donate my help...

Last edited by:

webmaster33: Jan 19, 2003, 5:48 AM
Quote Reply
Re: [dbode] Which DBD do I have to install ? In reply to
Did you get pass the setup screen where it installed your tables? As for the DBD driver, it depends on the database you are connecting to. For postgres you want DBD::Pg, for Mysql, you want Msql-Mysql modules, for MS SQL server you want DBD::ODBC. You can find all of these at:

http://cpan.gossamer-threads.com/modules/by-module/DBD/

Cheers,

Alex
--
Gossamer Threads Inc.