Для чего нужен файл fetchscript.php

Discussion in 'VirtueMart' started by tamaz, Sep 12, 2011.

  1. Offline

    tamaz Пользователь

    Joined:
    Feb 9, 2011
    Messages:
    66
    Likes Received:
    2
    Gender:
    Male
  2.  
  3. woojin
    Offline

    woojin Местный Staff Member => Cпециалист <=

    Joined:
    May 31, 2009
    Messages:
    3,204
    Likes Received:
    334
    Gender:
    Male
    вообще то по скриптам - этот файл нужен для подключения других файлов в процессе работы VM т.е. на лету, а не сразу как это делает INCLUDE и REQUERE
     
  4. Offline

    tamaz Пользователь

    Joined:
    Feb 9, 2011
    Messages:
    66
    Likes Received:
    2
    Gender:
    Male
    Спасибо, что откликнулся;)

    Итак, выяснилось что это вроде как нужный файл!

    А тогда зачем его рекомендуют отключать? (ссылки выше)

    1. Какие проблемы могут возникнуть или при отключении файла fetchscript.php ?
    2. Какие проблемы решает отключение файла fetchscript.php ?
     
  5. woojin
    Offline

    woojin Местный Staff Member => Cпециалист <=

    Joined:
    May 31, 2009
    Messages:
    3,204
    Likes Received:
    334
    Gender:
    Male
    чего не знаю - того не знаю, я обычно сужу по исходному коду файла о его назначении и работе
     
  6. Offline

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

    Joined:
    Mar 22, 2011
    Messages:
    2
    Likes Received:
    0
    Gender:
    Male
    Switch off fetchscript in Virtuemart

    IF you are using Virtuemart and you have problems while trying to view the virtuemart admin panel or frontend product view, then the main problem is FETCHSCRIPT.php , which Virtuemart uses for gzipping the css and js files.

    So, here is a perfect solution for that:

    The fix for this is to force the usefetchscript OFF all the time by adding the following line near the top of the config file: /administrator/components/com_virtuemart/virtuemart.cfg.php

    Код (PHP):
    1. $_REQUEST['usefetchscript'] = "0";
     

Share This Page

Loading...