[SOLVED] DB-index issues with upgrade from J2.5 / FC 2.x to J3.6 / FC3.1.0RC2

More
7 years 7 months ago - 7 years 7 months ago #64139 by iamrobert
Hi,

My clients decided to jump Joomla! versions without consulting with us, and I am also suffering from this:

Multiple primary key defined SQL=ALTER TABLE `#__flexicontent_fields_item_relations` ADD INDEX value_integer(`value_integer`), ADD INDEX value_decimal(`value_decimal`), ADD INDEX value_datetime(`value_datetime`), ADD PRIMARY KEY(`field_id`, `item_id`, `valueorder`, `suborder`)

Here is the table:



I have tried deleting primary keys or just one - but that just kills the content.

If I click on an item - I get the following:
Code:
DateTime::__construct(): Failed to parse time string (Never) at position 0 (N): The timezone could not be found in the database
Attachments:
Last edit: 7 years 7 months ago by iamrobert.

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

More
7 years 7 months ago #64140 by ggppdk
Hello

that is not 3.1.0-rc2 , it is the new FLEXIcontent version

Still this should not be happening

Please send Joomla super-admin access
and phpmyadmin access


-- 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...

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

More
7 years 7 months ago #64142 by iamrobert
Sorry - I misread your instructions.

I needed to do this:
Attachments:

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

More
7 years 7 months ago #64143 by ggppdk
Hello

yes , do what you show in the picture, delete the PRIMARY KEY INDEX of the table

but also delete INDEXES:
- value_integer
- value_decimal
- value_datetime
- value_integer_2

and then relogin to backend and visit FLEXIcontent dashboard


-- 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...

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

More
7 years 5 months ago - 7 years 5 months ago #64838 by clutchmarketing
I am also have DB issues after I upgraded: I first get this:


After I update, I get this
Attachments:
Last edit: 7 years 5 months ago by clutchmarketing.

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

More
7 years 5 months ago #64839 by ggppdk
Hello

The task has code to DROP the old PRIMARY key !

this is not happening for some reason,
would like to see why,

you may send a PM with super admin access to the website


-- 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...

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

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.309 seconds
Save
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