0 Пользователей и 1 Гость просматривают эту тему.
  • 9 Ответов
  • 5218 Просмотров
*

petyp

  • Захожу иногда
  • 214
  • 0 / 0
ошибка
« : 16.04.2008, 11:15:51 »
Устанавливаю модуль на Лавру эдишин  и вот что он выдает!
Че это за фигня???

Загрузка module - Сорвана
XML установочный файл не для "module".
[ Продолжить ... ]
*

Arkadiy

  • Гуру
  • 5315
  • 462 / 2
  • Крепитесь, други.
Re: ошибка
« Ответ #1 : 16.04.2008, 12:23:59 »
насколько я помню опенсеф - компонент и устанавливать его надо как компонент.
*

petyp

  • Захожу иногда
  • 214
  • 0 / 0
Re: ошибка
« Ответ #2 : 16.04.2008, 17:30:53 »
о спасибо))))

а вот теперь другая трабла.... читаю свой .htaccess и не понимаю какой именно блог раскоменторовать ((  Вот этот ?7???
# uncomment all of the lines in the '3rd Party or Core SEF' section


а вот пример моего .htaccess

   1.
      ##
   2.
      # @version $Id: htaccess.txt,v 1.1.1.1 2007/01/03 08:58:48 ilobachev Exp $
   3.
      # @package Joomla
   4.
      # @copyright Copyright (C) 2005 Open Source Matters. All rights reserved.
   5.
      # @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
   6.
      # Joomla! is Free Software
   7.
      ##
   8.
       
   9.
       
  10.
      #####################################################
  11.
      # READ THIS COMPLETELY IF YOU CHOOSE TO USE THIS FILE
  12.
      #
  13.
      # The line just below this section: 'Options +FollowSymLinks' may cause problems
  14.
      # with some server configurations. It is required for use of mod_rewrite, but may already
  15.
      # be set by your server administrator in a way that dissallows changing it in
  16.
      # your .htaccess file. If using it causes your server to error out, comment it out (add # to
  17.
      # beginning of line), reload your site in your browser and test your sef url's. If they work,
  18.
      # it has been set by your server administrator and you do not need it set here.
  19.
      #
  20.
      # Only use one of the two SEF sections that follow. Lines that can be uncommented
  21.
      # (and thus used) have only one #. Lines with two #'s should not be uncommented
  22.
      # In the section that you don't use, all lines should start with #
  23.
      #
  24.
      # For Standard SEF, use the standard SEF section. You can comment out
  25.
      # all of the RewriteCond lines and reduce your server's load if you
  26.
      # don't have directories in your root named 'component' or 'content'
  27.
      #
  28.
      # If you are using a 3rd Party SEF or the Core SEF solution
  29.
      # uncomment all of the lines in the '3rd Party or Core SEF' section
  30.
      #
  31.
      #####################################################
  32.
       
  33.
      ##### SOLVING PROBLEMS WITH COMPONENT URL's that don't work #####
  34.
      # SPECIAL NOTE FOR SMF USERS WHEN SMF IS INTEGRATED AND BRIDGED
  35.
      # OR ANY SITUATION WHERE A COMPONENT's URL's AREN't WORKING
  36.
      #
  37.
      # In both the 'Standard SEF', and '3rd Party or Core SEF' sections the line:
  38.
      # RewriteCond %{REQUEST_URI} ^(/component/option,com) [NC,OR] ##optional - see notes##
  39.
      # May need to be uncommented. If you are running your Joomla!/Mambo from
  40.
      # a subdirectory the name of the subdirectory will need to be inserted into this
  41.
      # line. For example, if your Joomla!/Mambo is in a subdirectory called '/test/',
  42.
      # change this:
  43.
      # RewriteCond %{REQUEST_URI} ^(/component/option,com) [NC,OR] ##optional - see notes##
  44.
      # to this:
  45.
      # RewriteCond %{REQUEST_URI} ^(/test/component/option,com) [NC,OR] ##optional - see notes##
  46.
      #
  47.
      #####################################################
  48.
       
  49.
       
  50.
      ## Can be commented out if causes errors, see notes above.
  51.
      Options +FollowSymLinks
  52.
       
  53.
      #
  54.
      # mod_rewrite in use
  55.
       
  56.
      RewriteEngine On
  57.
       
  58.
       
  59.
      # Uncomment following line if your webserver's URL
  60.
      # is not directly related to physical file paths.
  61.
      # Update Your Joomla!/MamboDirectory (just / for root)
  62.
       
  63.
      RewriteBase /
  64.
       
  65.
       
  66.
      ########## Begin - Joomla! core SEF Section
  67.
      ############# Use this section if using ONLY Joomla! core SEF
  68.
      ## ALL (RewriteCond) lines in this section are only required if you actually
  69.
      ## have directories named 'content' or 'component' on your server
  70.
      ## If you do not have directories with these names, comment them out.
  71.
      #
  72.
      RewriteCond %{REQUEST_FILENAME} !-f
  73.
      RewriteCond %{REQUEST_FILENAME} !-d
  74.
      #RewriteCond %{REQUEST_URI} ^(/component/option,com) [NC,OR] ##optional - see notes##
  75.
      RewriteCond %{REQUEST_URI} (/|\.htm|\.php|\.html|/[^.]*)$ [NC]
  76.
      RewriteRule ^(content/|component/) index.php
  77.
      #
  78.
      ########## End - Joomla! core SEF Section
  79.
       
  80.
       
  81.
       
  82.
      ########## Begin - 3rd Party SEF Section
  83.
      ############# Use this section if you are using a 3rd party (Non Joomla! core) SEF extension - e.g. OpenSEF, 404_SEF, 404SEFx, SEF Advance, etc
  84.
      #
  85.
      #RewriteCond %{REQUEST_URI} ^(/component/option,com) [NC,OR] ##optional - see notes##
  86.
      #RewriteCond %{REQUEST_URI} (/|\.htm|\.php|\.html|/[^.]*)$ [NC]
  87.
      #RewriteCond %{REQUEST_FILENAME} !-f
  88.
      #RewriteCond %{REQUEST_FILENAME} !-d
  89.
      #RewriteRule (.*) index.php
  90.
      #
  91.
      ########## End - 3rd Party SEF Section
  92.
       
  93.
       
  94.
       
  95.
      ########## Begin - Rewrite rules to block out some common exploits
  96.
      ## If you experience problems on your site block out the operations listed below
  97.
      ## This attempts to block the most common type of exploit `attempts` to Joomla!
  98.
      #
  99.
      # Block out any script trying to set a mosConfig value through the URL
 100.
      RewriteCond %{QUERY_STRING} mosConfig_[a-zA-Z_]{1,21}(=|\%3D) [OR]
 101.
      # Block out any script trying to base64_encode crap to send via URL
 102.
      RewriteCond %{QUERY_STRING} base64_encode.*\(.*\) [OR]
 103.
      # Block out any script that includes a <script> tag in URL
 104.
      RewriteCond %{QUERY_STRING} (\<|%3C).*script.*(\>|%3E) [NC,OR]
 105.
      # Block out any script trying to set a PHP GLOBALS variable via URL
 106.
      RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
 107.
      # Block out any script trying to modify a _REQUEST variable via URL
 108.
      RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})
 109.
      # Send all blocked request to homepage with 403 Forbidden error!
 110.
      RewriteRule ^(.*)$ index.php [F,L]
 111.
      #
 112.
      ########## End - Rewrite rules to block out some common exploits
