Error opening ../../data/default_pref
Default preference file not found or not readable!
SquirrelMail detects squirrelspell as it adds the button to do the spell checking and adds an entry in under OPTIONS.... But upon spell checking or trying to access Spelling Options, I get that error. Hosted on OLM with Ensim Pro 4.0.2-7
My sqspell_config
<?php
/**
* sqspell_config.php -- SquirrelSpell Configuration file.
*
* Copyright (c) 1999-2004 The SquirrelMail Project Team
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
*
*
* $Id: sqspell_config.php,v 1.14.2.1 2004/02/24 15:57:34 kink Exp $
*/
require_once(SM_PATH . 'functions/prefs.php');
/* Just for poor wretched souls with E_ALL.
*/
global $data_dir;
sqgetGlobalVar('username', $username, SQ_SESSION);
/**
* Example:
*
* $SQSPELL_APP = array( 'English' => 'ispell -a',
* 'Spanish' => 'ispell -d spanish -a' );
*/
$SQSPELL_APP = array('English' => '/usr/local/bin/aspell -a');
$SQSPELL_APP_DEFAULT = 'English';
/*
* this line was originally here
* $SQSPELL_WORDS_FILE =
* getHashedFile($username, $data_dir, "$username.words");
*/
/*
* I added this one based off a form I read on web
* $SQSPELL_WORDS_FILE = "$data_dir/$username.words";
*/
$SQSPELL_WORDS_FILE = "$data_dir/$username.words";
$SQSPELL_EREG = 'ereg';
?>
----------------------------------------------
Neither one of the "$SQSPELL_WORDS_FILE" entries seem to do it....
These are the files in the aspell directory
usr/local/lib/aspell/american-w-accents.alias
/usr/local/lib/aspell/american.alias
/usr/local/lib/aspell/british-w-accents.alias
/usr/local/lib/aspell/british.alias
/usr/local/lib/aspell/canadian-w-accents.alias
/usr/local/lib/aspell/canadian.alias
/usr/local/lib/aspell/en-only.rws
/usr/local/lib/aspell/en.multi
/usr/local/lib/aspell/en_CA-only.rws
/usr/local/lib/aspell/en_CA-w-accents.multi
/usr/local/lib/aspell/en_CA.multi
/usr/local/lib/aspell/en_GB-only.rws
/usr/local/lib/aspell/en_GB-w-accents.multi
/usr/local/lib/aspell/en_GB.multi
/usr/local/lib/aspell/en_US-only.rws
/usr/local/lib/aspell/en_US-w-accents.multi
/usr/local/lib/aspell/en_US.multi
/usr/local/lib/aspell/english.alias
Yes I am a php noob. Yes I need you help.
Any tips are appreciated
Default preference file not found or not readable!
SquirrelMail detects squirrelspell as it adds the button to do the spell checking and adds an entry in under OPTIONS.... But upon spell checking or trying to access Spelling Options, I get that error. Hosted on OLM with Ensim Pro 4.0.2-7
My sqspell_config
<?php
/**
* sqspell_config.php -- SquirrelSpell Configuration file.
*
* Copyright (c) 1999-2004 The SquirrelMail Project Team
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
*
*
* $Id: sqspell_config.php,v 1.14.2.1 2004/02/24 15:57:34 kink Exp $
*/
require_once(SM_PATH . 'functions/prefs.php');
/* Just for poor wretched souls with E_ALL.
global $data_dir;
sqgetGlobalVar('username', $username, SQ_SESSION);
/**
* Example:
*
* $SQSPELL_APP = array( 'English' => 'ispell -a',
* 'Spanish' => 'ispell -d spanish -a' );
*/
$SQSPELL_APP = array('English' => '/usr/local/bin/aspell -a');
$SQSPELL_APP_DEFAULT = 'English';
/*
* this line was originally here
* $SQSPELL_WORDS_FILE =
* getHashedFile($username, $data_dir, "$username.words");
*/
/*
* I added this one based off a form I read on web
* $SQSPELL_WORDS_FILE = "$data_dir/$username.words";
*/
$SQSPELL_WORDS_FILE = "$data_dir/$username.words";
$SQSPELL_EREG = 'ereg';
?>
----------------------------------------------
Neither one of the "$SQSPELL_WORDS_FILE" entries seem to do it....
These are the files in the aspell directory
usr/local/lib/aspell/american-w-accents.alias
/usr/local/lib/aspell/american.alias
/usr/local/lib/aspell/british-w-accents.alias
/usr/local/lib/aspell/british.alias
/usr/local/lib/aspell/canadian-w-accents.alias
/usr/local/lib/aspell/canadian.alias
/usr/local/lib/aspell/en-only.rws
/usr/local/lib/aspell/en.multi
/usr/local/lib/aspell/en_CA-only.rws
/usr/local/lib/aspell/en_CA-w-accents.multi
/usr/local/lib/aspell/en_CA.multi
/usr/local/lib/aspell/en_GB-only.rws
/usr/local/lib/aspell/en_GB-w-accents.multi
/usr/local/lib/aspell/en_GB.multi
/usr/local/lib/aspell/en_US-only.rws
/usr/local/lib/aspell/en_US-w-accents.multi
/usr/local/lib/aspell/en_US.multi
/usr/local/lib/aspell/english.alias
Yes I am a php noob. Yes I need you help.
Any tips are appreciated