Drupal is an utter disappointment at this point.
Running MAMP with default ports, 5.5.3 PHP, increased timeout and memory limits, complete grants of file permissions, create settings.php file (or not, as it gives same result), and the install on 7.23 flat out doesn't work.
- As you navigate through the wizard, when you reach the step to setup the database, it simply refreshes the page (It creates tables in the database but you have no way of confirming if all of it is there or not).
- You reenter all of the same information again, and then it redirects you back to the start of the wizard (wtf?)
- Then you follow all of the steps again and you finally complete the wizard, but in the end it redirects you to a page with an error:
http://localhost/drupal/install.php?profile=standard&locale=en&id=2&op=f...
Fatal error: Call to undefined function node_types_rebuild() in /.../.../Sites/drupal/includes/common.inc on line 7439
Comments
=-=
you can't resume an install. Delete all tables from the DB.
ensure .htaccess is in the root of the install (at the same level as index.php)
ensure default.settings.php is in sites/default folder
thanks. already did those
thanks. already did those things 5 times now... doesn't work.
always start with fresh database.
everything else is straight from drupal so if drupal has provided a proper file structure to actually install this software, it should work
=-=
actually some OS's hide files that start with a . and if they are hidden they aren't extracted. Which is why you've been asked to visually inspect. Also it's not impossible that upon extraction a file failed or was corrupted.
Similar Problem
I had a similar problem when installing Drupal recently.
- I was trying to install using normal steps
- During installation, after I've entered the DB details, it took me straight to the home page which was displaying 'Batch error'
- Click the back button on the browser and returned to the wizard - at this point I was on the final step (it skipped the profile selection step and a few other ones) so I've entered the site name, etc. and clicked Submit.
Home page only displays: The requested page "/" could not be found.
Pointing to http://sitename/drupal/update.php displays: Fatal error: Call to undefined function node_types_rebuild() in /.../.../includes/common.inc on line 7439
I'm already running a Drupal site on the same server.
Investigating...
I have this same problem
I have this same problem using Mamp on OSX
Installs worked fine a few weeks ago.
Today when I try to install it gets to the database screen, I put in the details and it goes straight back to the database details input step. I look in sites/default/all and it's automatically created settings.php for me and written the database details as expected. However, to get the install to progress I have to make settings.php writeable by everyone.
I don't know what's different between now and a few weeks ago?
Hello – just confirming the
Hello – just confirming the same problem on a fresh MAMP/OSX 10.7 install – finally got it working by:
I also fiddled with the MySQL settings though I doubt this had any impact. I too can only guess that it's a mixture of PHP timeouts (importing translations), memory stuff and the newest PHP 5.5 library introducing unforseen errors. Older setups usually worked without problems.
Speaking of which: I didn't find any error in the mysql nor in the php log that seemed to relate to the case. Something about a namespace; but I'm not sure if that related to the database creation.
P.S.: Also of note: Database creation is actually happening till „variables“, later tables (watchdog) weren't created.
Drupal install problem with PHP 5.5 opcache - fixed
I had exactly these symptoms when installing drupal-7.31 on Ubuntu 14.4.1 which installs PHP 5.5.9 by default.
This article describes the cause accurately - problem re: opcache built into PHP 5.5. I was able to correct the problem and install successfully by applying the patch described in comment #45 on that article.
Alternatively, if you don't want to patch, you can switch off opcache (on by default in PHP 5.5.9) by editing php.ini.
On Ubuntu this is in /etc/php5/apache2/php.ini. Uncomment the first line of the [opcache] section to disable it:
You'll then need to restart apache e.g. on Ubuntu, "service apache2 restart".
Either way, Drupal 7 installation will then work normally.
Thanks, another option would
Thanks, another option would be adding
to Drupal's .htaccess file.
Does not work for me
Hi,
the opcache problem sounds applicable, because I'm running a Ubuntu 15.04 with the following PHP version:
I enabled opcache.enable=0, but I still get this error:
I don't know the problem...