Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
I ran in to an error during the installation of D7 on windows IIS server:
Error message
No active batch.
PDOException: SQLSTATE[42000]: Syntax error or access violation: 1064 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: SELECT * FROM {menu_router} WHERE path IN () ORDER BY fit DESC LIMIT 0, 1; Array ( ) in menu_get_item() (line 443 of ...\drupal7\includes\menu.inc).
I've read in the forums that this might have to do with the cookie path, but the proposed solutions didn't help in my case.
After further research I discovered that the value of $base_url in settings.php which I had set prior to starting the installer, had been reverted to the default value. After restoring this setting, the installation completed without errors.
I am able to reproduce this using the following steps:
Began with an empty database, and with a settings.php file equal to default.settings.php
Replaced $base_url with the base url of the drupal installation (because IIS is running on a different port, which is only accessible through a reverse proxy that listens on port 80)
Started the installer, chose standard profile and English language
I have recently installed Drupal 7 on a windows server using xamp, have been using Drupal 6 for the last two years. Install of Drupal 7 went fine with no problems (very nice). The issue I have is that when I check for updates Drupal returns the following error
"Failed to get available update data."
When I check manually I get this error
"Failed to get available update data for one project."
Hi,
I´ve installed Drupal on my host in a default folder called public_html. In this folder now I have sites, profiles. modules, includes... and all folders and files of Drupal. But, inside public_html I also created a new folder calle domainA where I have other Drupal installation.
My question is, can this give me problems? Can it generate incompatibilities?