I get this error message using wysiwyg_spellcheck with tinymce.

The sites/all/libraries/tinymce/jscripts/tiny_mce/plugins/spellchecker path exists but it appears that the directory structure underneath is incorrect. Please check that sites/all/libraries/tinymce/jscripts/tiny_mce/plugins/spellchecker/editor_plugin.js and sites/all/libraries/tinymce/jscripts/tiny_mce/plugins/spellchecker/config.php exist.

The file editor_plugin.js exist in spellchecker folder
The file config.php doesn't exist. Where can I get it? And is it really necessary (version 6 didn't had such a spellchecker/config.php)?

Comments

Keiichi’s picture

Status: Needs review » Fixed

Using the same config.php file that I had with Drupal 6 seemed to satisfy this. Try placing this into a config.php file and uploading it into the requested directory.

<?php
/**
 * config.php
 *
 * @package MCManager.includes
 */
	// General settings
	$config['general.engine'] = 'GoogleSpell';
	//$config['general.engine'] = 'PSpell';
	//$config['general.engine'] = 'PSpellShell';
	//$config['general.remote_rpc_url'] = 'http://some.other.site/some/url/rpc.php';

	// PSpell settings
	$config['PSpell.mode'] = PSPELL_FAST;
	$config['PSpell.spelling'] = "";
	$config['PSpell.jargon'] = "";
	$config['PSpell.encoding'] = "";

	// PSpellShell settings
	$config['PSpellShell.mode'] = PSPELL_FAST;
	$config['PSpellShell.aspell'] = '/usr/bin/aspell';
	$config['PSpellShell.tmp'] = '/tmp';

	// Windows PSpellShell settings
	//$config['PSpellShell.aspell'] = '"c:\Program Files\Aspell\bin\aspell.exe"';
	//$config['PSpellShell.tmp'] = 'c:/temp';
?>

Status: Fixed » Closed (fixed)

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

pitbull mix’s picture

Adding the config.php file worked for me. At least the error message went away.

dpearcefl’s picture

Assigned: choy » Unassigned
Issue summary: View changes
Status: Closed (fixed) » Active

Hand creating the file in the correct location is not really a proper solution. If the file is required by the module and is not supplied by the plugin download, something should create it.

I just checked the latest dev version and this is not resolved by the regular install.

iva2k’s picture

Category: Bug report » Support request
Status: Active » Fixed

This config.php file confusion stems from TinyMCE supplying a dummy plugin.

You HAVE TO download spellchecker plugin from TinyMCE separately and place it in the folder (replace dummy plugin files).

This issue is not Drupal Wysiwyg SpellCheck module's problem, but TinyMCE installation issue.

Status: Fixed » Closed (fixed)

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