Register |
Your Cart is currently empty.
Home > Forum
Welcome, Guest

Fatal error: Class 'mosMenuBar' not found
(1 viewing) (1) Guest

Dear Customers,

Feel free to submit requests if you have any questions or need assistance.

Before submitting a support request, please pay attention to the description of the corresponding product and frequently asked questions. Answers you are looking for may already be there.
When submitting a request, please include as many details on the problem as you can. This will help us understand the essence and provide you with a helpful solution.
For more information on our support conditions, view JoomPlace support policy.
THANKS FOR YOUR PATIENCE!
  • Page:
  • 1

TOPIC: Fatal error: Class 'mosMenuBar' not found

Fatal error: Class 'mosMenuBar' not found 1 year, 11 months ago #12101

  • Jo
  • OFFLINE
  • Fresh Boarder
  • Posts: 2
  • Karma: 0
We suddenly got this error when we try to ad a new Survey (or try any of the other SurveyForce-menues)

Fatal error: Class 'mosMenuBar' not found in /home/xxx/public_html/administrator/components/com_surveyforce/toolbar.surveyforce.html.php  on line 211


Please help

Re: Fatal error: Class 'mosMenuBar' not found 1 year, 11 months ago #12102

  • Ann
  • OFFLINE
  • Moderator
  • Posts: 2601
  • Karma: 29
Hi,
you should look for the file component.legacy.php

and at the very beginning replace
if ( defined( '_VALID_MOS' ) or defined( '_JLEGACY' ) or defined( '_BITS_LEGACY' ) ) {

with
if ( /*defined( '_VALID_MOS' ) or*/ defined( '_JLEGACY' ) or defined( '_BITS_LEGACY' ) ) {

next, in the file toolbar.surveyforce.php
add a line
require_once (dirname(__FILE__).'/component.legacy.php');

after the line
defined( '_VALID_MOS' ) or die( 'Restricted access' );

This most likely happened because some kind of system plugin defined the _VALID_MOS constant and did not create the necessary classes.
JoomPlace.com, JoomlaLMS.com
Tech. Support

Re: Fatal error: Class 'mosMenuBar' not found 1 year, 11 months ago #12104

  • Jo
  • OFFLINE
  • Fresh Boarder
  • Posts: 2
  • Karma: 0
Hi

I cant see the line
if ( defined( '_VALID_MOS' ) or defined( '_JLEGACY' ) or defined( '_BITS_LEGACY' ) ) {
in component.legacy.php

The file toolbar.surveyforce.php is ok, and have the line
defined( '_VALID_MOS' ) or die( 'Restricted access' );

I attach the file component.legacy.php if you could take a quick look.

File Attachment:

File Name: component.txt
File Size: 17169
Last Edit: 1 year, 11 months ago by Jo.

Re: Fatal error: Class 'mosMenuBar' not found 1 year, 11 months ago #12109

  • Ann
  • OFFLINE
  • Moderator
  • Posts: 2601
  • Karma: 29
Hi,
pease find the file attached.

File Attachment:

File Name: component.zip
File Size: 2852
JoomPlace.com, JoomlaLMS.com
Tech. Support

Re: Fatal error: Class 'mosMenuBar' not found 3 months, 3 weeks ago #16729

  • ken
  • OFFLINE
  • Fresh Boarder
  • Posts: 3
  • Karma: 0
I am having this same issues ... Following this forum thread I am not sure what the fix is...

Please explain how to fix this issue

ken

Re: Fatal error: Class 'mosMenuBar' not found 3 months, 2 weeks ago #16747

  • Alexo
  • OFFLINE
  • JoomPlace Team
  • Posts: 118
  • Karma: 6
Hello Ken,

The fix is described in the second message (from Ann).

If you can't find a those line, please submit a ticket to helpdesk, including details about your component and Joomla version.
Solve any Joomla! issue with JoomPlace Support Service
  • Page:
  • 1
Moderators: tom, Maria_B
Time to create page: 0.53 seconds