Falang/PHP/Jooml causes an error when creating/editing articles in the front-end

More
7 years 7 months ago #10249 by Thellie
This cropped up today when I was setting up the front-end editing so we could share out the task of translating the language pack.
On save: Save Failed with the Following Error: Invalid Parent ID
A couple of sites recommended the following, but it didn't work for me.
  1. Go to the Menu Manager, select all menus items and click the rebuild button.
  2. Go to the Category manager, Select all categories and click the rebuild button.
  3. Open all categories and save them (this will insert the appropriate assets tables associations for all categories).
That may well be the answer if Falang is not installed, but I had to keep on looking.
I eventually found that a code change is the solution:
In .../libraries/joomla/table/asset.php line 110 change
->select('1')
to
->select($this->_db->quoteName('id'))
...and it worked a treat.
Hopefully this will save some headaches for anyone out there with the same issue.

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

More
7 years 7 months ago #10256 by solidres

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

More
7 years 7 months ago #10258 by Thellie
3.7.4 at that point but I've just now updated to 3.7.5

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

Moderators: solidres
Powered by Kunena Forum

All the things you need to make your work easier. Did you like Solidres?