Drupal is up and running but how do I ...?

Unsupported database type

I am using
Drupal version 4.6.5
MySql version 4.1.16
PHP version 5.0.4

I had successfully installed Drupal a few months ago but now I get the "Unsupported database type" error. The only thing that might have changed is the MySQL version. I periodically update my system (Fedora code 4) using Yum. I dont remember what the previous version od MySQL was.
I have been searching the forums and have tried a number of "solutions" without any luck.
First I tried to change the MySQL user password to the "old" format as described here http://drupal.org/node/35226
This did not help.
I deleted the user and created a new one, this did not help either. I tried the steps explained here to check if the /include/database.inc and /include/database.mysql.inc files were functioning correctly.

I modified the code in the database.inc file as follows

function db_set_active($name = 'default') {
global $db_url, $db_type, $active_db;
static $db_conns;
if (!isset($db_conns[$name])) {
// Initiate a new connection, using the named DB URL specified.
if (is_array($db_url)) {
$connect_url = array_key_exists($name, $db_url) ? $db_url[$name] : $db_url['default'];
}
else {
$connect_url = $db_url;
}
$db_type = substr($connect_url, 0, strpos($connect_url, '://'));
$handler = "includes/database.$db_type.inc";
if (is_file($handler)) {

Alternatives to search.module and trip.search?

Hello!

We're running Drupal 4.6.5. The search index is not being rebuilt. Yesterday when I added new content the index went up to 100% but now it's back down to 49% with items left that refuse to be indexed (regular page/post node types). Subsequent cron.php runs do not index the rest of the non-indexed items. cron.php is configured properly, running at various times throughout the day. Running cron.php manually several times does not bring the index up to 100%.

trip_search does a little better job, but it bombs out with...

warning: implode(): Bad arguments. in /export/home1/u03/usr/local/apache/htdocs/kb/modules/trip_search/trip_search.module on line 302.

...which is not exactly user friendly. Besides, trip_search only does node searches, it does not have an interface for accessing the swish index (that I know of). search.module has that. However, search.module is returning document links with a leading slash in front of the filename, like this...

http://myserver/kb/?q=system/files&file=/myfile

...but it really should be ...files&file=myfile (no leading slash before "myfile").

swish-e is properly installed and manual searches on the command line provide the desired results. If you navigate to a node that has an attachment the attachment's link is correct (no leading slash) and clicking on it works.

We're pretty much impressed by the rest of Drupal's features, but what we want to do is create a searchable knowledge base and if the main component behind that requirement (search) is not working properly then we can't use Drupal.

FCKeditor Working...filemanager kinda

I installed FCKeditor and it worked first time but the filemanager wasn't working. Tried several things, never got it to work. Deleted and started over. Now, FCKeditor is working, filemanger is working but not exactly as I want.

The manager browses /files/Image

I can upload content, use content, create directories, etc. My issue is that I don't want to use this subdirectory of "Image". I just want to use the director of /files/ as my root in the FCKeditor filemanger.

Project module, shows all terms as tabs

I've installed the project module but when I go to its page (sitename.com/project) all I see is a list of tabs consisting of all the terms in my first (lowest weight) vocab. I assume Project uses a vocab to organize different kinds of projects et c, but I'd rather 1) use a specific vocab or 2) use the children of a term for this. It's a mess now and I have looked through settings trying to figure it out. Any help is much appreciated!

UTF-8 and latin1 charset and search problem

Hi,

After migrating from one host to another I found out one interesting thing:
DRUPAL DATA IS STORED IN MYSQL TABLES IN THE LATIN1 (!) CHARSET.

I don't know why it is so, but I know that if searching in my native language (not english)
the SEARCH is CASE-SESNITIVE, which is totally unaccepable (becase on other sites it's working fine).

If any way to conver my current sql tables from latin1 to utf-8 and will it help wich seach and may be something else?

thank you.

Taxonomy Template Help?

I am trying to style the taxonomy pages on my site. I've read the forums and I've found that I need to make a taxonomy.tpl.php page to style the listings. Can someone show me an example of this? I'm a little confused on how to display the posts. Most of my pages are flexinodes and the entire node is showing up, and also the titles are doubled. I would ideally like to show the title, and possibly 1 element from the flexis, or the teaser if it is not a flexinode. Any suggestions?

Pages

Subscribe with RSS Subscribe to RSS - Post installation