*

Arkadiy

  • Гуру
  • 5315
  • 462 / 2
  • Крепитесь, други.
Re: ошибка
« Ответ #3 : 16.04.2008, 21:10:51 »
  85.
      #RewriteCond %{REQUEST_URI} ^(/component/option,com) [NC,OR] ##optional - see notes##
  86.
      #RewriteCond %{REQUEST_URI} (/|\.htm|\.php|\.html|/[^.]*)$ [NC]
  87.
      #RewriteCond %{REQUEST_FILENAME} !-f
  88.
      #RewriteCond %{REQUEST_FILENAME} !-d
  89.
      #RewriteRule (.*) index.

По-моему это надо раскомментировать
*

petyp

  • Захожу иногда
  • 214
  • 0 / 0
Re: ошибка
« Ответ #4 : 17.04.2008, 10:45:43 »
ну вроде поправил фал .htaccess  но ссылки все равно какие то карявые  (http://сайт/content/view/10/35/)

##
# @version $Id: htaccess.txt,v 1.1.1.1 2007/01/03 08:58:48 ilobachev Exp $
# @package Joomla
# @copyright Copyright (C) 2005 Open Source Matters. All rights reserved.
# @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
# Joomla! is Free Software
##


#####################################################
#  READ THIS COMPLETELY IF YOU CHOOSE TO USE THIS FILE
#
# The line just below this section: 'Options +FollowSymLinks' may cause problems
# with some server configurations.  It is required for use of mod_rewrite, but may already
# be set by your server administrator in a way that dissallows changing it in
# your .htaccess file.  If using it causes your server to error out, comment it out (add # to
# beginning of line), reload your site in your browser and test your sef url's.  If they work,
# it has been set by your server administrator and you do not need it set here.
#
# Only use one of the two SEF sections that follow.  Lines that can be uncommented
# (and thus used) have only one #.  Lines with two #'s should not be uncommented
# In the section that you don't use, all lines should start with #
#
# For Standard SEF, use the standard SEF section.  You can comment out
# all of the RewriteCond lines and reduce your server's load if you
# don't have directories in your root named 'component' or 'content'
#
# If you are using a 3rd Party SEF or the Core SEF solution
# uncomment all of the lines in the '3rd Party or Core SEF' section
#
#####################################################

#####  SOLVING PROBLEMS WITH COMPONENT URL's that don't work #####
# SPECIAL NOTE FOR SMF USERS WHEN SMF IS INTEGRATED AND BRIDGED
# OR ANY SITUATION WHERE A COMPONENT's URL's AREN't WORKING
#
# In both the 'Standard SEF', and '3rd Party or Core SEF' sections the line:
# RewriteCond %{REQUEST_URI} ^(/component/option,com) [NC,OR] ##optional - see notes##
# May need to be uncommented.  If you are running your Joomla!/Mambo from
# a subdirectory the name of the subdirectory will need to be inserted into this
# line.  For example, if your Joomla!/Mambo is in a subdirectory called '/test/',
# change this:
# RewriteCond %{REQUEST_URI} ^(/component/option,com) [NC,OR] ##optional - see notes##
# to this:
# RewriteCond %{REQUEST_URI} ^(/test/component/option,com) [NC,OR] ##optional - see notes##
#
#####################################################


##  Can be commented out if causes errors, see notes above.
Options +FollowSymLinks

#
#  mod_rewrite in use

RewriteEngine On


#  Uncomment following line if your webserver's URL
#  is not directly related to physical file paths.
#  Update Your Joomla!/MamboDirectory (just / for root)

 RewriteBase /


########## Begin - Joomla! core SEF Section
############# Use this section if using ONLY Joomla! core SEF
## ALL (RewriteCond) lines in this section are only required if you actually
## have directories named 'content' or 'component' on your server
## If you do not have directories with these names, comment them out.
#
#RewriteCond %{REQUEST_FILENAME} !-f
#RewriteCond %{REQUEST_FILENAME} !-d
#RewriteCond %{REQUEST_URI} ^(/component/option,com) [NC,OR]       ##optional - see notes##
#RewriteCond %{REQUEST_URI} (/|\.htm|\.php|\.html|/[^.]*)$  [NC]
#RewriteRule ^(content/|component/) index.php
#
########## End - Joomla! core SEF Section



########## Begin - 3rd Party SEF Section
############# Use this section if you are using a 3rd party (Non Joomla! core) SEF extension - e.g. OpenSEF, 404_SEF, 404SEFx, SEF Advance, etc
#
RewriteCond %{REQUEST_URI} ^(/component/option,com) [NC,OR]       ##optional - see notes##
RewriteCond %{REQUEST_URI} (/|\.htm|\.php|\.html|/[^.]*)$  [NC]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (.*) index.php
#
########## End - 3rd Party SEF Section



########## Begin - Rewrite rules to block out some common exploits
## If you experience problems on your site block out the operations listed below
## This attempts to block the most common type of exploit `attempts` to Joomla!
#
# Block out any script trying to set a mosConfig value through the URL
RewriteCond %{QUERY_STRING} mosConfig_[a-zA-Z_]{1,21}(=|\%3D) [OR]
# Block out any script trying to base64_encode crap to send via URL
RewriteCond %{QUERY_STRING} base64_encode.*\(.*\) [OR]
# Block out any script that includes a <script> tag in URL
RewriteCond %{QUERY_STRING} (\<|%3C).*script.*(\>|%3E) [NC,OR]
# Block out any script trying to set a PHP GLOBALS variable via URL
RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
# Block out any script trying to modify a _REQUEST variable via URL
RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})
# Send all blocked request to homepage with 403 Forbidden error!
RewriteRule ^(.*)$ index.php [F,L]
#
########## End - Rewrite rules to block out some common exploits
*

