MDN

Go Back   Mambo - Forums Closed for posting > Mambo 4.5.5 - Stable > General Questions

Reply
 
Thread Tools Search this Thread Display Modes
Old November 29th, 2005, 10:48   #1
ldcanada
 
Join Date: Nov 2005
Posts: 2
ldcanada is on a distinguished road
Default error message when adding menu item

hey everyone,

using mosforms....

im getting the following error when trying to "create menu item" on one of my forms... just wondering if anyone has any ideas?

Warning: menuitem(/home/website/homedirectory/administrator/components/com_menus//.class.php): failed to open stream: No such file or directory in /homewebsite/homedirectory/includes/mambo.php on line 3729

Warning: menuitem(): Failed opening '/home/website/homedirectory/administrator/components/com_menus//.class.php' for inclusion (include_path='.:/usr/local/apache/lib/php') in /homewebsite/homedirectory/includes/mambo.php on line 3729

Warning: menuitem(/home/website/homedirectory/administrator/components/com_menus//.menu.html.php): failed to open stream: No such file or directory in /homewebsite/homedirectory/includes/mambo.php on line 3730

Warning: menuitem(): Failed opening '/home/website/homedirectory/administrator/components/com_menus//.menu.html.php' for inclusion (include_path='.:/usr/local/apache/lib/php') in /homewebsite/homedirectory/includes/mambo.php on line 3730

Fatal error: Undefined class name 'url_menu' in /home/website/homedirectory/administrator/components/com_menus/url/url.menu.php on line 23



thanks in advance!!
- LD
ldcanada is offline   Reply With Quote
Old November 29th, 2005, 12:29   #2
Asphyx
 
Join Date: Jan 2005
Posts: 2,291
Asphyx is on a distinguished road
Default

you have a trailing slash in one of the config options you need to get rid of...

Warning: menuitem(/home/website/homedirectory/administrator/components/com_menus//.class.php): failed to open stream: No such file or directory in /homewebsite/homedirectory/includes/mambo.php on line 3729
Asphyx is offline   Reply With Quote
Old November 29th, 2005, 15:52   #3
ldcanada
 
Join Date: Nov 2005
Posts: 2
ldcanada is on a distinguished road
Default

Quote:
Originally Posted by Asphyx
you have a trailing slash in one of the config options you need to get rid of...

Warning: menuitem(/home/website/homedirectory/administrator/components/com_menus//.class.php): failed to open stream: No such file or directory in /homewebsite/homedirectory/includes/mambo.php on line 3729

sorry, i don't exactly know how to change that now that its been installed/configured??
ldcanada is offline   Reply With Quote
Old November 29th, 2005, 18:07   #4
Asphyx
 
Join Date: Jan 2005
Posts: 2,291
Asphyx is on a distinguished road
Default

check your config of mosforms
Asphyx is offline   Reply With Quote
Old March 14th, 2006, 15:51   #5
ttiger@lineone.n
 
Join Date: Nov 2005
Posts: 16
ttiger@lineone.n is on a distinguished road
Default mosform config

Where is the mosforms config to check?
ttiger@lineone.n is offline   Reply With Quote
Old April 16th, 2006, 16:51   #6
nstarz
 
Join Date: Jul 2005
Posts: 12
nstarz is on a distinguished road
Default

This seems to be a common problem
nstarz is offline   Reply With Quote
Old April 16th, 2006, 17:19   #7
maligned-geek
 
Join Date: Dec 2005
Location: Cornwall U.K.
Posts: 3,712
maligned-geek is on a distinguished road
Default

There's a fix for this error posted on the Mosforms help forums:

http://mosforms.pollen-8.co.uk/compo...,0/topic,100.0

It would be easy to adapt for Mambo (If it's not the same).

Which Mambo version are you running? Which version of mosForms?

In file administrator\components\com_mosforms\admin.mosfor ms.php

Change:

PHP Code:
function createMosFormMenu(&$form_id){

         ...
         
$menu->updateOrder("menutype='$menu->menutype' AND parent='$menu->parent'");

         require(
"$mosConfig_absolute_path/administrator/components/com_menus/url/url.menu.php");
      } 
With:

PHP Code:
function createMosFormMenu(&$form_id){

         ...
         
$menu->updateOrder("menutype='$menu->menutype' AND parent='$menu->parent'");

         
$type $menu->type;
   
         require(
"$mosConfig_absolute_path/administrator/components/com_menus/url/url.menu.php");
      } 
maligned-geek is offline   Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
submenu disappears turtletime General Questions 6 June 24th, 2005 22:10
menu within a menu item, and a content issue joe m General Questions 0 June 3rd, 2005 01:14
What is AKOComment menu item supposed to do? pogdish General Questions 0 May 23rd, 2005 18:40
Menu module problem: Menu Item Links vengo General Questions 3 March 23rd, 2005 09:59
problem/bug in 4.5.1a menu style tintoon Administration Questions 2 November 12th, 2004 07:14


All times are GMT -7. The time now is 07:47.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.