No asset found for component, falling back to root.1

For Joomla! 3.x Coding related discussions, please use: http://groups.google.com/group/joomla-dev-general

Moderator: ooffick

Forum rules
Please use the mailing list here: http://groups.google.com/group/joomla-dev-general rather than this forum.
Post Reply
kmchen
Joomla! Intern
Joomla! Intern
Posts: 57
Joined: Sat Oct 21, 2006 12:57 am
Location: marseille (13) france
Contact:

No asset found for component, falling back to root.1

Post by kmchen » Fri Sep 28, 2018 3:44 pm

HI,

I have an old component migrated since joomla 1.0 I guess. Since last upgrade many problems appeared and one is that message repeated many times in the logs at point that log reading is boring.
No asset found for component, falling back to root.1
I've read that discussion viewtopic.php?t=690939 and part of relevant tutorial about 2.5 component building.
But my component has its own access management and do not need to use joomla assets.

How could I avoid this notices in logs without reading 14 pages of manual and adding a mountain of xml files ?

My component has no definitions in assets table. Could a simple MYSQL insert add in assets table solve my problem ? Like that:

Code: Select all

INSERT INTO `jnew_assets` (`id`, `parent_id`, `lft`, `rgt`, `level`, `name`, `title`, `rules`) VALUES
(null, 1, x, y, 1, 'com_myComponent', 'myComponent', '{}');
Last edited by toivo on Tue Oct 02, 2018 9:36 am, edited 1 time in total.
Reason: mod note: moved from 2.5 Coding

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 24870
Joined: Mon Oct 27, 2008 9:27 pm
Location: Akershus, Norway

Re: No asset found for component, falling back to root.1

Post by Per Yngve Berg » Sat Sep 29, 2018 7:08 am

What upgrade? There have not been any upgrades of J2.5 since December 2014.

kmchen
Joomla! Intern
Joomla! Intern
Posts: 57
Joined: Sat Oct 21, 2006 12:57 am
Location: marseille (13) france
Contact:

Re: No asset found for component, falling back to root.1

Post by kmchen » Tue Oct 02, 2018 7:40 am

For me last upgrade is j3.8.12


Post Reply

Return to “Joomla! 3.x Coding”