So the title about says it all but basically when a user is saving a crop they get this error. Seems like it has to do with numeric limits on the database as been discussed in #1003692: PDOException: SQLSTATE[22003] after entering large value in integer and decimal field. Any way to prevent this from happening?

Comments

nils.destoop’s picture

Version: 7.x-1.0-rc3 » 7.x-1.x-dev
Status: Active » Fixed

I committed an update to dev. If you run the new update hook, all imagecrop fields will be changed to BIGINT. Higher numeric values are then allowed.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

bailey86’s picture

This looks like it could be related to a bug in the Debian package libapache2-mod-php5filter. I've reported it here:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=709023

My fix was to install the package libapache2-mod-php5 which then replaced libapache2-mod-php5filter.

In fact the package libapache2-mod-php5 should be used in preference to libapache2-mod-php5filter as on the package page for libapache2-mod-php5filter it even says 'Unless you specifically need filter-module support, you most likely should instead install libapache2-mod-php5.'

This has also been reported as a bug - http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=709027

It could also be related to https://bugs.php.net/bug.php?id=62507