During the step 'installation profile' of the installation of 'Spark 8.x-1.x-dev (2013-Mar-09)' I get the following error messages:

  • Warning: filemtime(): stat failed for profiles/spark/modules/contrib/testswarm/testswarm.info in _system_rebuild_module_data() (line 2868 of core/modules/system/system.module).
  • Warning: filemtime(): stat failed for profiles/spark/spark.info in _system_rebuild_module_data() (line 2868 of core/modules/system/system.module).
  • Notice: Undefined index: name in install_profile_modules() (line 1670 of core/includes/install.core.inc).
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

Blooniverse’s picture

... 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.

jessebeach’s picture

Status: Active » Needs work

This should be monkey-patched in the 8.x-1.x branch. The error is a core issue that still needs some work.

gábor hojtsy’s picture

Status: Needs work » Fixed

I 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 :)

liza’s picture

just confirming i had the same error happen just now on a localhost installation on WAMP

gábor hojtsy’s picture

@liza: did you experience that with the Drupal 8 version?

liza’s picture

Version: 8.x-1.x-dev » 7.x-1.0-alpha7

oops! 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.

gábor hojtsy’s picture

@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.

liza’s picture

correct. but just to clarify: i had the AJAX error happen in both 7.1 and 8. only 8 gave me that filemtime warning.

gábor hojtsy’s picture

@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).

liza’s picture

here's the error message i got for 8. let me fish now for the s7 error :D

An AJAX HTTP error occurred. HTTP Result Code: 200 Debugging information follows. Path: http://localhost/spark8/core/install.php?langcode=en&profile=spark&id=1&... StatusText: OK ResponseText: ( ! ) Fatal error: Call to undefined function node_type_set_defaults() in C:\wamp\www\spark8\core\profiles\standard\standard.install on line 50 Call Stack #TimeMemoryFunctionLocation 10.0011376752{main}( )..\install.php:0 20.0070959400install_drupal( )..\install.php:36 31.030011847448install_run_tasks( )..\install.core.inc:87 41.998917495360install_run_task( )..\install.core.inc:449 52.000517606168_batch_page( )..\install.core.inc:559 62.001317611624_batch_do( )..\batch.inc:84 72.001317611624_batch_process( )..\batch.inc:108 82.022817829736call_user_func_array ( )..\batch.inc:245 92.022817829760_install_module_batch( )..\batch.inc:245 102.022817829960module_enable( )..\install.core.inc:1874 112.839921560256module_invoke( )..\module.inc:393 122.839921560376Drupal\Core\Extension\ModuleHandler->invoke( )..\bootstrap.inc:2485 132.839921560464call_user_func_array ( )..\ModuleHandler.php:269 142.839921560600spark_install( )..\ModuleHandler.php:269 152.868721626448standard_install( )..\spark.install:19

and

Warning: filemtime() [function.filemtime]: stat failed for profiles/spark/modules/contrib/testswarm/testswarm.info in _system_rebuild_module_data() (line 2868 of core\modules\system\system.module).

liza’s picture

i did a fresh install of s7 just for so that i could get that error :)

An AJAX HTTP error occurred. HTTP Result Code: 200 Debugging information follows. Path: http://localhost/spark7a/install.php?profile=spark&locale=en&id=1&op=do StatusText: OK ResponseText: ( ! ) Fatal error: Call to undefined function _ckeditor_requirements_isinstalled() in C:\wamp\www\spark7a\profiles\spark\modules\contrib\ckeditor\ckeditor.module on line 615 Call Stack #TimeMemoryFunctionLocation 10.0006372576{main}( )..\install.php:0 20.0045840568install_drupal( )..\install.php:26 30.24169135368install_run_tasks( )..\install.core.inc:77 43.718821534808install_run_task( )..\install.core.inc:339 53.720521655232_batch_page( )..\install.core.inc:449 63.721621662672_batch_do( )..\batch.inc:80 73.721621662672_batch_process( )..\batch.inc:161 83.724121753544call_user_func_array ( )..\batch.inc:284 93.724121753568_install_module_batch( )..\batch.inc:284 103.724121753768module_enable( )..\install.core.inc:1571 114.162325219744module_invoke_all( )..\module.inc:499 124.162525221896call_user_func_array ( )..\module.inc:857 134.162525222080ckeditor_modules_enabled( )..\module.inc:857

hope this helps.

gábor hojtsy’s picture

Status: Fixed » Active

Ok, reopening.

wim leers’s picture

That 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().

saltednut’s picture

The 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.

wim leers’s picture

Assigned: Unassigned » wim leers
Status: Active » Fixed
Issue tags: +Spark

D'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

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