Solved ID=0 after each new entry

Phoca Guestbook - creating guestbooks in Joomla! CMS
freesmurf
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 24 May 2011, 13:41

Solved ID=0 after each new entry

Post by freesmurf »

Hi all

I'm using Version 1.4.4 with Joomla 1.5.23. I have the problem, that every new entry has as ID the number 0. I have no clue why this happens. Any ideas?

thx

Hans
Last edited by freesmurf on 01 Jun 2011, 12:30, edited 1 time in total.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48739
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: ID=0 after each new entry

Post by Jan »

Hi, where do you have ID=0? In database?
If you find Phoca extensions useful, please support the project
freesmurf
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 24 May 2011, 13:41

Re: ID=0 after each new entry

Post by freesmurf »

yepp, in the database... Wanna see a printscreen?

Thx

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

Re: ID=0 after each new entry

Post by Jan »

Hmmm, really no idea, the ids are added by the database itself so it should not be possible to get id=0 for auto increment column? :( :idea:
If you find Phoca extensions useful, please support the project
freesmurf
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 24 May 2011, 13:41

SOLVED Re: ID=0 after each new entry

Post by freesmurf »

Well, thanks, that one helped. Strange enouhg, the ID field was not autoincrement in the database. I think thas is because I migratet the guestbook from easybook once, maybe something happened there during the migration process. I changed it in the database, now it works fine.

Thanks!

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

Re: Solved ID=0 after each new entry

Post by Jan »

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