#1 2007-10-08 14:50:15

danilm
Member
2007-10-08
15

[mysql error 1048] Column 'nb_images' cannot be null

when synchronizing for the first tiem, i get the following error:

  UPDATE phpwebgallery_categories
    SET date_last = NULL,
      nb_images = NULL
    WHERE id = '1'
  ;
[mysql error 1048] Column 'nb_images' cannot be null

But it exists

Last edited by danilm (2007-10-08 14:53:00)

Offline

 

#2 2008-01-04 06:56:18

VDigital
Former Piwigo Team
Paris (FR)
2005-05-04
17680

Re: [mysql error 1048] Column 'nb_images' cannot be null

php version?


Piwigo.com: Start and run your own photo gallery. Signup and get 30 days to try for free, no commitment.
8-)

Offline

 

#3 2008-01-04 08:39:41

danilm
Member
2007-10-08
15

Re: [mysql error 1048] Column 'nb_images' cannot be null

PHP Version 5.2.5
thanks

Last edited by danilm (2008-01-04 08:39:53)

Offline

 

#4 2008-01-04 10:22:03

VDigital
Former Piwigo Team
Paris (FR)
2005-05-04
17680

Re: [mysql error 1048] Column 'nb_images' cannot be null

admin/include/functions.php at line: 600


if (isset($data[$key]) and $data[$key] != '')

if (isset($data[$key]) and $data[$key] !== '')


and tell us!
8-)


Piwigo.com: Start and run your own photo gallery. Signup and get 30 days to try for free, no commitment.
8-)

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact