|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #66933 Can not open/save dictionary using stream wrappers
Submitted: 2014-03-19 11:41 UTC Modified: 2020-03-10 10:14 UTC
Avg. Score:3.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:0 (0.0%)
From: anptr at inbox dot lv Assigned:
Status: Verified Package: Pspell related
PHP Version: 5.5.10 OS: Debian
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
Solve the problem:
28 + 31 = ?
Subscribe to this entry?

 [2014-03-19 11:41 UTC] anptr at inbox dot lv
From manual page:

Test script:
$config = pspell_config_create('lv', '', '', 'utf-8');
pspell_config_personal($config, 'file:///data/lv.txt');
$pspell_link = pspell_new_config($config);

// word exists in dictionary, but result is false
pspell_check($this->_pspell_link, 'something') 

pspell_add_to_personal($this->_pspell_link, 'SIA');

Expected result:
Given word should be added to dictionary file. File is writable.
Without stream wrapper (eg '/data/lv.txt') everything works as it should.

Actual result:
Gives error 'The file "/var/www/file:///data/lv.txt" can not be opened for writing'


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2020-03-10 10:14 UTC]
-Status: Open +Status: Verified -Type: Bug +Type: Documentation Problem
 [2020-03-10 10:14 UTC]
pspell_config_personal() supports only proper filenames, which is
expected, but not documented.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 02:01:29 2024 UTC