| 
Welcome, Guest
  • Page:
  • 1

TOPIC: Installation and Plugin Problem

Installation and Plugin Problem 7 years 3 months ago #5005

  • garry_bs
  • garry_bs
  • OFFLINE
  • Fresh Boarder
    Fresh Boarder
  • Posts: 1
  • Karma: -
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
The administrator has disabled public write access.

Re:Installation and Plugin Problem 7 years 3 months ago #5149

  • beat
  • beat
  • OFFLINE
  • Administrator
    Administrator
  • Posts: 6980
  • Karma: 335
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
If you use Community Builder, please take a minute to post a rating and a review at the Joomla! Extensions Directory. :cheer:
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
The administrator has disabled public write access.
  • Page:
  • 1
Time to create page: 0.186 seconds