Having problems installing Drupal? See the Installation Guide for more information.

IIS/MSSQL almost working, debugging help please

I'm trying to get Drupal working on IIS/MSSQL; we have an existing site with an application written for that platform that I'd prefer not to port. Here's the status -- ported database.mssql, wrote a database.pearmssql.inc, and it seems mostly good.

If I use a DSN that connects to a mysql database, everything works perfectly. If I connect to the MSSQL database, on my very first request I don't see the "User login:" panel on the left side of the first drupal page. On subsequent requests, I get:

warning: Wrong parameter count for min() in C:\temp\drupal2-4.6.5\includes\menu.inc on line 916.

... and then a Page Not Found error.

I've instrumented the heck out of drupal, and now every database query is output, along with the result, on every page, for both my test mssql and mysql versions, for example:

query: SELECT * FROM variable
No error:3 records
DB_FETCH_OBJECT: [ name => update_start ][ value => s:10:"2005-03-21"; ]
DB_FETCH_OBJECT: [ name => theme_default ][ value => s:10:"bluemarine"; ]
DB_FETCH_OBJECT: [ name => filter_html_1 ][ value => i:1; ]

What's odd is that, for both mssql and mysql, I get the exact same output from the database engine. And yet, the instantiation with the MSSQL DSN gets the errors as listed above, and the MYSQL run works perfectly.

Any thoughts on what I could instrument next to debug this? Any clue what's causing it?

Can't login after installation at webhost

I've tried to install Drupal on the server of my provider. I installed the database (MySQL) using phpmyadmin, then opened the website and tried to register the first user. I get a password by mail, but can't login. Whenever I try to login, I return to the same login screen, with no messages at all. I've tried to request a new password, but that didn't help. I looked at the .htaccess file, but don't know if I should change anything there.

Changing site name

I've looked (briefly) at drupal as one of a set of systems several times - and I've always backed away since it has a higher learning curve than some of the others.

However - I've just installed 4.6.5 to beat that pesky curve :) All the others end up without the flexibility I need :)

So - it's going quite well - been spending some time understanding the taxonomy stuff and how it relates to the forums etc.

Now - I've been playing with the values in the administrate > settings page - and everything changes just as I want apart from General Setting -> Name:

mod_rewrite and Search engine friendly URLS

I am pulling my hair out. I am trying to enable SEF URLs for my Drupal site. I have read all the forums, contacted my web host and successfully proved mod_rewrite is installed and working.

I uploaded .htaccess file to the root of my webserver.

RewriteEngine On
RewriteRule ^test.html$ /test2.html [R=301]

I created file test.html and test2.html and then I fired up firefox and went to www.mysite.com/test.html and it routed me to test2.html, Success mod_rewrite is working no?

while making new forum i get an error

i m using 4.6.5 getting
this error while making a new block

plz help me tell me what to do

user error: Duplicate entry '' for key 3
query: INSERT INTO boxes (title, body, info, format) VALUES ('aaaaa', 'aaaaaaa', '', 1) in /home/affy/public_html/includes/database.mysql.inc on line 66.

warning: Cannot modify header information - headers already sent by (output started at /home/affy/public_html/includes/common.inc:384) in /home/affy/public_html/includes/common.inc on line 192.

I can't setup my new theme!?

hey,

i upload a new themes but i can't setup it on my drupal! how can i do? i read install.txt's but i don't understand. ugh! who can say me how is it install a new theme?

Thanx a lot...

Ercan!

Pages

Subscribe with RSS Subscribe to RSS - Installing Drupal