Upgrade disaster!

Well, this has been horrible!

I recently upgraded to a new server, and now everything has exploded... body parts lying everywhere... you get the idea!

First, my website couldn't find any includes, and I was getting "failed to open stream" errors.

I remedied this by adding ini_set("include_path","."); to bootstrap.ini. I read about this somewhere in the forums, but I can't locate the specific page at the moment.

Now my site text would load, but no links worked, because Drupal was inserting "cgi-sys" into every url. I fixed this by explicitly setting $url_base in settings.php.

OK, my site is up and running... but couldn't this have been done automatically? I mean, for every site that I host (several at this point), I am having to go in and hack a core file, and set $db_url.

Next issue: I wanted to try out D6 to help with development, using a subdomain. Once again, I got "failed to open stream" errors immediately. So, I edited bootstrap.ini, and tried again. That part worked, but then it started inserting "cgi-sys" into the install url, re-directing me to "example.com/cgi-sys/install.php", which results in an infinite loop.

As it is, I don't know how to remedy this (no settings.php to edit, yet), so I can't install D6.

How to count results in query

hi, I am trying to get the count value of results from my database query. I do not want to use SELECT COUNT(id) since I am not just getting the count value but also results from the db. I tried using mysql_num_rows but that did nothing.

My test query as an example

$result = db_query('SELECT id, name, title FROM table_name ... ..... ....

In the above query, how would I get a count of the total rows in the database? Any help would be greatly appreciated.

Filtering issue

Hey.

I'm trying to use google adsense. I pasted the code google gave me into drupal but it is filtering one of the '>' characters in the code to a '\<'

Anyone know whats going on? Thanks.

localhost (xampp) very slow on Vista for some reason

For some reason I'm finding Drupal on localhost (xampp) on Vista much slower than on XP. On my old (and slower) XP machine, pages would typically load in around 700 or 800ms. On the faster Vista machine it is around 3600ms. This is out of the box, without extra modules running.
I turned off zonealarm, but that didn't make any difference. Is anyone else having this problem?

How to link to a function?

hi, I am developing a module but I am having a problem linking to another function. I know about the hook_menu but I would like to know how I can link to another function using the

Any help would be greatly appreciated :)

Freeway eCommerce for Drupal

Hi there,

We are building a series of extensions for Drupal so customers can purchase products, events, services or subscriptions directly from within Drupal using the eCommerce functionality of a Freeway store. This will give considerably more eCommerce power than currently available. See: www.openfreeway.org

Pages

Subscribe with RSS Subscribe to RSS - Drupal 6.x