Initial permission error

More
13 years 2 months ago #30852 by pabro
Replied by pabro on topic Initial permission error
With Fleximigrate from NetAssoPro i have exported content of joomla 1.5, flexicontent 1.5.6 and imported to joomla 2.5.7, flexicontent 2.0.0 RC9. In component Flexicontent in tab "Post installation" i have to update "Initial permission" (and some other plugins, but these are updated successfully), but the update dont have effect and show message "Invalid parent ID". Its the same like on screenshot from fabian. i have disabled flexicontent system plugin and rebuild categories and menu items, but no effect.

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

More
13 years 2 months ago #30853 by ggppdk
Replied by ggppdk on topic Initial permission error
So you tried this:

www.wincert.net/tips/joomla/2599 ... -parent-id


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

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

More
13 years 2 weeks ago #32819 by WarnerP
Replied by WarnerP on topic Initial permission error
Similar issue during migration from 1.5.26 to 2.5.6. FLEXIcontent version 2.0.0 RC9b (r1601).
Tried rebuilding the menus as suggested but the article manager and category manager just take me to the flexicontent initialization screen asking me to update the "intial permission"
clicking on it returns
Initial permission JTableAsset: :move Failed - Cannot move the node to be a child of itself

I tried disabling the system flexicontent plugin and was then able to see my articles and rebuild the categories but flexicontent still keeps returning that error.

I'm upgrading from 1.5 to 2.5 using fleximigrate. Fleximigrate script tells me I have one bad category and it fails on the "Initialize Rights" step.

I'm wondering if they are related. Is this step something I can manually fix in the database and is there a way to determine what category failed to migrate?

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

More
13 years 2 weeks ago #32830 by ggppdk
Replied by ggppdk on topic Initial permission error
You have a loop in your asset tree or in category tree, maybe the following will help to find the loop:

1. Edit file:
administrator/components/com_flexicontent/models/flexicontent.php

2. Find code (at about line 1503)
Code:
// Save the category asset (create or update it) if (!$asset->check() || !$asset->store(false)) { echo $asset->getError(); $this->setError($asset->getError()); return false; }
with
Code:
if (!$asset->check() || !$asset->store(false)) { echo $asset->getError(); echo " Problem for asset with id: ".$asset ->id; echo " Problem for category with id: ".$category->id. "(".$category->title.")"; $this->setError($asset->getError()); return false; }


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

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

More
13 years 2 weeks ago #32868 by WarnerP
Replied by WarnerP on topic Initial permission error
Thanks. I tracked it down to a set of items with a similar parent_id; which I assumed is that category that isn't migrating, but turns out there are at least 5 categories with content that is being "orphaned".
BTW, I used this to track down the content. It was a bit easier to help locate the items.
echo " Problem saving asset with id: ".$asset ->id." and title ".$asset->title;

Two more thing. I've been deleting these items from the database to progress. I'd prefer not to have to do that when I migrate the production site. What should I do on the original site to ensure that these pieces of content migrate successfully?
And, is there a way to "safely" bulk delete previous version of content?

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

More
13 years 2 weeks ago #32870 by ggppdk
Replied by ggppdk on topic Initial permission error
Maybe, before upgrading to J2.5, do this :

upgrade to FC r1601 and then edit and save all items and categories that give this trouble.


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

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

More
10 years 11 months ago #52481 by aynadum
Replied by aynadum on topic Initial permission error
I built a joomla 3.3 site and transfered data from joomla 2.5 with the help of SP Transfer extension (by the way it is really usefull and with a reasonable price) Then I installed Flexi Content.

Then i noticed that i have to transfer some more articles and categories from another site. I transfered but Flexi Content didnt recognise them. Then i uninstalled FlexiContent to be sure that my transferred articles are there and installed Flexi again to recognise newly articles.

And then I got initial permission error :( Any advice? (I rebuilt menus but didnt work)

Regards

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

More
10 years 11 months ago #52496 by ggppdk
Replied by ggppdk on topic Initial permission error
Hello

please click FLEXIcontent "configuration" button and enable "debug initial permissions"


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

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

More
10 years 11 months ago #52498 by aynadum
Replied by aynadum on topic Initial permission error
Thank you

I checked other posts too and I saw "Debug initial permission creation"

Weird but i cant bring it too yes. I bring it to "yes" and after saving it is still "no" I use stable Flexi

Also repaired mysql databases. Lately transferred categories may cause problem as written in other posts but i cant make initial debug on.

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

More
10 years 11 months ago #52499 by ggppdk
Replied by ggppdk on topic Initial permission error
Hello

about saving component parameters,
please set
max_input_vars to 5000

in your .htaccess or php.ini

www.flexicontent.org/documentati ... tions.html

new FC v3, will have a warning for this


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

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