Не отображается CSS + еще кое что

Тема в разделе "Перенос Joomla на хостинг и проблемы с хостингом", создана пользователем Agnest, 13.03.2013.

  1. Offline

    Agnest Недавно здесь

    Регистрация:
    13.03.2013
    Сообщения:
    4
    Симпатии:
    0
    Пол:
    Мужской
    Добрый день, обитатели форума.

    Перенес сайт с денвера на хостинг.
    Сайт загружается, но не подгружается css.
    Вторая проблема - при нажатие на любую ссылку генерируется в строке адрес, повторяющий 3 раза адрес сайта.
    Неоднократно переносил жумлу на хостинг. Jooml'у 2.5 переношу впервые.
    Прежде с таким не сталкивался.
    Очень надеюсь на вашу помощь.

    Адрес сайта: http://amrita-yoga.md/

    Заранее благодарю.
     
  2.  
  3. OlegK
    Offline

    OlegK Russian Joomla! Team Команда форума ⇒ Профи ⇐

    Регистрация:
    17.01.2011
    Сообщения:
    7 813
    Симпатии:
    771
    Пол:
    Мужской
    index.php шаблона выложи
     
  4. Offline

    Agnest Недавно здесь

    Регистрация:
    13.03.2013
    Сообщения:
    4
    Симпатии:
    0
    Пол:
    Мужской
    Код (CODE):
    1. <?php
    2. /**
    3. * @version   $Id: index.php 4969 2012-11-01 17:46:09Z kevin $
    4.  * @author RocketTheme http://www.rockettheme.com
    5.  * @copyright Copyright (C) 2007 - 2012 RocketTheme, LLC
    6.  * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
    7.  *
    8.  * Gantry uses the Joomla Framework (http://www.joomla.org), a GNU/GPLv2 content management system
    9.  *
    10.  */
    11. // no direct access
    12. defined( '_JEXEC' ) or die( 'Restricted index access' );
    13.  
    14. // load and inititialize gantry class
    15. require_once(dirname(__FILE__).'/lib/gantry/gantry.php');
    16. $gantry->init();
    17.  
    18. ?>
    19. <!doctype html>
    20. <html xml:lang="<?php echo $gantry->language; ?>" lang="<?php echo $gantry->language;?>" >
    21. <head>
    22.     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    23.     <?php
    24.         $gantry->displayHead();
    25.  
    26.         $gantry->addStyle('grid-responsive.css', 5);
    27.         $gantry->addLess('bootstrap.less', 'bootstrap.css', 6);
    28.         $gantry->addLess('global.less', 'master.css', 8, array('main-accent'=>$gantry->get('main-accent', '#FFEB54'), 'blocks-default'=>$gantry->get('blocks-default', '#1685bb'), 'blocks-box1'=>$gantry->get('blocks-box1', '#e1563f'), 'blocks-box2'=>$gantry->get('blocks-box2', '#23b1bf'), 'blocks-box3'=>$gantry->get('blocks-box3', '#ad4455'), 'blocks-box4'=>$gantry->get('blocks-box4', '#336598'), 'main-overlay'=>$gantry->get('main-overlay','light'), 'defaultOverlay'=>$gantry->get('blocks-default-overlay','dark')));
    29.  
    30.         if ($gantry->browser->name == 'ie'){
    31.             if ($gantry->browser->shortversion == 8){
    32.                 $gantry->addScript('html5shim.js');
    33.             }
    34.         }
    35.         if ($gantry->get('layout-mode', 'responsive') == 'responsive') $gantry->addScript('rokmediaqueries.js');
    36.         if ($gantry->get('loadtransition')) {  
    37.         $gantry->addScript('load-transition.js');
    38.         $hidden = ' class="rt-hidden"';}
    39.  
    40.     ?>
    41. <link rel="stylesheet" href="<?php echo $this->baseurl ;?>/templates/<?php echo $this->template ;?>/css/system.css" type="text/css" />
    42.  
    43. </head>
    44. <body <?php echo $gantry->displayBodyTag(); ?>>
    45.     <div class="rt-bg"><div class="rt-bg2">
    46.     <div class="rt-container">
    47.         <?php /** Begin Drawer **/ if ($gantry->countModules('drawer')) : ?>
    48.         <div id="rt-drawer">
    49.             <?php echo $gantry->displayModules('drawer','standard','standard'); ?>
    50.             <div class="clear"></div>
    51.         </div>
    52.         <?php /** End Drawer **/ endif; ?>
    53.         <?php /** Begin Top Surround **/ if ($gantry->countModules('top') or $gantry->countModules('header')) : ?>
    54.         <header id="rt-top-surround" class="<?php echo ($gantry->get('headerpanel-overlay') == 'light' ? 'rt-light' : 'rt-dark'); ?>">
    55.             <?php /** Begin Top **/ if ($gantry->countModules('top')) : ?>
    56.             <div id="rt-top">
    57.                 <?php echo $gantry->displayModules('top','standard','standard'); ?>
    58.                 <div class="clear"></div>
    59.             </div>
    60.             <?php /** End Top **/ endif; ?>
    61.             <?php /** Begin Header **/ if ($gantry->countModules('header')) : ?>
    62.             <div id="rt-header">
    63.                 <?php echo $gantry->displayModules('header','standard','standard'); ?>
    64.                 <div class="clear"></div>
    65.             </div>
    66.             <?php /** End Header **/ endif; ?>
    67.         </header>
    68.         <?php /** End Top Surround **/ endif; ?>
    69.         <?php /** Begin Showcase **/ if ($gantry->countModules('showcase')) : ?>
    70.         <div id="rt-showcase" class="<?php echo ($gantry->get('showcasepanel-overlay') == 'light' ? 'rt-light' : 'rt-dark'); ?>">
    71.             <?php echo $gantry->displayModules('showcase','standard','standard'); ?>
    72.             <div class="clear"></div>
    73.         </div>
    74.         <?php /** End Showcase **/ endif; ?>
    75.         <?php /** Begin Social **/ if ($gantry->countModules('social')) : ?>
    76.         <?php echo $gantry->displayModules('social','basic','basic'); ?>
    77.         <?php /** End Social **/ endif; ?>
    78.         <div id="rt-transition"<?php if ($gantry->get('loadtransition')) echo $hidden; ?>>
    79.             <div id="rt-mainbody-surround" class="<?php echo ($gantry->get('body-overlay') == 'light' ? 'rt-light' : 'rt-dark'); ?>">
    80.                 <?php /** Begin Feature **/ if ($gantry->countModules('feature')) : ?>
    81.                 <div id="rt-feature">
    82.                     <?php echo $gantry->displayModules('feature','standard','standard'); ?>
    83.                     <div class="clear"></div>
    84.                 </div>
    85.                 <?php /** End Feature **/ endif; ?>
    86.                 <?php /** Begin Utility **/ if ($gantry->countModules('utility')) : ?>
    87.                 <div id="rt-utility">
    88.                     <?php echo $gantry->displayModules('utility','standard','standard'); ?>
    89.                     <div class="clear"></div>
    90.                 </div>
    91.                 <?php /** End Utility **/ endif; ?>
    92.                 <?php /** Begin Breadcrumbs **/ if ($gantry->countModules('breadcrumb')) : ?>
    93.                 <div id="rt-breadcrumbs">
    94.                     <?php echo $gantry->displayModules('breadcrumb','standard','standard'); ?>
    95.                     <div class="clear"></div>
    96.                 </div>
    97.                 <?php /** End Breadcrumbs **/ endif; ?>
    98.                 <?php /** Begin Main Top **/ if ($gantry->countModules('maintop')) : ?>
    99.                 <div id="rt-maintop">
    100.                     <?php echo $gantry->displayModules('maintop','standard','standard'); ?>
    101.                     <div class="clear"></div>
    102.                 </div>
    103.                 <?php /** End Main Top **/ endif; ?>
    104.                 <?php /** Begin Main Body **/ ?>
    105.                     <?php echo $gantry->displayMainbody('mainbody','sidebar','standard','standard','standard','standard','standard'); ?>
    106.                 <?php /** End Main Body **/ ?>
    107.                 <?php /** Begin Main Bottom **/ if ($gantry->countModules('mainbottom')) : ?>
    108.                 <div id="rt-mainbottom">
    109.                     <?php echo $gantry->displayModules('mainbottom','standard','standard'); ?>
    110.                     <div class="clear"></div>
    111.                 </div>
    112.                 <?php /** End Main Bottom **/ endif; ?>
    113.                 <?php /** Begin Extension **/ if ($gantry->countModules('extension')) : ?>
    114.                 <div id="rt-extension">
    115.                     <?php echo $gantry->displayModules('extension','standard','standard'); ?>
    116.                     <div class="clear"></div>
    117.                 </div>
    118.                 <?php /** End Extension **/ endif; ?>
    119.             </div>
    120.         </div>
    121.         <?php /** Begin Bottom **/ if ($gantry->countModules('bottom')) : ?>
    122.         <div id="rt-bottom" class="<?php echo ($gantry->get('bottompanel-overlay') == 'light' ? 'rt-light' : 'rt-dark'); ?>">
    123.             <?php echo $gantry->displayModules('bottom','standard','standard'); ?>
    124.             <div class="clear"></div>
    125.         </div>
    126.         <?php /** End Bottom **/ endif; ?>
    127.         <?php /** Begin Footer Section **/ if ($gantry->countModules('footer') or $gantry->countModules('copyright')) : ?>
    128.         <footer id="rt-footer-surround" class="<?php echo ($gantry->get('footerpanel-overlay') == 'light' ? 'rt-light' : 'rt-dark'); ?>">
    129.             <?php /** Begin Footer **/ if ($gantry->countModules('footer')) : ?>
    130.             <div id="rt-footer">
    131.                 <?php echo $gantry->displayModules('footer','standard','standard'); ?>
    132.                 <div class="clear"></div>
    133.             </div>
    134.             <?php /** End Footer **/ endif; ?>
    135.             <?php /** Begin Copyright **/ if ($gantry->countModules('copyright')) : ?>
    136.             <div id="rt-copyright">
    137.                 <?php echo $gantry->displayModules('copyright','standard','standard'); ?>
    138.                 <div class="clear"></div>
    139.             </div>
    140.             <?php /** End Copyright **/ endif; ?>
    141.         </footer>
    142.         <?php /** End Footer Surround **/ endif; ?>
    143.     </div>
    144. </div></div>
    145.     <?php /** Begin Debug **/ if ($gantry->countModules('debug')) : ?>
    146.     <div id="rt-debug">
    147.         <div class="rt-container">
    148.             <?php echo $gantry->displayModules('debug','standard','standard'); ?>
    149.             <div class="clear"></div>
    150.         </div>
    151.     </div>
    152.     <?php /** End Debug **/ endif; ?>
    153.     <?php /** Begin Auxiliary **/ if ($gantry->countModules('auxiliary') and ($gantry->countModules('sidepanel'))) : ?>
    154.     <?php echo $gantry->displayModules('auxiliary','basic','basic'); ?>
    155.     <?php /** End Auxiliary **/ endif; ?>
    156.     <?php /** Begin Popups **/
    157.             echo $gantry->displayModules('popup','popup','popup');
    158.             echo $gantry->displayModules('login','login','popup');
    159.             /** End Popup s**/ ?>
    160.     <?php /** Begin Analytics **/ if ($gantry->countModules('analytics')) : ?>
    161.     <?php echo $gantry->displayModules('analytics','basic','basic'); ?>
    162.     <?php /** End Analytics **/ endif; ?>
    163.     </body>
    164. </html>
    165. <?php
    166. $gantry->finalize();
    167. ?>
     
  5. Offline

    Agnest Недавно здесь

    Регистрация:
    13.03.2013
    Сообщения:
    4
    Симпатии:
    0
    Пол:
    Мужской
    Прикрепленный файл
     

    Вложения:

    • index.rar
      Размер файла:
      1.9 КБ
      Просмотров:
      0
  6. OlegK
    Offline

    OlegK Russian Joomla! Team Команда форума ⇒ Профи ⇐

    Регистрация:
    17.01.2011
    Сообщения:
    7 813
    Симпатии:
    771
    Пол:
    Мужской
    А Joomla и тем более версия 2.5 не причина трабл со стилями.
    Копай в framework gantry
     
  7. Offline

    Agnest Недавно здесь

    Регистрация:
    13.03.2013
    Сообщения:
    4
    Симпатии:
    0
    Пол:
    Мужской
    Отчего уверенность, что в гантре?
    Вход в админку тоже не показывает, только название в заголовке браузера
     

Поделиться этой страницей

Загрузка...