[SOLVED] ERROR 1062, duplicate DB row in flexicontent_templates DB table

More
11 years 8 months ago - 10 years 11 months ago #48819 by ROZZA
Hello,
today a strange error is appeared suddenly: error 1062.

"1062 Duplicate entry 'blog-category-above-description-line1-nolabel' for key 'PRIMARY' SQL=INSERT INTO xxx_flexicontent_templates (`template`, `layout`, `position`, `fields`) VALUES('blog','category','above-description-line1-nolabel','created,created_by') "

Is there anybody could help me in order to fix it?
Now i cannot use anymore Flexicontent, it's completely blocked.
Thank you in advance for your support.

Salvatore
www.sharinglook.com
Last edit: 10 years 11 months ago by ggppdk.

Please Log in or Create an account to join the conversation.

More
11 years 8 months ago - 10 years 11 months ago #48820 by ggppdk
Hello

try this:
go to phpmyadmin and check and repair the DB table


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star review. Thanks!
Last edit: 10 years 11 months ago by ggppdk.

Please Log in or Create an account to join the conversation.

More
11 years 8 months ago - 10 years 11 months ago #48824 by ROZZA
Hello,
i tried but without success, see enclosed screen shot.
Any other suggestions?
Can i provide you admin access?
Thank you
Salvatore
Last edit: 10 years 11 months ago by ggppdk.

Please Log in or Create an account to join the conversation.

More
11 years 8 months ago - 10 years 11 months ago #48828 by ggppdk
Hello


you posted a picture of table listing ?


you need to
1. go to the db table listing (click on db name)
2. select tables and click repair
See instructions here:
www.siteground.com/tutorials/php ... tabase.htm


-- if the above does not work
then you will need to empty the table (empty, not delete it)
www.siteground.com/tutorials/php ... gement.htm

and then READD all fields to template positions again

(you may want to back the table first)


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star review. Thanks!
Last edit: 10 years 11 months ago by ggppdk.

Please Log in or Create an account to join the conversation.

More
11 years 8 months ago - 10 years 11 months ago #48830 by ROZZA
Hello emptying the table all works fine!
Thank you for your usual courtesy.
Regards
Salvatore
Last edit: 10 years 11 months ago by ggppdk.

Please Log in or Create an account to join the conversation.

More
11 years 5 months ago - 10 years 11 months ago #50849 by Chabi01
Hi,
Just for the record, i have the same error after changing the domain name.
I tried to repair without success. I'm going to erase the data in the table and recreate it.
Anyway, i saw change in the blog page : all the template made by myself are unchanged.

Have a nice day,
Last edit: 10 years 11 months ago by ggppdk.

Please Log in or Create an account to join the conversation.

More
11 years 5 months ago - 10 years 11 months ago #50850 by ggppdk
Hello

this is rare case, but it is fixed in v2.2.1 RC2 (which is not yet released, (it is v2.2.x_stable branch on GitHub))


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star review. Thanks!
Last edit: 10 years 11 months ago by ggppdk.

Please Log in or Create an account to join the conversation.

More
11 years 5 months ago - 10 years 11 months ago #50852 by Chabi01
To complete :
This issue loose the parameters done in categories too : i have to set up again the views of items (as the square area on the top appears again despite i hide it).

Have a good day Georges.
Last edit: 10 years 11 months ago by ggppdk.

Please Log in or Create an account to join the conversation.

More
11 years 5 months ago - 10 years 11 months ago #50854 by Chabi01
In fact, the template parameters are not lost, i'm wrong here.
After erasing data in the table, FC seems to put the default initial settings for the "default" template.

All is right now on my side.
Last edit: 10 years 11 months ago by ggppdk.

Please Log in or Create an account to join the conversation.

More
11 years 5 months ago - 10 years 11 months ago #50868 by ggppdk
Hello

yes the template parameters are not lost, template parameters are store in categories and in content types and items

and as said above this rare issue, is fixed in upcoming v2.2.1 rc2 +


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star review. Thanks!
Last edit: 10 years 11 months ago by ggppdk.

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline
Save