Fatal error when trying to add new menu item - Joomla! Forum - community, help and support
trying add new menu item. receive following error. else experiencing , there known fix? in advance.
fatal error: call member function getelementbypath() on non-object in /usr/local/apache2.0.54/htdocs/joomla/administrator/components/com_menus/models/item.php on line 656
running:
joomla! 1.5.10
php version 5.0.2
mysql version 4.0.21
apache 2.0.54
fatal error: call member function getelementbypath() on non-object in /usr/local/apache2.0.54/htdocs/joomla/administrator/components/com_menus/models/item.php on line 656
running:
joomla! 1.5.10
php version 5.0.2
mysql version 4.0.21
apache 2.0.54
hi
i came across post while searching solution same problem myself.
i couldn't find on elsewhere thought i'd post how fixed me ...
the original poster hasn't specified component they're having problems with, it's component cause of error. in case third party component called geomla.
the developers of component solved in following way ...
the problem comes incorrect xml encoding in front end component xml files.
with geomla component, have following:
as can see simple typo utf-8 caused problem in case.
the original thread specific example can found here: http://www.angelcoding.com/index.php?option=com_agora&task=viewtopic&id=9
depending on component, might have check incorrect encoding in front end metadata.xml files, xml files might see in 'view' folders , subfolders of 'view'.
i hope helps point people in right direction fixing error.
chiasmata
i came across post while searching solution same problem myself.
i couldn't find on elsewhere thought i'd post how fixed me ...
the original poster hasn't specified component they're having problems with, it's component cause of error. in case third party component called geomla.
the developers of component solved in following way ...
the problem comes incorrect xml encoding in front end component xml files.
with geomla component, have following:
open file: [joomla site root]->components->com_geomla->metadata.xml
change: encoding="utf8" to: encoding="utf-8"
as can see simple typo utf-8 caused problem in case.
the original thread specific example can found here: http://www.angelcoding.com/index.php?option=com_agora&task=viewtopic&id=9
depending on component, might have check incorrect encoding in front end metadata.xml files, xml files might see in 'view' folders , subfolders of 'view'.
i hope helps point people in right direction fixing error.
chiasmata
Comments
Post a Comment