Arkadiy

  • Гуру
  • 5315
  • 462 / 2
  • Крепитесь, други.
Re: ошибка
« Ответ #5 : 17.04.2008, 13:21:28 »
В .htaccess ничего больше не прибавить, ищите в настройках. УРЛ похож на подправленный родной.
*

petyp

  • Захожу иногда
  • 214
  • 0 / 0
Re: ошибка
« Ответ #6 : 17.04.2008, 20:39:45 »
т.е.?
*

Arkadiy

  • Гуру
  • 5315
  • 462 / 2
  • Крепитесь, други.
Re: ошибка
« Ответ #7 : 18.04.2008, 12:28:59 »
т.е.?
То есть встроенный джумловский а не опенсеф. Впечатление такое что sef в настройках включен, а опенсеф не пашет. Кстати а почему Опенсеф? он же умер уже, пробуй артио.
*

petyp

  • Захожу иногда
  • 214
  • 0 / 0
Re: ошибка
« Ответ #8 : 19.04.2008, 02:41:59 »
а дай ссылочку откуда скачать и сразу где можно посмотреть его настройки? :-)
*

Arkadiy

  • Гуру
  • 5315
  • 462 / 2
  • Крепитесь, други.
Re: ошибка
« Ответ #9 : 19.04.2008, 08:47:58 »
http://www.artio.net/, если joomla версии 1.0... тогда качать вторую версию Артио, если 1.5, то тройку.
Это компонент, настройки в компоненте.
« Последнее редактирование: 19.04.2008, 08:57:09 от Arkadiy »
Чтобы оставить сообщение,
Вам необходимо Войти или Зарегистрироваться
 

Ошибка при установке: XML Parsing Error at 19:47. Error 4: not well-formed (invalid token)

Автор chegevaro

Ответов: 10
Просмотров: 12127
Последний ответ 13.02.2009, 20:08:58
от benladen
Ошибка Fatal error Call to a member function getElementsByPath() on a non-object

Автор Lord-Freeman

Ответов: 3
Просмотров: 8875
Последний ответ 26.07.2008, 17:29:28
от Lord-Freeman
Сайт и 301 ошибка от Яндекс.вебмастер

Автор maksik

Ответов: 0
Просмотров: 3078
Последний ответ 26.03.2008, 10:28:35
от maksik
Что означает эта ошибка?!

Автор SNG

Ответов: 1
Просмотров: 2520
Последний ответ 10.12.2007, 15:41:43
от SNG