Михаил Красильников
Михаил Красильников
It seems that problem still not fixed. Now downloadsSize is always equal to zero if curl_getinfo returns -1. So nothing will be downloaded at all.
``` mekras@mekras: curl -I http://download.geonames.org/export/dump/allCountries.zip HTTP/1.1 200 OK Date: Fri, 07 Feb 2014 11:57:13 GMT Server: Apache/2.2.17 (Linux/SUSE) Last-Modified: Fri, 07 Feb 2014 05:12:18 GMT ETag: "33c18b2-ebb7b82-4f1ca08abb080" Accept-Ranges: bytes Content-Length:...
The same problem on FreeBSD with PHP 5.3.28 and cURL 7.35.0 Configuration is OK.
> 1) Have you tried the return 1 trick from the function requestContentLength? Not yet. I'm trying to determine the cause of the error. > 2) The UnitTests of CurlDownload...
Download tests failed: ``` There were 2 failures: 1) Giosh94mhz\GeonamesBundle\Tests\Utils\CurlDownloadTest::testDownload Failed asserting that 0 is greater than 0. GeonamesBundle/Tests/Utils/CurlDownloadTest.php:77 2) Giosh94mhz\GeonamesBundle\Tests\Utils\CurlDownloadTest::testMultiDownload Failed asserting that 0 is greater than 0. GeonamesBundle/Tests/Utils/CurlDownloadTest.php:145...
Using Guzzle solves the problem. But it requires to set memory_limit at least 1G.
Hunspell can't find some dictionary files: Can't open affix or dictionary files for dictionary named "default" Do you use custom dictionaries? Can you show your code?
Can you show just a part of code where you creating and configuring Hunspell instance?
Hmm… Still can't reproduce. I've installed Hunspell 1.3.3: mekras@mekras ~/t/h/usr> env LD_LIBRARY_PATH=lib64 bin/hunspell -v @(#) International Ispell Version 3.2.06 (but really Hunspell 1.3.3) And use this test code: ```php
For a test I implemented Selenium WebDriver "acceptAlert" method support here: ef339382e41053d64660c1422b0afd7260bd542e. But I'm not sure that WebDriver-like interface will fit other drivers. With some help from Mink developers in...