phocagallery id is null

Phoca Gallery - image gallery extension
thierry_24h
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 04 Jan 2016, 22:49

phocagallery id is null

Post by thierry_24h »

Hi,

Joomla - 3.4.8
Phoca Gallery- 4.2.1 (More than 14.000 photo)
Website http://www.les24heures.fr

I have migrate-from-joomla-2-5-to-joomla-3.x and now I have a problem with ‘multiple add’.
When I click on close, there is no thumbnail.
I have to go in phpmyadmin and manually change the phocagallery.id (who is null)
After this, thumbnail are generate and all is ok
What is my problem ?

Thanks
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: phocagallery id is null

Post by Jan »

Hi, first try to update to latest version (I think this has nothing to do with the problem, but you should upgrade to 4.2.2)

Do you get any error there, some error message in the system, some javascript error?

Jan
If you find Phoca extensions useful, please support the project
thierry_24h
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 04 Jan 2016, 22:49

Re: phocagallery id is null

Post by thierry_24h »

Hi, I upgrade. There is always the problem.
There is no error on the screen, no error in my log
which sets the no id? automatique id ? a variable in another table ?
A problem with mysql ?

Thank you

Thierry
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: phocagallery id is null

Post by Jan »

Hi, which table and which column you are chaning?

There is standard autoincrement column ID, which means PHP does not set the ID as it does not know it, but MySQL detect the last ID and do a new ID + 1

What is the last ID you have (I think, it is not the case, that the integer is not enough for the count of IDs - as your count in this case will be larger than: 2.147.483.647, which I don't expect, it is) :idea:

Jan

Jan
If you find Phoca extensions useful, please support the project
thierry_24h
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 04 Jan 2016, 22:49

Re: phocagallery id is null

Post by thierry_24h »

hi,
Table name is phocagallery - Column name is ID
Last ID is 13928

I change ID from 0 to the last value+1 for all news photos and after, i go in joomla admin, photo, select the categorie and it generate correctly

Thanks Jan for your help
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: phocagallery id is null

Post by Jan »

Ok
If you find Phoca extensions useful, please support the project
Post Reply