Error on initial page

  • wvq
    Inactive member
  • Topic Author
  • Member
  • Member
More
13 years 4 weeks ago #17041 by wvq
Replied by wvq on topic Re: Error on initial page
Hi Ivan,
The problem with the site after updating to Joomla 2.5.4 is solved. You can now login to administrator.
Thanks

Please Log in to join the conversation.

  • milos
    Support Staff
  • Moderator
  • Moderator
More
13 years 3 weeks ago #17050 by milos
Replied by milos on topic Re: Error on initial page
Since your site is multilanguage, this code in file /templates/hot_cosmetics/index.php
Code:
$ishome=false; $menu = JSite::getMenu(); if ($menu->getActive() == $menu->getDefault()) { $ishome=true; }

must be changed with this code
Code:
$app = JFactory::getApplication(); $menu = $app->getMenu(); if ($menu->getActive() == $menu->getDefault( 'en-GB' )) { $ishome=true; } elseif ($menu->getActive() == $menu->getDefault( 'es-ES' )) { $ishome=true; }

p.s. I did that for you on your site.

Please Log in to join the conversation.

  • wvq
    Inactive member
  • Topic Author
  • Member
  • Member
More
13 years 3 weeks ago #17052 by wvq
Replied by wvq on topic Re: Error on initial page
Hi Ivan,

Thank you very much.

Best regards,

Please Log in to join the conversation.

Time to create page: 0.080 seconds
Powered by Kunena Forum