Closed (fixed)
Project:
Spark
Version:
7.x-1.0-alpha7
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Issue tags:
Reporter:
Created:
11 Mar 2013 at 16:34 UTC
Updated:
4 Jan 2014 at 02:58 UTC
Jump to comment: Most recent
During the step 'installation profile' of the installation of 'Spark 8.x-1.x-dev (2013-Mar-09)' I get the following error messages:
An AJAX HTTP error occurred. HTTP Result Code: 200 Debugging information follows. Path: http://blooniverse.dev/core/install.php?langcode=de&profile=spark&id=1&op=do_nojs&op=do StatusText: OK ResponseText: Fatal error: Call to undefined function node_type_set_defaults() in /var/www/drupal8/core/profiles/standard/standard.install on line 50 Call Stack: 0.0000 334720 1. {main}() /var/www/drupal8/core/install.php:0 0.0002 354616 2. install_drupal() /var/www/drupal8/core/install.php:36 4.9859 3892824 3. install_run_tasks() /var/www/drupal8/core/includes/install.core.inc:87 5.5056 4802412 4. install_run_task() /var/www/drupal8/core/includes/install.core.inc:449 5.5057 4803244 5. _batch_page() /var/www/drupal8/core/includes/install.core.inc:559 5.5072 4810448 6. _batch_do() /var/www/drupal8/core/includes/batch.inc:84 5.5072 4810448 7. _batch_process() /var/www/drupal8/core/includes/batch.inc:108 5.5596 4903016 8. call_user_func_array() /var/www/drupal8/core/includes/batch.inc:245 5.5596 4903052 9. _install_module_batch() /var/www/drupal8/core/includes/batch.inc:0 5.5597 4903320 10. module_enable() /var/www/drupal8/core/includes/install.core.inc:1874 6.8487 6697244 11. module_invoke() /var/www/drupal8/core/includes/module.inc:393 6.8487 6697408 12. Drupal\Core\Extension\ModuleHandler->invoke() /var/www/drupal8/core/includes/bootstrap.inc:2485 6.8488 6697536 13. call_user_func_array() /var/www/drupal8/core/lib/Drupal/Core/Extension/ModuleHandler.php:269 6.8488 6697728 14. spark_install() /var/www/drupal8/core/lib/Drupal/Core/Extension/ModuleHandler.php:0 6.8496 6756584 15. standard_install() /var/www/drupal8/profiles/spark/spark.install:19
Spaaark on, Sparkers, spark on! One day soon you will create a flame, soon after a powerful fireball which can be thrown into the Web.
Comments
Comment #1
Blooniverse commented... only if I retry (browser back) can I finish the installation process. But that is of little use since there are only ~30 tables in the database, finally/afterwards. Not enough for Drupal to function.
Comment #2
jessebeach commentedThis should be monkey-patched in the 8.x-1.x branch. The error is a core issue that still needs some work.
Comment #3
gábor hojtsyI recently removed the testswarm module from the 8.x version of the distro, since it was causing SQL errors as well. Eg. you could not install Spark on simplytest.me due to that. So it should work at this point, but now you cannot actually run the JS tests with the distro itself. Marking this fixed, since the issue is not there anymore. We can possibly open yet another issue to track adding back testswarm in a way that it works :)
Comment #4
liza commentedjust confirming i had the same error happen just now on a localhost installation on WAMP
Comment #5
gábor hojtsy@liza: did you experience that with the Drupal 8 version?
Comment #6
liza commentedoops! now that i notice, no. it happened with Spark 7, alpha-7.
btw: i had to do exactly the same --go back in the browser and reload-- in order for the DB to completely install and the process to go forward to the configuration page. looks like everything is there. will try it out with S8 and report back.
Comment #7
gábor hojtsy@liza: I'm not sure you could have ever reproduced the errors mentioned above, eg. filemtime(): stat failed for profiles/spark/modules/contrib/testswarm/testswarm.info in _system_rebuild_module_data() (line 2868 of core/modules/system/system.module, given the Drupal 7 version of spark definitely does not have testswarm.
Comment #8
liza commentedcorrect. but just to clarify: i had the AJAX error happen in both 7.1 and 8. only 8 gave me that filemtime warning.
Comment #9
gábor hojtsy@liza: ok, did the Drupal 7 error say "Fatal error: Call to undefined function node_type_set_defaults() ..." inside the AJAX error? (That you got an AJAX error is a bit too broad).
Comment #10
liza commentedhere's the error message i got for 8. let me fish now for the s7 error :D
and
Comment #11
liza commentedi did a fresh install of s7 just for so that i could get that error :)
hope this helps.
Comment #12
gábor hojtsyOk, reopening.
Comment #13
wim leersThat looks like a CKEditor module bug.
In fact, Drupal Commons seems to have had the exact same problem and they solved it back in January: #1901992-1: PHP message: PHP Fatal error: Call to undefined function _ckeditor_requirements_isinstalled().
Comment #14
saltednutThe Commons fix was to apply the patch from #1898294: Fatal error if Libraries module is enabled after CKEditor which appears to have been committed to CKEditor.
Comment #15
wim leersD'oh, you're right!
But… D7 Spark is using the Wed, 23 Jan 2013 09:32:00 +0000 (10:32 +0100) version of ckeditor.module, whereas the fix was committed on Feb 2. Seems like it's an easy solution: just update it to point to a newer CKEditor module version.
So I did precisely that, please test again with Spark 7.x-1.x-dev: http://drupalcode.org/project/spark.git/commit/a158836