Results 1 to 14 of 14
  1. #1
    Join Date
    Jan 2008
    Posts
    2

    Default Siteground template error after upgrading Joomla RC3 to RC4

    Hello,

    This fine template works fine with RC3 but after my upgrade not any more on RC4. After uploading RC4 (nb 4-1-08) I got the error

    Fatal error: Call to a member function getItems() on a non-object in /home/xxxxxx/public_html/templates/siteground/sg_menus/SGMenu.php on line 87

    line 87 reads: "$rows = $menu->getItems( 'menutype', 'topmenu' );"

    What does this line do? Which menu? Could it be related to the fact that I have deleted the top-right menu-code in the html?

    Thx for any help.

  2. #2

    Default

    It is quite difficult to debug a modified Joomla installation using the data, posted in the forum.

    Please post a ticket in the Script Installation Help category through your Customer Area->Get Support->Get Support-Help Desk and we will try to resolve the issue which you have experienced.

  3. #3
    Join Date
    Jan 2008
    Posts
    2

    Default

    Thanks for your reply, let me first refrase the question: is the standard Siteground template working fine on Joomla RC4?

  4. #4

    Default

    In order to check the issue I have just downloaded the SiteGround's template and set it in a fresh Joomla 1.5 RC4 installation. There were no error messages.

    Probably there were some additional modifications in your Joomla web site and they caused the issue.

    Please post a ticket regarding the issue and provide us with detailed instructions on how to recreate the problem at our end. Then it will be easier to look for a solution.

  5. #5
    Join Date
    Jan 2008
    Posts
    1

    Default

    You can fix this easily if you don't need cascading ,menus.

    Go to the template administration and enter the Siteground configuration.

    Then turn off cascading top menu.

    If you need them then you may need to change code but can't help you there.

  6. #6
    Join Date
    Feb 2008
    Posts
    5

    Default Siteground Template ERROR!

    When i install the siteground template i get the following errors.

    Fatal error: Call to a member function getItems() on a non-object in C:\xampp\htdocs\templates\siteground\sg_menus\SGMe nu.php on line 87



    I really want to use the drop down menu! can anyone give me any advice!

    Thanks!

  7. #7

    Default

    It would be best if you post a ticket regarding your issue. This way we'll be able to recreate it on our end and look for a solution.

  8. #8
    Join Date
    Feb 2008
    Posts
    5

    Default

    where do i post this ticket i tryed under support but i get this error!

    Login Failed. Username or Password not recognised

  9. #9

    Default

    Please check this tutorial to see how to use your Help Desk and how to open a support ticket

  10. #10
    Join Date
    Feb 2008
    Posts
    5

    Default

    I got it working! there is some wrong coding in the sgmenu.php file!

  11. #11
    Join Date
    Feb 2008
    Posts
    5

    Default

    change the following text on line 83 from:
    $menu = @JMenu :: getInstance();
    to:$menu = JSite :: getMenu();

  12. #12

    Default

    Thank you for the feedback.

    I have informed our web designers about the issue and your solution. They will check it.

  13. #13
    Join Date
    Feb 2008
    Posts
    5

    Default

    No problem! let me know if they have any other sugestions!

    I have one more problem when i use ' in the site name like car's it shows up as car\'s

    do you have any ideas what i need to do to fix this????

    Thanks

  14. #14
    Join Date
    Dec 2009
    Posts
    7

    Default

    Quote Originally Posted by mmorris View Post
    change the following text on line 83 from:
    $menu = @JMenu :: getInstance();
    to:$menu = JSite :: getMenu();
    This change will not work, after changed and saved the code, the menu (user3) disapeared.

Similar Threads

  1. Joomla template siteground-j15-23 help
    By mr_soutcity in forum General Joomla Discussions
    Replies: 0
    Last Post: 09-20-2010, 08:21 AM
  2. forum upgrading error PHP version
    By Lil Miss in forum Forum Applications
    Replies: 1
    Last Post: 08-16-2010, 06:28 AM
  3. Replies: 3
    Last Post: 08-09-2010, 06:40 AM
  4. siteground-j15-124 joomla template
    By nickadi in forum General Joomla Discussions
    Replies: 4
    Last Post: 04-12-2010, 09:28 AM
  5. Siteground 10 Template error
    By scp in forum General Joomla Discussions
    Replies: 1
    Last Post: 11-21-2006, 06:33 AM

Posting Permissions

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