Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Warning: Missing argument 6 for getmenuitem()

  1. #1
    sillywabbit's Avatar
    Join Date
    May 2006
    Posts
    115

    Default Warning: Missing argument 6 for getmenuitem()

    Hey guys,

    So far I am only getting this error in the Pioneer template.... and only on the profile_edit.php and the cc.php ..... the error is showing up at the top of the page and says:


    Warning: Missing argument 6 for getmenuitem() in /home/christia/public_html/templates/tmpl_dol/scripts/BxTemplMenu.php on line 13

    Any ideas on this one?
    Thanks,
    Ann
    http://www.christiandatingandchat.com
    Abledating 2.4.11A

    http://www.thefuzzypeach.com/dating
    6.02
    ********************
    It's not the load that breaks you down; it's the way you carry it.
    --Lena Horne
    ********************

  2. #2
    mirepup
    Guest

    Default

    Hi Ann:

    I found this a few days ago. In that line, you need to add a default to the last parameter. For my template it says

    PHP Code:
    function getMenuItem$sText$sLink$sPath ''$sTarget ''$onclick '',$icon_name='' 
    With the $icon_name='' being the important bit.

    Quote Originally Posted by sillywabbit
    Hey guys,

    So far I am only getting this error in the Pioneer template.... and only on the profile_edit.php and the cc.php ..... the error is showing up at the top of the page and says:


    Warning: Missing argument 6 for getmenuitem() in /home/christia/public_html/templates/tmpl_dol/scripts/BxTemplMenu.php on line 13

    Any ideas on this one?
    Thanks,
    Ann

  3. #3
    sillywabbit's Avatar
    Join Date
    May 2006
    Posts
    115

    Default Thank you!!!!!!!!!!!!

    Thank you!!!!!!!!!!

    Worked like a charm!!!!!!

    Have you cleared up the mystery of the missing icons?

    Thanks,
    Ann
    http://www.christiandatingandchat.com
    Abledating 2.4.11A

    http://www.thefuzzypeach.com/dating
    6.02
    ********************
    It's not the load that breaks you down; it's the way you carry it.
    --Lena Horne
    ********************

  4. #4
    mirepup
    Guest

    Default

    Quote Originally Posted by sillywabbit
    Thank you!!!!!!!!!!

    Worked like a charm!!!!!!

    Have you cleared up the mystery of the missing icons?

    Thanks,
    Ann
    I think so - but i'm not sure what you're talking about.

    I made a copy of the tmpl_dol template and called it something else and all of the user menu icons vanished. Is that your problem too?

    If so, then I solved that. In menu.inc.php there is a line that says:
    PHP Code:
    $sIconName $tmpl =='dol' $aMenuIcon[$iVal] : ''
    Where 'dol' is the name of the template. Basically the DOL (Pioneer) template is the only one that uses a static icon. Took me a while of back and forth to figure it out!

    Hope that helps.

  5. #5
    sillywabbit's Avatar
    Join Date
    May 2006
    Posts
    115

    Default In 5.5....

    Hi.....
    In 5.5 there was the same problem with the missing icons in the Pioneer template.

    This thread held the fix for it.....
    Missing ICONS on PIONNER

    Thanks,
    Ann
    http://www.christiandatingandchat.com
    Abledating 2.4.11A

    http://www.thefuzzypeach.com/dating
    6.02
    ********************
    It's not the load that breaks you down; it's the way you carry it.
    --Lena Horne
    ********************

  6. #6
    sillywabbit's Avatar
    Join Date
    May 2006
    Posts
    115

    Default You are right..... it is different.

    You are right......
    I just had to know..... LOL... so I tried that fix from the other thread.... and that is definately not the problem nor the fix.

    So I will be trying your suggestion now for the missing icons.

    Thanks,
    Ann
    http://www.christiandatingandchat.com
    Abledating 2.4.11A

    http://www.thefuzzypeach.com/dating
    6.02
    ********************
    It's not the load that breaks you down; it's the way you carry it.
    --Lena Horne
    ********************

  7. #7
    sillywabbit's Avatar
    Join Date
    May 2006
    Posts
    115

    Default Still not getting it....

    Hi....

    I am still not getting it ......... how to fix the missing icons in the pioneer template.

    I see the code that you have posted....
    $sIconName = $tmpl =='dol' ? $aMenuIcon[$iVal] : '';

    that is how it appears in the menu.inc.php
    I have tried different changes to this...... could you please share with me what you did to fix this?

    Thanks,
    Ann
    http://www.christiandatingandchat.com
    Abledating 2.4.11A

    http://www.thefuzzypeach.com/dating
    6.02
    ********************
    It's not the load that breaks you down; it's the way you carry it.
    --Lena Horne
    ********************

  8. #8
    mirepup
    Guest

    Default

    I had made a copy of the PIONEER template (tmpl_dol) and renamed it as tmpl_abc (named ABC Template) and used that as my site template so that Pioneer was always there as a reference.

    MOST templates use no icon next to the menu item unless you hover over it. so the code quoted below says that if you're using the DOL template, show an icon.

    I simply changed it to say:
    $sIconName = $tmpl =='abc' ? $aMenuIcon[$iVal] : '';

    So that it works MY template (tmpl_abc) instead of tmpl_dol.

    If this doesn't apply to your problem, then I'm sorry I've misunderstood. Do you have a link we can look at?

    Jeff

    Quote Originally Posted by sillywabbit
    I see the code that you have posted....
    $sIconName = $tmpl =='dol' ? $aMenuIcon[$iVal] : '';

  9. #9
    sillywabbit's Avatar
    Join Date
    May 2006
    Posts
    115

    Default Thanks Jeff

    Thanks for the quick reply Jeff...

    The link for the site is www.prayerfullyyours.com

    Well...... I havent made a copy of the template or anything..... its still listed as tmpl_dol ....... as the Pioneer.

    But the icons are still missing nonetheless.
    I tried the fix that I showed you from that other thread.... and it was not a fix in this version. It did work for 5.5 though.

    Here we are at 5.6 with missing icons in this template still...... but the previous fix is null...

    Thanks,
    Ann
    http://www.christiandatingandchat.com
    Abledating 2.4.11A

    http://www.thefuzzypeach.com/dating
    6.02
    ********************
    It's not the load that breaks you down; it's the way you carry it.
    --Lena Horne
    ********************

  10. #10
    C2S_Struggling's Avatar
    Join Date
    Jul 2006
    Posts
    106

    Default

    Hi Ann,

    Just stopped to say "You go" glad your getting there again.....

    Take care,

    Rick

    We are going to change direction and site along with a custom software designer just an FYI.....Moving back to html and easy to manage secure as you can hope for site : )
    <--Adult Content-->
    Caved in to BooneX 5.5.0000

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Warning! Ray phising script
    By birkenstam in forum Dolphin General Discussion v6.00 and above
    Replies: 3
    Last Post: 12-01-2008, 11:51 AM
  2. Replies: 8
    Last Post: 09-20-2007, 11:32 PM
  3. Adult template warning
    By Toreador in forum Dolphin General Discussion v5.0 to v5.21
    Replies: 1
    Last Post: 08-19-2006, 07:26 PM
  4. Big Warning
    By warrior in forum General Issues, Comments, Questions
    Replies: 2
    Last Post: 06-23-2006, 03:17 AM
  5. Warning: Warning: imagejpeg():
    By emailgirls in forum General Troubleshooting
    Replies: 2
    Last Post: 01-21-2006, 02:41 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •