For problems and solutions related to database compatibility.

Getting an Autoincrement field

Hi,
I just started developing in Drupal and I am wondering how I can get the autoincrement field in MySQL.

For example, I have a table named FOOD with an autoincrement field called FOODID. After I insert a new FOOD record with db_query( "Insert into Food..." ), how can I get FOODID?

Thanks for you help!

cannot login in IE

Hi
I could not able to login in IE, if i navigate through, gmcanada.com, but i could able to login if i navigate through www.gmcanada.com,
Firefox is working fine for this issue,
can any one help me in this regard,
Thanks in advance,
Neelima

Using Drupal for RFPs

I'm looking and/or would like to know if it is possible to use drupal to collect RFPs information from potential clients, only display specific information to the community, yet have each community member respond to the RFP without knowing the contact information of the person placing the request? Is there a component already available? How much is involved in customizing a community to work in the manner?

Modules and Postgres

Hello!

Does anybody knows how the modules of drupal work with postgres?

I use Drupal 5.2 and PostgreSQL 8.2.1.

I try to use the modules: Archive and Archiver and I have warnings.

For Archiver I didn't have problems on installation, but when I try to use it I get these warnings:

Using Tac_lite

Itry to define some restricts for some roles to acces to forums.

Somebody could help and say to me why I have these messages, and how can I repair this? at the top of the forum I see the next message:

* warning: pg_query() [function.pg-query]: Query failed: ERROR: syntax error en o cerca de "ON" at character 30 in /var/www/includes/database.pgsql.inc on line 94.
* user warning: query: forum_get_forums SELECT r.tid, COUNT(DISTINCT ON (n.nid) n.nid) AS topic_count, SUM(l.comment_count) AS comment_count FROM node n INNER JOIN node_comment_statistics l ON n.nid = l.nid INNER JOIN term_node r ON n.nid = r.nid INNER JOIN node_access na ON na.nid = n.nid WHERE (na.grant_view >= 1 AND ((na.gid = -1 AND na.realm = 'all') OR (na.gid = 121 AND na.realm = 'tac_lite') OR (na.gid = 121 AND na.realm = 'tac_lite') OR (na.gid = 125 AND na.realm = 'tac_lite') OR (na.gid = 0 AND na.realm = 'tac_lite'))) AND ( n.status = 1 AND n.type = 'forum' ) GROUP BY r.tid in /var/www/includes/database.pgsql.inc on line 113.
* warning: pg_query() [function.pg-query]: Query failed: ERROR: syntax error en o cerca de "ON" at character 23 in /var/www/includes/database.pgsql.inc on line 94.

Maintaining sessions between a drupal site and a non drupal site

Hey guys

I am a newbie to drupal and breaking my head for a small problem,so plz any help will be appreciated. the problem is as follows

I have a non drupal site and a drupal site on my server so now what i want to achieve is

Pages

Subscribe with RSS Subscribe to RSS - Deprecated - Database compatibility