AdsManager is broken after installing CBSubs

14 years 9 months ago #103294 by RCheesley
Hi Guys,

Love the product and am just about to roll it out on my first site but it's broken the main part of the site! Whoops!

When I install the main plugin, then hover over components, the first item in the list (AdsManager) disappears completely. When I go back and try to do anything with AdsManager (which reappears on the menu when you click somewhere else and go back) I get the following errors:

Fatal error: Cannot redeclare getlangdefinition() (previously declared in /home/mysite/administrator/components/com_comprofiler/plugin.foundation.php:172) in /home/mysite/administrator/components/com_adsmanager/admin.adsmanager.php on line 286

Any thoughts? Am having to hold off rolling out CBSubs until there is a resolution.

Ruth

Ruth Cheesley
Joomla Specialist
Virya Technologies Ltd.

Please Log in to join the conversation.

14 years 9 months ago #103296 by RCheesley
Replied by RCheesley on topic Re:AdsManager is broken after installing CBSubs
Done a bit of digging and noticed this happened elsewhere with JDirectory - the thing I am a bit puzzled by, however, is that it works fine with CB but it falls over when I install the CBSubs plugin.

Have replied to a post on the AdsManager forum here .

Ruth

Ruth Cheesley
Joomla Specialist
Virya Technologies Ltd.

Please Log in to join the conversation.

14 years 9 months ago #103482 by beat
Yup, a bad global namespace use in both CB and AdsManager.

As it's part of CB's API 1.0 can't remove yet. :(

Thanks for checking with AdsManager guys.

Beat - Community Builder Team Member

Before posting on forums: Read FAQ thoroughly -- Help us spend more time coding by helping others in this forum, many thanks :)
CB links: Our membership - CBSubs - Templates - Hosting - Forge - Send me a Private Message (PM) only for private/confidential info

Please Log in to join the conversation.

14 years 9 months ago #103530 by RCheesley
Replied by RCheesley on topic Re:AdsManager is broken after installing CBSubs
Figured out a fix with help from Perry - just needed to prefix with am_ all instances and it's working fine :)

Just gotta read the oh so small manual and set up cbsubs ... could you MAKE it much bigger :o LOL

Ruth

Ruth Cheesley
Joomla Specialist
Virya Technologies Ltd.

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.172 seconds

Facebook Twitter LinkedIn