When installing Drupal from scratch, if features-7.x-dev is in /sites/all/modules, I get the following error which kills the installer:

An AJAX HTTP error occurred. HTTP Result Code: 500 Debugging information follows. Path: http://ucsf7_final/install.php?profile=standard&locale=en&id=1&op=do StatusText: Service unavailable (with message) ResponseText: 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 422 of /Users/renelle/workspace/ucsf/ucsf7_final/includes/menu.inc).

rm -rf sites/all/modules/features, re-install, and the I don't that error. Not sure if this is necessarily a features bug, placing it here until someone suggests otherwise.

CommentFileSizeAuthor
#3 error1064.png49.65 KBadamrice

Comments

lefnire’s picture

Status: Active » Fixed

doesn't happen with latest.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

adamrice’s picture

Priority: Normal » Major
Status: Closed (fixed) » Active
Issue tags: +install mysql error d7 rc1
StatusFileSize
new49.65 KB

I am getting essentially the same bug--slightly different line number referenced. Here's the full text of the error page.

This occurs when attempting a new install of 7.0 RC1 locally on top of MAMP. Looking at the database, it's clear that tables are being created. I can try to force proceeding with the installation process, but the site is not usable--there's no way to log in, and the site's root page is "not found."

Skip to main content
Drupal
Error

The website encountered an unexpected error. Please try again later.
Error message
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 426 of /Users/adamrice/Sites/notbob/includes/menu.inc).
adamrice’s picture

Status: Active » Closed (fixed)

Upgrading MAMP to 1.9.4 fixes the problem.

kinsbru’s picture

I have the same issue but I am working with Windows 7 and have just installed AppServ 2.6.0.
I would strongly apprecciate if some could help me to solve out this issue.
Thanks in advance.
Alejandro.

kinsbru’s picture

I have changed to version 2.5.10 of Appserv since version 2.6.0 has PHP 6 which is still in dev phase.
Regards,
Alejandro.