.
This SQL code will set ALL Joomla articles to Published.
Code:
UPDATE jos_content SET state = 1;
That means
ALL articles/items.
Including archived, un-published, or other states.
You can also limit the SQL to processing only particular "states."
The Joomla core states (that I have found) are:
1 = published
0 = un-published
-1 = archived
-2 = delete/trashed
I have not found specific documentation so this list may or may not be correct or complete.
Since FLEXIcontent has more/different item states there are other numbers/settings which may be found in that field.
I found these FLEXIcontent states in items.php (around line 329-346):
joomla_root\administrator\components\com_flexicontent\controllers\items.php
1 = published
0 = un-published
-1 = archived
-3 = pending
-4 = draft
-5 = in progress
I do not know what default
state setting is on your imported items.
The FLEXIcontent default state is Draft (state = -4).
What is the state on your imported articles/items?
To limit the SQL to process only un-published items (state=0):
Code:
UPDATE jos_content SET state = 1 WHERE state = 0;
I tested this SQL to publish just draft items (state = -4):
Code:
UPDATE jos_content SET state = 1 WHERE state = -4;
This published the one item I had in Draft state in that database.
HAVE CURRENT BACK-UPS BEFORE YOU TRY ANYTHING!
You may expect laughing and pointing if you do not heed this advice.
.