Hi folks,
I just wanted to let the community know that I'm running my personal real estate web site on drupal 4.7: www.salperalta.com. It's pretty basic at the moment, but I've only been at it for 15 hours or so, and that includes time spend figuring out how to use drupal_get_form to query an external database with the MLS data set. Will add features and prettify it over time.
Drupal gets better and better the more familiar I get with the API. :^)
Thanks,
Sal
One niggling bug remains with the form:
I'm getting false warnings when using the external rmls database and was wondering if there is a way to suppress the warning or to change the default error handler to something else.
Table 'housing.node_access' doesn't exist query: SELECT COUNT(*) FROM node_access WHERE nid = 0 AND ((gid = 0 AND realm = 'all')) AND grant_view >= 1 in /var/www/sjp/includes/database.mysql.inc on line 121.
I found an old reference to doing such a thing here:
"If you use the db_set_active function to change to another database, and
then run a query that contains invalid syntax, watchdog module tries to
insert the error, but uses the currently active database, instead of
the drupal database."
...
"I use multiple database connections extensively. I set the default error handler to something else whenever I access my other database."