php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #47462 [chm] bug on function.pspell-check.html
Submitted: 2009-02-20 11:12 UTC Modified: 2009-02-28 01:00 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:1 (100.0%)
From: esigners_daily at yahoo dot com Assigned:
Status: No Feedback Package: *General Issues
PHP Version: 5.3.0beta1 OS: windows
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: esigners_daily at yahoo dot com
New email:
PHP Version: OS:

 

 [2009-02-20 11:12 UTC] esigners_daily at yahoo dot com
Description:
------------
<?php
ob_start();
set_time_limit(30);


?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>

<body>
<?php
$pspell_link = pspell_new("en");

if (pspell_check($pspell_link, "testt")) {
   echo "This is a valid spelling";
} else {
   echo "Sorry, wrong spelling";
}
?>

<a href="#">click</a>
</body>
</html>
<?php
ob_end_flush();
?>





Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-02-20 11:15 UTC] derick@php.net
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PHP.

 [2009-02-28 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 [2009-03-31 20:23 UTC] todd at magnifisites dot com
This bug is set to a "No Feedback" status right now which doesn't seem to mean it is not open ... a pre-cursor to my comments :)

I am quite certain it the issue here is the aspell binary running on the Windows platform.  The latest version of the bundled aspell dll in the PHP Windows distribution fails with the following Application error code when executing a script via the Apache http server:

Faulting application httpd.exe, version 2.2.8.0, faulting module aspell-15.dll, version 0.0.0.0, fault address 0x0008cef6.

I tested this on Apache 2.2.10.0 and PHP 5.2.8 for Windows with the same results.

Running a script from the command line:
        php -f pspell.php
returns a similar error:

Faulting application php.exe, version 5.2.9.9, faulting module aspell-15.dll, version 0.0.0.0, fault address 0x0008cef2.

Here we attempted to use the latest Windows 5.2.9.9 download unsuccessfully.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Dec 06 04:01:28 2024 UTC