1

I'm building an LXC based on an existing and working well website. I've checked that all settings where the same. However, when I want to save a content after having uploaded an image on my LXC, I get the following error:

PDOException: SQLSTATE[HY000]: General error: 1366 Incorrect integer value.

I have thoroughly searched the web all the day to read every close topic but none gave me a suitable answer.

The fact is when the Field SQL Storage module try to get the properties of my image; it is unable to find its parameters, so the width and height properties are empty and the SQL query is crashing.

Why Drupal can't read my image properties and store them in database?

1 Answer 1

0

I finally found the answer. There was missing packages in my server configuration...I needed to install those :

aptitude install php-apc php-pear php5-curl php5-gd php5-mcrypt

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.