For problems and solutions related to database compatibility.

IBM DB2 Database Support (Module) for Drupal 4.7

Hi,
I am a developer working on a drupal db2 database abstraction module for a client. My development database server is the free DB2 Universal Database from IBM, running on a windows, however my client has a Z series IBM server. I am using the PHP ibm_db2 API which accesses the database via a db2cli.dll library. After adding hacking in support for multiple active databases to drupal 4.7 I created a working database.db2.inc abstraction module.

Initially I found it sufficient for accessing some ancillary data by switching from the drupal running on a mysql server to some tables in the db2 database via db_set_active(). However i decided to go further by porting the mysql drupal db creation schema files of drupal 4.7 as best of possible to db2 sql syntax using a reference manual. Well to make a long story short, after much debugging with db2cli traces, and a fair amount of hacking of some of the drupal modules I finally have drupal running from db2. The drupal source code hacks though very unfortunate and a reluctant act on my part were absolutely necessary in my opinion due mostly to the loose type casting used in Drupal which has is no problem for mysql. However since db2 has very strict casting and data types some changes had to be made. Never-the-less I made every effort to ensure my modifications were backwards compatible with atleast the mysql database.

Can I use Drupal to connect to a Pre configured MSSQL database?

Hello, There is a prepaid card package using a MSSQL DATABASE and it needs to have a website that can give restricted access to the database to display specific transactions on the database based on the client. Can this be done using Drupal as the CMS or frontend? Is the code to write to access the MSSQL database extensive? Any person , please?

MSSQL support in Drupal 5

Hi guys,

I working for company witch like to use Drupal. Now I have problem before me and it is about MSSQL support.
I need to include in Drupal 5 MSSQL support and I have a lot of time for it. I will be need all functionality of Drupal working together with MSSQL.

Behind me it is a problem about functionality. I did't find any patch for drupal 5, witch can include MSSQL support. I found patch, witch is possible to use only with version 4.7.5. I did not find anything in CVS as well.

test site and database set up on dreamhost

Newbie here. Just started using drupal about a month ago, so please be patient with me.

I have dreamhost, and my site name is something like this: example.com. I have set up a subdomain at test.example.com. I duplicated my database, renamed it testdatabase, changed the settings php file to point to the correct places. However, now when I visit test.example.com, I get the correct theme, but no content. Is there something else I need to do to the testdatabase to get things to work? I appreciate any help.

sscooterguy

Number of comments & images

Hello,

I'm having problem with displaying number of comments and number of images (in a gallery).

Only admin can see the correct numbers, but i want everyone to see the numbers.

Here is the situation;
I have a view which shows thumnails of galleries, and under the thumbnail it shows the total number of images in that gallery. It always shows "1 image" even though there are more.
The same thing happens with numbers of comments.

The interesting thing is when i login as admin, all numbers are correct.

Which Table does 'Number of Reads' field belong to

Hope someone can help. I'm converting two blogs (wp 2.2 and b2evolution 1.8.6) to Drupal 5 rc1.

The conversion process itself is not a problem and works. There is just one field I can't find in Drupal, it's the "Number of Reads" per node (post).

Could somebody please enlighten me, explain to which Drupal table it belongs.

Any help greatly appreciated.

Steven Taylor
Melbourne, Australia.

Pages

Subscribe with RSS Subscribe to RSS - Deprecated - Database compatibility