I've started working on a port of Drupal 4.7 to use an Ingres database (recently released as Open Source by the Ingres Corp.).

I've been successful in creating the core database and have created a new database.ingres.inc file.

I've built and tested the php ingres driver.

My problem now is that when I point a site to the ingres database, I get a segmentation fault from apache. The same site using a mysql database works just fine. I'm at a loss as to how to move forward. Any assistance would be appreciated!

Comments

It looks like a database

It looks like a database driver problem. At which point, after which function execution does "segmentation fault" occur?

--------------------------------------------------------------
http://www.students.itu.edu.tr/~koseer/drupal/ - works on PHP-TXT-DB database layer.

--------------------------------------------------------------
http://erdemkose.com/
Drupal Turkiye

Driver Problem?

I don't get any messages in the error log. It seems to crash as soon as I press return in the browser. I was able to get error messages back from the db for an issue with the watchdog function in bootstrap.inc (I've posted that issues as well).

Since I'm new to Drupal Development, forgive the question - is there a way to turn on verbose debugging in the code?
_________________________
Kurt Howerton

_________________________
Kurt Howerton

Apache Segfaults....

Can you connect to an ingres database without drupal? just plain old php? I would really like to see Ingres support for Drupal. I want an Ingres R3 parallel cluster behind my personal drupal blog site :).

Plain old php connection to ingres

Yep - http://www.scitechsys.com/~howertko/testingres.php

_________________________
Kurt Howerton

_________________________
Kurt Howerton

Seg Faults

It appears the function ingres_error() was causing the seg fault. After commenting out all the instances of that, I started getting some helpfull error messages back.

The current issue I'm working on is this:

PHP Notice: unserialize() [function.unserialize]: Error at offset 0 of 1 bytes in C:\drupal_4_7\includes\bootstrap.inc on line 197

I also get an error message in the browser:

Access denied
You are not authorized to access this page.

_________________________
Kurt Howerton

_________________________
Kurt Howerton

Progress ...

The port is coming along ... was having issues with column data types (helps if you get it right the first time).

Now the site wants to submit the first user for approval. Makes it hard to approve if you can't log in.

Check it out: http://ingres.scitechsys.com
_________________________
Kurt Howerton

_________________________
Kurt Howerton

Progress

Meanwhile, Ingres 2006 release 3 is in Beta.
Did anyone test if the current Drupal version can be ported to this Ingres version?