Hi I'm installing on a subdomain in a ensim server,

due some problem the install fails
if I point to my website i get http://site.com/var/subdomain/lala/html/install.php

if I create manual the settings.php with only $base_url inside I can get to the install

after creating the DB it fails again and I need to set the base_url again in the settings.php (bacause its overwritten by install)

but then I get


    * user warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') ORDER BY fit DESC LIMIT 0, 1' at line 1 query: SELECT * FROM menu_router WHERE path IN () ORDER BY fit DESC LIMIT 0, 1 in /var/www/mario/includes/menu.inc on line 315.
    * user warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') ORDER BY fit DESC LIMIT 0, 1' at line 1 query: SELECT * FROM menu_router WHERE path IN () ORDER BY fit DESC LIMIT 0, 1 in /var/www/mario/includes/menu.inc on line 315.

I guess I'm missing somthing for the base_url for installation and the error of mysql

I'm using drupal-6.1.tar.gz as start

Comments

rentex’s picture

Hi there!

Did you manage to fix this? In that case, how did you do it?

These threads seem to adress the very same issue:
http://drupal.org/node/216172
http://drupal.org/node/198843

rentex’s picture

I found out that it might be FastCGI causing the issue. However there is a patch that fixes the issue over here:
http://drupal.org/node/194331

Here is a direct link to the patch I used: http://drupal.org/files/issues/php_self2.patch

I tested the patch on a Drupal 5.7 website. However the patch might work on other versions as well.

aleemhs’s picture

How exactly do you run a patch?

rentex’s picture

Depends on if you run Linux or Windows on your server/client. There are several ways to do it.
Have a look at the documentation explaining this here: http://drupal.org/node/60108