Menu

#80 SQLite: SQLSTATE[HY000]: General error: 17 database schema has changed

open
nobody
None
5
2025-06-30
2014-12-04
Anonymous
No

Hi,

I've a very strange bug with SQLite. When I start my crawler in multi-process mode, there is a regular warning: Warning: PDOStatement::execute(): SQLSTATE[HY000]: General error: 17 database schema has changed in /Users/remimichel/PhpstormProjects/crawler_torrent_websites/libs/php-crawl/UrlCache/PHPCrawlerSQLiteURLCache.class.php on line 128

This warning is triggered when I start the crawler from my Mac (Yosemite) and from Ubuntu 14.04 (with PHP 5.3 and 5.5). The strange thing is that it works pretty well when I start it from Ubuntu 12.04 (PHP 5.3.10)

The bad news is that the crawler stops within 1 or 2 minutes (when too many warnings are triggered I guess!! :) )

Do you have any idea? Is it related to my version of PHP?

THanks!

Discussion

<< < 1 2 (Page 2 of 2)
  • Anonymous

    Anonymous - 2015-05-13

    It works for me also!

     
  • Anonymous

    Anonymous - 2015-08-25

    it worked when setFollowMode(2) but if you change it to setFollowMode(3) your fix throws the error 17 message.

     
  • Anonymous

    Anonymous - 2015-11-13

    I had the same error. I tried the new PHPCrawlerSQLiteURLCache.class.php. This fixed the problem for me.

     
  • Anonymous

    Anonymous - 2015-11-24

    Is there going to be a new release including the fix?

     
  • MadEgg

    MadEgg - 2016-02-08

    I had the same issue, and the attached PHPCrawlerSQLiteURLCache.class.php fixes the problem for me, too.

     
  • Anonymous

    Anonymous - 2016-03-20

    thanks so much!I had the same issue too, and the attached PHPCrawlerSQLiteURLCache.class.php fixes the problem for me, too.

     
  • Anonymous

    Anonymous - 2016-04-06

    Had the same Problem with a Mac 10.10, php 7.0. Your fix did work - thank you!

     
  • Anonymous

    Anonymous - 2016-05-12

    Yes it solves the problem

     
  • Anonymous

    Anonymous - 2016-05-13

    It works for me to, on Uberspace

     
  • Anonymous

    Anonymous - 2018-01-10

    couple of years later but it works for me too. :-)

     
  • Anonymous

    Anonymous - 2025-06-02
    Post awaiting moderation.
  • Anonymous

    Anonymous - 2025-06-03
    Post awaiting moderation.
  • Anonymous

    Anonymous - 2025-06-07
    Post awaiting moderation.
  • Anonymous

    Anonymous - 2025-06-10
    Post awaiting moderation.
  • Anonymous

    Anonymous - 2025-06-18
    Post awaiting moderation.
  • Anonymous

    Anonymous - 2025-06-21
    Post awaiting moderation.
  • Anonymous

    Anonymous - 2025-06-30
    Post awaiting moderation.
<< < 1 2 (Page 2 of 2)

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.