Installation and Plugin Problem

18 years 2 months ago #5005 by garry_bs
Installation and Plugin Problem was created by garry_bs
Hi,

My environment:
Mambo 4.5.3H
CB --RC2
Simple board 1.1
Ewriting 1.2.1

My installation went smooth and error free.

As a user I get the following error :

Notice: Undefined variable: userHasPosts in c:\program files\easyphp\www\mambo\components\com_comprofiler\plugin\user\plug_cbsimpleboardtab\cb.simpleboardtab.php on line 342


Similar error is there with eWriting:
Notice: Undefined variable: mosConfig_live_site in c:\program files\easyphp\www\mambo\components\com_ewriting\com_ewriting_settings.php on line 3

Notice: Undefined variable: mosConfig_live_site in c:\program files\easyphp\www\mambo\components\com_ewriting\com_ewriting_settings.php on line 10


I AM NEW AND REQUIRE HELP AND HANDHOLDING TO RESOLVE THIS MINOR ISSUE AND GET THE cb 'A GREAT COMPONENT' WORKING.

Thanks

Garry

Please Log in to join the conversation.

18 years 2 months ago #5149 by beat
Replied by beat on topic Re:Installation and Plugin Problem
garry_bs wrote:

...
Notice: Undefined variable: userHasPosts in c:/program files/easyphp/www/mambo/components/com_comprofiler/plugin/user/plug_cbsimpleboardtab/cb.simpleboardtab.php on line 342


This is a small bug of CB 1.0 RC2, fixed in upcoming 1.0 stable.

To fix it just change the order of the first 2 terms on that line 342, so result looks like:

if ($pagingEnabled && $userHasPosts && $searchEnabled && $pagingParams["fposts_search"]) {

garry_bs wrote:

Similar error is there with eWriting:
Notice: Undefined variable: mosConfig_live_site in c:\program files\easyphp\www\mambo\components\com_ewriting\com_ewriting_settings.php on line 3

Notice: Undefined variable: mosConfig_live_site in c:\program files\easyphp\www\mambo\components\com_ewriting\com_ewriting_settings.php on line 10


I don't know this component, but there is probably a

global $mosConfig_live_site;

missing above those lines.

Generally, you shouldn't leave notices and warnings on on a live site (ask your provider).

Hope this helps.

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.

Moderators: beatnantkrileon
Time to create page: 0.375 seconds

Facebook Twitter LinkedIn