Prancz Ádám képe

Ehhez nem értek...
Van a domain nevem az alatt van egy Drupal könyvtár oda másoltam be a htaccess fileba a fenti szöveget.

Ha meghívom a www.domainnev.hu/Drupal/iso.html et akkor ezt át kellene irányítania a www.domainnev.hu/Drupal/iso-minositesunk-re, ami nem történik meg.

A .htaccess file tartalma:

#
# Apache/PHP/Drupal settings:
#

RewriteCond %{REQUEST_URI} iso.html [NC]
RewriteRule ^(.*)$ /iso-minosites [L,QSA,R=301]
 
# Protect files and directories from prying eyes.
<FilesMatch "\.(engine|inc|info|install|make|module|profile|test|po|sh|.*sql|theme|tpl(\.php)?|xtmpl|svn-base)$|^(code-style\.pl|Entries.*|Repository|Root|Tag|Template|all-wcprops|entries|format)$">
  Order allow,deny
</FilesMatch>
 
# Don't show directory listings for URLs which map to a directory.
Options -Indexes
 
# Follow symbolic links in this directory.
Options +FollowSymLinks
 
# Make Drupal handle any 404 errors.
ErrorDocument 404 /index.php
 
# Force simple error message for requests for non-existent favicon.ico.
<Files favicon.ico>
  # There is no end quote below, for compatibility with Apache 1.3.
  ErrorDocument 404 "The requested file favicon.ico was not found.
</Files>
 
# Set the default handler.
DirectoryIndex index.php
 
# Override PHP settings. More in sites/default/settings.php
# but the following cannot be changed at runtime.
 
# PHP 4, Apache 1.
<IfModule mod_php4.c>
  php_value magic_quotes_gpc                0
  php_value register_globals                0
  php_value session.auto_start              0
  php_value mbstring.http_input             pass
  php_value mbstring.http_output            pass
  php_value mbstring.encoding_translation   0
</IfModule>
 
# PHP 4, Apache 2.
<IfModule sapi_apache2.c>
  php_value magic_quotes_gpc                0
  php_value register_globals                0
  php_value session.auto_start              0
  php_value mbstring.http_input             pass
  php_value mbstring.http_output            pass
  php_value mbstring.encoding_translation   0
</IfModule>
 
# PHP 5, Apache 1 and 2.
<IfModule mod_php5.c>
  php_value magic_quotes_gpc                0
  php_value register_globals                0
  php_value session.auto_start              0
  php_value mbstring.http_input             pass
  php_value mbstring.http_output            pass
  php_value mbstring.encoding_translation   0
</IfModule>
 
# Requires mod_expires to be enabled.
<IfModule mod_expires.c>
  # Enable expirations.
  ExpiresActive On
 
  # Cache all files for 2 weeks after access (A).
  ExpiresDefault A1209600
 
  <FilesMatch \.php$>
    # Do not allow PHP scripts to be cached unless they explicitly send cache
    # headers themselves. Otherwise all scripts would have to overwrite the
    # headers set by mod_expires if they want another caching behavior. This may
    # fail if an error occurs early in the bootstrap process, and it may cause
    # problems if a non-Drupal PHP file is installed in a subdirectory.
    ExpiresActive Off
  </FilesMatch>
</IfModule>
 
# Various rewrite rules.
<IfModule mod_rewrite.c>
  RewriteEngine on
 
  # If your site can be accessed both with and without the 'www.' prefix, you
  # can use one of the following settings to redirect users to your preferred
  # URL, either WITH or WITHOUT the 'www.' prefix. Choose ONLY one option:
  #
  # To redirect all users to access the site WITH the 'www.' prefix,
  # (http://example.com/... will be redirected to http://www.example.com/...)
  # adapt and uncomment the following:
RewriteCond %{HTTP_HOST} ^example\.com$ [NC]
RewriteRule ^(.*)$ http://www.example.com/$1 [L,R=301]
 
  # To redirect all users to access the site WITHOUT the 'www.' prefix,
  # (http://www.example.com/... will be redirected to http://example.com/...)
  # uncomment and adapt the following:
  # RewriteCond %{HTTP_HOST} ^www\.example\.com$ [NC]
  # RewriteRule ^(.*)$ http://example.com/$1 [L,R=301]
 
  # Modify the RewriteBase if you are using Drupal in a subdirectory or in a
  # VirtualDocumentRoot and the rewrite rules are not working properly.
  # For example if your site is at http://example.com/drupal uncomment and
  # modify the following line:
  # RewriteBase /drupal
  #
  # If your site is running in a VirtualDocumentRoot at http://example.com/,
  # uncomment the following line:
  # RewriteBase /
 
  # Rewrite URLs of the form 'x' to the form 'index.php?q=x'.
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteCond %{REQUEST_URI} !=/favicon.ico
  RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
</IfModule>
 
# $Id: .htaccess,v 1.90.2.5 2010/02/02 07:25:22 dries Exp $

Mennyi idő kell, hogy ezek a beállítások életbe lépjenek? Azonnal kell mennie?

0
0
dabsol képe

user warning: MySQL server has gone away query: UPDATE cache_update SET data = 'a:26:{s:10:\"admin_menu\";a:10:{s:5:\"title\";s:19:\"Administration menu\";s:10:\"short_name\";s:10:\"admin_menu\";s:10:\"dc:creator\";s:3:\"sun\";s:11:\"api_version\";s:3:\"6.x\";s:17:\"recommended_major\";s:1:\"1\";s:16:\"supported_majors\";s:3:\"1,3\";s:13:\"default_major\";s:1:\"1\";s:14:\"project_status\";s:9:\"published\";s:4:\"link\";s:36:\"http://drupal.org/project/admin_menu\";s:8:\"releases\";a:14:{s:14:\"6.x-3.0-alpha4\";a:13:{s:4:\"name\";s:25:\"admin_menu 6.x-3.0-alpha4\";s:7:\"version\";s:14:\"6.x-3.0-alpha4\";s:3:\"tag\";s:20:\"DRUPAL-6--3-0-ALPHA4\";s:13:\"version_major\";s:1:\"3\";s:13:\"version_patch\";s:1:\"0\";s:13:\"version_extra\";s:6:\"alpha4\";s:6:\"status\";s:9:\"published\";s:12:\"release_link\";s:29:\"http://drupal.org/node/739026\";s:13:\"download_link\";s:69:\"http://ftp.drupal.org/files/projects/admin_menu-6.x-3.0-alpha4.tar.gz\";s:4:\"date\";s:10:\"1268274904\";s:6:\"mdhash\";s:32:\"ba93c801409700854965f87b5df72817\";s:8:\"filesize\";s:5:\"69865\";s:5:\"terms\";a:1:{s:12:\"Release type\";a:2:{i:0;s:12:\"New features\";i:1;s:9:\"Bug fixes\";}}}s:14:\"6.x-3.0-alpha3\";a:13:{s:4:\"name\";s:25:\"admin_menu 6.x-3.0-alpha3\";s:7:\"version\";s:14:\"6.x-3.0-alpha3\";s:3:\"tag\";s:20:\"DRUPAL-6--3-0-ALPHA3\";s:13:

Ez az eleje, az összes modult felsorolja...
A vége:

.0-alpha1\";a:13:{s:4:\"name\";s:22:\"wysiwyg 6.x-2.0-alpha1\";s:7:\"version\";s:14:\"6.x-2.0-alpha1\";s:3:\"tag\";s:20:\"DRUPAL-6--2-0-ALPHA1\";s:13:\"version_major\";s:1:\"2\";s:13:\"version_patch\";s:1:\"0\";s:13:\"version_extra\";s:6:\"alpha1\";s:6:\"status\";s:9:\"published\";s:12:\"release_link\";s:29:\"http://drupal.org/node/464872\";s:13:\"download_link\";s:66:\"http://ftp.drupal.org/files/projects/wysiwyg-6.x-2.0-alpha1.tar.gz\";s:4:\"date\";s:10:\"1242523576\";s:6:\"mdhash\";s:32:\"a745141da5436606e8bdf848cfd6da20\";s:8:\"filesize\";s:5:\"80232\";s:5:\"terms\";a:1:{s:12:\"Release type\";a:1:{i:0;s:12:\"New features\";}}}s:11:\"6.x-2.x-dev\";a:11:{s:4:\"name\";s:19:\"wysiwyg 6.x-2.x-dev\";s:7:\"version\";s:11:\"6.x-2.x-dev\";s:3:\"tag\";s:11:\"DRUPAL-6--2\";s:13:\"version_major\";s:1:\"2\";s:13:\"version_extra\";s:3:\"dev\";s:6:\"status\";s:9:\"published\";s:12:\"release_link\";s:29:\"http://drupal.org/node/365590\";s:13:\"download_link\";s:63:\"http://ftp.drupal.org/files/projects/wysiwyg-6.x-2.x-dev.tar.gz\";s:4:\"date\";s:10:\"1284121407\";s:6:\"mdhash\";s:32:\"02866872ed73634d380e242387fe13dd\";s:8:\"filesize\";s:6:\"113450\";}s:7:\"6.x-1.2\";a:10:{s:4:\"name\";s:15:\"wysiwyg 6.x-1.2\";s:7:\"version\";s:7:\"6.x-1.2\";s:3:\"tag\";s:13:\"DRUPAL-6--1-2\";s:13:\"version_major\";s:1:\"1\";s:13:\"version_patch\";s:1:\"2\";s:6:\"status\";s:11:\"unpublished\";s:4:\"date\";s:10:\"1242522960\";s:6:\"mdhash\";s:32:\"4d4e038fb609ad57b7430a563f03fd09\";s:8:\"filesize\";s:5:\"65875\";s:5:\"terms\";a:1:{s:12:\"Release type\";a:1:{i:0;s:9:\"Bug fixes\";}}}s:7:\"6.x-1.1\";a:10:{s:4:\"name\";s:15:\"wysiwyg 6.x-1.1\";s:7:\"version\";s:7:\"6.x-1.1\";s:3:\"tag\";s:13:\"DRUPAL-6--1-1\";s:13:\"version_major\";s:1:\"1\";s:13:\"version_patch\";s:1:\"1\";s:6:\"status\";s:11:\"unpublished\";s:4:\"date\";s:10:\"1236562853\";s:6:\"mdhash\";s:32:\"e0d84b73c7f903d9f50e96ff39e15c4a\";s:8:\"filesize\";s:5:\"65534\";s:5:\"terms\";a:1:{s:12:\"Release type\";a:1:{i:0;s:9:\"Bug fixes\";}}}s:7:\"6.x-1.0\";a:10:{s:4:\"name\";s:15:\"wysiwyg 6.x-1.0\";s:7:\"version\";s:7:\"6.x-1.0\";s:3:\"tag\";s:13:\"DRUPAL-6--1-0\";s:13:\"version_major\";s:1:\"1\";s:13:\"version_patch\";s:1:\"0\";s:6:\"status\";s:11:\"unpublished\";s:4:\"date\";s:10:\"1234552285\";s:6:\"mdhash\";s:32:\"47f4db6f8b9f711835203a1a04c4c287\";s:8:\"filesize\";s:5:\"59227\";s:5:\"terms\";a:1:{s:12:\"Release type\";a:2:{i:0;s:12:\"New features\";i:1;s:9:\"Bug fixes\";}}}s:11:\"6.x-1.x-dev\";a:9:{s:4:\"name\";s:19:\"wysiwyg 6.x-1.x-dev\";s:7:\"version\";s:11:\"6.x-1.x-dev\";s:3:\"tag\";s:11:\"DRUPAL-6--1\";s:13:\"version_major\";s:1:\"1\";s:13:\"version_extra\";s:3:\"dev\";s:6:\"status\";s:11:\"unpublished\";s:4:\"date\";s:10:\"1244161854\";s:6:\"mdhash\";s:32:\"88d40ccdebd0bb3dd21f6890adf60bfd\";s:8:\"filesize\";s:5:\"71871\";}s:7:\"6.x-0.5\";a:10:{s:4:\"name\";s:15:\"wysiwyg 6.x-0.5\";s:7:\"version\";s:7:\"6.x-0.5\";s:3:\"tag\";s:13:\"DRUPAL-6--0-5\";s:13:\"version_major\";s:1:\"0\";s:13:\"version_patch\";s:1:\"5\";s:6:\"status\";s:11:\"unpublished\";s:4:\"date\";s:10:\"1228142425\";s:6:\"mdhash\";s:32:\"dfc9b006642cda543fd17c841462cee2\";s:8:\"filesize\";s:5:\"54206\";s:5:\"terms\";a:1:{s:12:\"Release type\";a:2:{i:0;s:12:\"New features\";i:1;s:9:\"Bug fixes\";}}}s:7:\"6.x-0.4\";a:10:{s:4:\"name\";s:15:\"wysiwyg 6.x-0.4\";s:7:\"version\";s:7:\"6.x-0.4\";s:3:\"tag\";s:13:\"DRUPAL-6--0-4\";s:13:\"version_major\";s:1:\"0\";s:13:\"version_patch\";s:1:\"4\";s:6:\"status\";s:11:\"unpublished\";s:4:\"date\";s:10:\"1224021920\";s:6:\"mdhash\";s:32:\"db01863f705e57477d6508bd083c75f2\";s:8:\"filesize\";s:5:\"50865\";s:5:\"terms\";a:1:{s:12:\"Release type\";a:2:{i:0;s:12:\"New features\";i:1;s:9:\"Bug fixes\";}}}s:7:\"6.x-0.3\";a:10:{s:4:\"name\";s:15:\"wysiwyg 6.x-0.3\";s:7:\"version\";s:7:\"6.x-0.3\";s:3:\"tag\";s:13:\"DRUPAL-6--0-3\";s:13:\"version_major\";s:1:\"0\";s:13:\"version_patch\";s:1:\"3\";s:6:\"status\";s:11:\"unpublished\";s:4:\"date\";s:10:\"1221251441\";s:6:\"mdhash\";s:32:\"3fd04f042435a957e4abed89ab71e4ea\";s:8:\"filesize\";s:5:\"45967\";s:5:\"terms\";a:1:{s:12:\"Release type\";a:1:{i:0;s:9:\"Bug fixes\";}}}}s:14:\"latest_version\";s:7:\"6.x-2.1\";s:11:\"recommended\";s:7:\"6.x-2.1\";s:6:\"status\";i:5;}s:3:\"zen\";a:23:{s:4:\"name\";s:3:\"zen\";s:4:\"info\";a:5:{s:4:\"name\";s:3:\"Zen\";s:7:\"version\";s:7:\"6.x-2.0\";s:7:\"project\";s:3:\"zen\";s:9:\"datestamp\";s:10:\"1277583313\";s:16:\"_info_file_ctime\";i:1284584568;}s:9:\"datestamp\";s:10:\"1277583313\";s:8:\"includes\";a:1:{s:3:\"zen\";s:3:\"Zen\";}s:12:\"project_type\";s:5:\"theme\";s:10:\"sub_themes\";a:1:{s:6:\"planta\";s:6:\"planta\";}s:11:\"base_themes\";a:0:{}s:16:\"existing_version\";s:7:\"6.x-2.0\";s:14:\"existing_major\";s:1:\"2\";s:12:\"install_type\";s:8:\"official\";s:5:\"title\";s:3:\"Zen\";s:10:\"short_name\";s:3:\"zen\";s:10:\"dc:creator\";s:9:\"JohnAlbin\";s:11:\"api_version\";s:3:\"6.x\";s:17:\"recommended_major\";s:1:\"2\";s:16:\"supported_majors\";s:3:\"1,2\";s:13:\"default_major\";s:1:\"1\";s:14:\"project_status\";s:9:\"published\";s:4:\"link\";s:29:\"http://drupal.org/project/zen\";s:8:\"releases\";a:9:{s:7:\"6.x-2.0\";a:12:{s:4:\"name\";s:11:\"zen 6.x-2.0\";s:7:\"version\";s:7:\"6.x-2.0\";s:3:\"tag\";s:13:\"DRUPAL-6--2-0\";s:13:\"version_major\";s:1:\"2\";s:13:\"version_patch\";s:1:\"0\";s:6:\"status\";s:9:\"published\";s:12:\"release_link\";s:29:\"http://drupal.org/node/838400\";s:13:\"download_link\";s:55:\"http://ftp.drupal.org/files/projects/zen-6.x-2.0.tar.gz\";s:4:\"date\";s:10:\"1277583313\";s:6:\"mdhash\";s:32:\"f1c9043ab101550e16353ab33f22ee2f\";s:8:\"filesize\";s:6:\"180354\";s:5:\"terms\";a:1:{s:12:\"Release type\";a:2:{i:0;s:12:\"New features\";i:1;s:9:\"Bug fixes\";}}}s:13:\"6.x-2.0-beta1\";a:13:{s:4:\"name\";s:17:\"zen 6.x-2.0-beta1\";s:7:\"version\";s:13:\"6.x-2.0-beta1\";s:3:\"tag\";s:19:\"DRUPAL-6--2-0-BETA1\";s:13:\"version_major\";s:1:\"2\";s:13:\"version_patch\";s:1:\"0\";s:13:\"version_extra\";s:5:\"beta1\";s:6:\"status\";s:9:\"published\";s:12:\"release_link\";s:29:\"http://drupal.org/node/628468\";s:13:\"download_link\";s:61:\"http://ftp.drupal.org/files/projects/zen-6.x-2.0-beta1.tar.gz\";s:4:\"date\";s:10:\"1257843993\";s:6:\"mdhash\";s:32:\"08015c0d0b040dba9721a05fc99768e4\";s:8:\"filesize\";s:6:\"153722\";s:5:\"terms\";a:1:{s:12:\"Release type\";a:2:{i:0;s:12:\"New features\";i:1;s:9:\"Bug fixes\";}}}s:11:\"6.x-2.x-dev\";a:12:{s:4:\"name\";s:15:\"zen 6.x-2.x-dev\";s:7:\"version\";s:11:\"6.x-2.x-dev\";s:3:\"tag\";s:11:\"DRUPAL-6--2\";s:13:\"version_major\";s:1:\"2\";s:13:\"version_extra\";s:3:\"dev\";s:6:\"status\";s:9:\"published\";s:12:\"release_link\";s:29:\"http://drupal.org/node/373826\";s:13:\"download_link\";s:59:\"http://ftp.drupal.org/files/projects/zen-6.x-2.x-dev.tar.gz\";s:4:\"date\";s:10:\"1284510232\";s:6:\"mdhash\";s:32:\"9dadd71ff54cf2b042b736273510f37e\";s:8:\"filesize\";s:6:\"178979\";s:5:\"terms\";a:1:{s:12:\"Release type\";a:1:{i:0;s:12:\"New features\";}}}s:7:\"6.x-1.1\";a:12:{s:4:\"name\";s:11:\"zen 6.x-1.1\";s:7:\"version\";s:7:\"6.x-1.1\";s:3:\"tag\";s:13:\"DRUPAL-6--1-1\";s:13:\"version_major\";s:1:\"1\";s:13:\"version_patch\";s:1:\"1\";s:6:\"status\";s:9:\"published\";s:12:\"release_link\";s:29:\"http://drupal.org/node/628480\";s:13:\"download_link\";s:55:\"http://ftp.drupal.org/files/projects/zen-6.x-1.1.tar.gz\";s:4:\"date\";s:10:\"1257845814\";s:6:\"mdhash\";s:32:\"1a64f7b9d24d520ba3ffca641937595c\";s:8:\"filesize\";s:6:\"134849\";s:5:\"terms\";a:1:{s:12:\"Release type\";a:2:{i:0;s:12:\"New features\";i:1;s:9:\"Bug fixes\";}}}s:7:\"6.x-1.0\";a:12:{s:4:\"name\";s:11:\"zen 6.x-1.0\";s:7:\"version\";s:7:\"6.x-1.0\";s:3:\"tag\";s:13:\"DRUPAL-6--1-0\";s:13:\"version_major\";s:1:\"1\";s:13:\"version_patch\";s:1:\"0\";s:6:\"status\";s:9:\"published\";s:12:\"release_link\";s:29:\"http://drupal.org/node/374119\";s:13:\"download_link\";s:55:\"http://ftp.drupal.org/files/projects/zen-6.x-1.0.tar.gz\";s:4:\"date\";s:10:\"1234555897\";s:6:\"mdhash\";s:32:\"334c0a648b2e1b5f80e9e5e0754869a4\";s:8:\"filesize\";s:6:\"383930\";s:5:\"terms\";a:1:{s:12:\"Release type\";a:2:{i:0;s:12:\"New features\";i:1;s:9:\"Bug fixes\";}}}s:13:\"6.x-1.0-beta3\";a:13:{s:4:\"name\";s:17:\"zen 6.x-1.0-beta3\";s:7:\"version\";s:13:\"6.x-1.0-beta3\";s:3:\"tag\";s:19:\"DRUPAL-6--1-0-beta3\";s:13:\"version_major\";s:1:\"1\";s:13:\"version_patch\";s:1:\"0\";s:13:\"version_extra\";s:5:\"beta3\";s:6:\"status\";s:9:\"published\";s:12:\"release_link\";s:29:\"http://drupal.org/node/308618\";s:13:\"download_link\";s:61:\"http://ftp.drupal.org/files/projects/zen-6.x-1.0-beta3.tar.gz\";s:4:\"date\";s:10:\"1221475935\";s:6:\"mdhash\";s:32:\"af4627f4d61ec1f3642d6c6ddc38ac7f\";s:8:\"filesize\";s:6:\"337959\";s:5:\"terms\";a:1:{s:12:\"Release type\";a:2:{i:0;s:12:\"New features\";i:1;s:9:\"Bug fixes\";}}}s:13:\"6.x-1.0-beta2\";a:13:{s:4:\"name\";s:17:\"zen 6.x-1.0-beta2\";s:7:\"version\";s:13:\"6.x-1.0-beta2\";s:3:\"tag\";s:19:\"DRUPAL-6--1-0-beta2\";s:13:\"version_major\";s:1:\"1\";s:13:\"version_patch\";s:1:\"0\";s:13:\"version_extra\";s:5:\"beta2\";s:6:\"status\";s:9:\"published\";s:12:\"release_link\";s:29:\"http://drupal.org/node/260642\";s:13:\"download_link\";s:61:\"http://ftp.drupal.org/files/projects/zen-6.x-1.0-beta2.tar.gz\";s:4:\"date\";s:10:\"1211289618\";s:6:\"mdhash\";s:32:\"18f3526daa89f623b17aee41336e92ce\";s:8:\"filesize\";s:6:\"327638\";s:5:\"terms\";a:1:{s:12:\"Release type\";a:1:{i:0;s:9:\"Bug fixes\";}}}s:13:\"6.x-1.0-beta1\";a:13:{s:4:\"name\";s:17:\"zen 6.x-1.0-beta1\";s:7:\"version\";s:13:\"6.x-1.0-beta1\";s:3:\"tag\";s:19:\"DRUPAL-6--1-0-beta1\";s:13:\"version_major\";s:1:\"1\";s:13:\"version_patch\";s:1:\"0\";s:13:\"version_extra\";s:5:\"beta1\";s:6:\"status\";s:9:\"published\";s:12:\"release_link\";s:29:\"http://drupal.org/node/258509\";s:13:\"download_link\";s:61:\"http://ftp.drupal.org/files/projects/zen-6.x-1.0-beta1.tar.gz\";s:4:\"date\";s:10:\"1210787719\";s:6:\"mdhash\";s:32:\"a99d11312abcc0e057ceb664f3c6ac90\";s:8:\"filesize\";s:6:\"327549\";s:5:\"terms\";a:1:{s:12:\"Release type\";a:1:{i:0;s:12:\"New features\";}}}s:11:\"6.x-1.x-dev\";a:11:{s:4:\"name\";s:15:\"zen 6.x-1.x-dev\";s:7:\"version\";s:11:\"6.x-1.x-dev\";s:3:\"tag\";s:11:\"DRUPAL-6--1\";s:13:\"version_major\";s:1:\"1\";s:13:\"version_extra\";s:3:\"dev\";s:6:\"status\";s:9:\"published\";s:12:\"release_link\";s:28:\"http://drupal.org/node/96810\";s:13:\"download_link\";s:59:\"http://ftp.drupal.org/files/projects/zen-6.x-1.x-dev.tar.gz\";s:4:\"date\";s:10:\"1284510231\";s:6:\"mdhash\";s:32:\"4b3b0143a60f9d4733b864e0f44338a2\";s:8:\"filesize\";s:6:\"135762\";}}s:14:\"latest_version\";s:7:\"6.x-2.0\";s:11:\"recommended\";s:7:\"6.x-2.0\";s:6:\"status\";i:5;}}', created = 1284731601, expire = 1284735201, serialized = 1 WHERE cid = 'update_project_data' in /web/PAH/plant.hu/modules/update/update.module on line 554.
user warning: MySQL server has gone away query: SELECT s.lid, t.translation, s.version FROM locales_source s LEFT JOIN locales_target t ON s.lid = t.lid AND t.language = 'hu' WHERE s.source = 'There are updates available for one or more of your modules or themes. To ensure the proper functioning of your site, you should update as soon as possible.' AND s.textgroup = 'default' in /web/PAH/plant.hu/modules/locale/locale.module on line 375.
user warning: MySQL server has gone away query: INSERT INTO locales_source (location, source, textgroup, version) VALUES ('/hu/admin/build/modules', 'There are updates available for one or more of your modules or themes. To ensure the proper functioning of your site, you should update as soon as possible.', 'default', '6.19') in /web/PAH/plant.hu/modules/locale/locale.module on line 391.
user warning: MySQL server has gone away query: DELETE FROM cache WHERE cid LIKE 'locale:%' in /web/PAH/plant.hu/includes/cache.inc on line 175.
user warning: MySQL server has gone away query: SELECT s.lid, t.translation, s.version FROM locales_source s LEFT JOIN locales_target t ON s.lid = t.lid AND t.language = 'hu' WHERE s.source = 'See the available updates page for more information.' AND s.textgroup = 'default' in /web/PAH/plant.hu/modules/locale/locale.module on line 375.
user warning: MySQL server has gone away query: INSERT INTO locales_source (location, source, textgroup, version) VALUES ('/hu/admin/build/modules', 'See the available updates page for more information.', 'default', '6.19') in /web/PAH/plant.hu/modules/locale/locale.module on line 391.
user warning: MySQL server has gone away query: DELETE FROM cache WHERE cid LIKE 'locale:%' in /web/PAH/plant.hu/includes/cache.inc on line 175.
user warning: MySQL server has gone away query: SELECT s.lid, t.translation, s.version FROM locales_source s LEFT JOIN locales_target t ON s.lid = t.lid AND t.language = 'hu' WHERE s.source = 'See the available updates page for information on installed modules and themes with new versions released.' AND s.textgroup = 'default' in /web/PAH/plant.hu/modules/locale/locale.module on line 375.
user warning: MySQL server has gone away query: INSERT INTO locales_source (location, source, textgroup, version) VALUES ('/hu/admin/build/modules', 'See the available updates page for information on installed modules and themes with new versions released.', 'default', '6.19') in /web/PAH/plant.hu/modules/locale/locale.module on line 391.
user warning: MySQL server has gone away query: DELETE FROM cache WHERE cid LIKE 'locale:%' in /web/PAH/plant.hu/includes/cache.inc on lin

0
0
szt képe

Lehet, hogy a line-height megoldja, de ha ez normális html, akkor megeszem a sapimat :)
Nem muszáj javítani, végül is jól néz ki...

  1. <div class="megamenuWrapper">
  2. <ul class="megamenu-section">
  3. <li id="menu-section-title-708" class="menu-section-title">
  4. <a title="ELTE Téli Bajnokság nevezési határidő" href="/elte-t-li-bajnoks-g-nevez-si-hat-rid">ELTE Téli Bajnokság</a>
  5. <ul class="megamenu-section">
  6. <li id="menu-section-title-709" class="menu-section-title">
  7. <a title="ELTE Sítábor" href="/elte-s-t-bor">ELTE Sítábor</a>
  8. <ul class="megamenu-section">
  9. <li id="menu-section-title-710" class="menu-section-title">
  10. <a title="IV. Kárpát-medencei Egyetemek Kupája" href="/iv-k-rp-t-medencei-egyetemek-kup-ja">IV. Kárpát-medencei Egyetemek Kupája</a>
  11. <ul class="megamenu-section">
  12. <li id="menu-section-title-711" class="menu-section-title">
  13. <a title="Lágymányosi Focibajnokságok tavaszi nevezési határideje" href="/l-gym-nyosi-focibajnoks-gok-tavaszi-nevez-si-hat-rideje">Lágymányosi Focibajnokságok</a>
  14. <ul class="megamenu-section">
  15. <li id="menu-section-title-712" class="menu-section-title">
  16. <a title="SportPontProgram & Fesztivál" href="/sportpontprogram-fesztiv-l">SportPontProgram & Fesztivál</a>
  17. <ul class="megamenu-section">
  18. <li id="menu-section-title-713" class="menu-section-title">
  19. <a title="Sárga70 Teljesítménytúra" href="/s-rga70-teljes-tm-nyt-ra">Sárga70 Teljesítménytúra</a>
  20. <ul class="megamenu-section">
  21. <li id="menu-section-title-714" class="menu-section-title">
  22. <a title="XXIV. 5vös 5km" href="/xxiv-5v-s-5km">XXIV. 5vös 5km</a>
  23. </li>
  24. </ul>
  25. </li>
  26. </ul>
  27. </li>
  28. </ul>
  29. </li>
  30. </ul>
  31. </li>
  32. </ul>
  33. </li>
  34. </ul>
  35. </li>
  36. </ul>
  37. </div>

OFF: amikor valaki konkrét linket mutat, akkor óhatatlanul is észrevesz fura dolgokat, amik lehet, hogy kapcsolódnak az eredeti problémához, de lehet, hogy nem. Pl.: az ilyen linkek, hogy "elte-t-li-bajnoks-g-nevez-si-hat-rid" nem tartozik ide, jól is működik, de hiba ;)

1
0
Balu Ertl képe

Összehasonlítva a 8.1.8 docroot-ban lévő .htaccess-ével:

  1. diff --git a/gyari.txt b/ove.txt
  2. index 4716fa1..bb43769 100644
  3. --- a/gyari.txt
  4. +++ b/ove.txt
  5. @@ -3,7 +3,7 @@
  6. #
  7.  
  8. # Protect files and directories from prying eyes.
  9. -<FilesMatch "\.(engine|inc|install|make|module|profile|po|sh|.*sql|theme|twig|tpl(\.php)?|xtmpl|yml)(~|\.sw[op]|\.bak|\.orig|\.save)?$|^(\.(?!well-known).*|Entries.*|Repository|Root|Tag|Template|composer\.(json|lock))$|^#.*#$|\.php(~|\.sw[op]|\.bak|\.orig|\.save)$">
  10. +<FilesMatch "\.(engine|inc|install|make|module|profile|po|sh|.*sql|theme|twig|tpl(\.php)?|xtmpl|yml)(~|\.sw[op]|\.bak|\.orig|\.save)?$|^(\..*|Entries.*|Repository|Root|Tag|Template)$|^#.*#$|\.php(~|\.sw[op]|\.bak|\.orig|\.save)$">
  11. <IfModule mod_authz_core.c>
  12. Require all denied
  13. </IfModule>
  14. @@ -93,7 +93,7 @@ AddEncoding gzip svgz
  15. # If you do not have mod_rewrite installed, you should remove these
  16. # directories from your webroot or otherwise protect them from being
  17. # downloaded.
  18. - RewriteRule "(^|/)\.(?!well-known)" - [F]
  19. + RewriteRule "(^|/)\." - [F]
  20.  
  21. # If your site can be accessed both with and without the 'www.' prefix, you
  22. # can use one of the following settings to redirect users to your preferred
  23. @@ -120,7 +120,7 @@ AddEncoding gzip svgz
  24. #
  25. # If your site is running in a VirtualDocumentRoot at http://example.com/,
  26. # uncomment the following line:
  27. - # RewriteBase /
  28. + RewriteBase /build/d8/free-theme/d8-free-theme/
  29.  
  30. # Redirect common PHP files to their new locations.
  31. RewriteCond %{REQUEST_URI} ^(.*)?/(install.php) [OR]
  32. @@ -180,10 +180,8 @@ AddEncoding gzip svgz
  33. </IfModule>
  34. </IfModule>
  35.  
  36. -# Various header fixes.
  37. +# Add headers to all responses.
  38. <IfModule mod_headers.c>
  39. # Disable content sniffing, since it's an attack vector.
  40. Header always set X-Content-Type-Options nosniff
  41. - # Disable Proxy header, since it's an attack vector.
  42. - RequestHeader unset Proxy
  43. </IfModule>
  44. (END)

Az általad belinkelt .htaccess a sminkkel (Drupal-zsargonban így nevezzük a kinézeteket) együtt települt fel és írta felül a Drupal 8.1.8 gyáriját? Ha igen, akkor kipróbáltad előtte, hogy önmagában a gyári Drupal rendben futott-e? Ha esetleg nem, akkor szerintem érdemes lenne, és csak azután hozzáadni külső forrásokból származó, 3rd-party funkciókat.

Az átirányítások nem megfelelő működését okozhatja például a RewriteBase átállítása is a 27.-28. sorban.

0
0
tibi képe

Sziasztok,

ismét segítségre lenne szükségem, mert nem jövök rá, hogy modulon belül, hogy tudom használni a while ciklust. Van egy ciklusom ami a könyvtárban található képeket listázza ki, tökéletesen működik egy "nyers" php fájlként. De nem tudom, hogy ezt hogyan tudnám integrálni a modulomba.

Amit szeretnék integrálni a modulomba:

if($kepekk = @opendir("files/kepek/")){
    $kepek = array(".bmp", ".gif", ".jpeg", ".jpg", ".png", "");
    $kepszamolo = 1;
    while($kep = @readdir($kepekk)) {
        if  (in_array(strtolower(strrchr($kep, ".")), $kepek)) {
             if ($thumb_per_sor == 8) {
			echo "  </tr>\n"."  <tr>\n";
                $thumb_per_sor = 0;
            }
            list ($szelesseg, $magassag) = @getimagesize("files/kepek/".$kep);
          echo  "<td>\n"."<a href=\"/files/kepek/".$kep."\">\n"."<img style=\"border: 0px; vertical-align: middle; width: ".ceil(($szelesseg / 10)).";\" src=\"files/kepek/".$kep."\" alt=\"".$kep."\" />\n"."</a>\n"."</td>\n";
            $kepszamolo++;
        }
    }
    @closedir($kepekk);
}

Próbáltam, hogy amit echoval kiír azt adom a függyvény kimeneti értékére de nem jött össze. Annyira ment, hogy az első képet kiadta rendesen és annyi. Abban szeretném a segítségeteket kérni, hogy modulon belül, hogyan használhatom legjobban a ciklusokat, hogy a drupalnak erre van e sémája? Segítségeteket előre is köszönöm.

T.

0
0
nevergone képe

Szóval továbbjutottam magamban.

Megy a feltöltés, működik szépen, de sem a _validate(), sem a _submit() függvényben nem tudom megszerezni a fájlnevet. Ha a _validate() -t nem használom, akkor fel tudok tölteni mindent. Továbbra is hiába iratom ki a változók értékeit a függvényekben, a fájlnév nincs benne, valami olyasmivel is jól kijönnék, ami a
file_save_upload ('filename', '', file_directory_temp()); -hoz hasonlóan megszerzi a megadott form-elemből a fájlnév értékét.

Szóval ez most elvégzi a feltöltést, ki tudnátok belőle varázsolni a fájlnevet?

/* hook_menu () implementacio */
function xy_import_menu ()  {
  $items['admin/xy'] = array (
    'title' => 'xy',
    'type' => MENU_CALLBACK,
    'page callback' => 'drupal_get_form',
    'page arguments' => array ('xy_import_admin'),
    'access arguments' => array('administer access'),
  );
  return $items;
}
 
/* admin oldal elkeszitese Form API -val*/
function xy_import_admin () {
  $form['filename'] = array(
    '#type' => 'file',
    '#title' => 'fajlnev',
    '#size' => 40,
  );
  $form['import'] = array(
    '#type' => 'submit',
    '#value' => t('Import'),
  );
  // ha ez kimarad, nem megy a fajlfeltoltes
  $form['#attributes']['enctype'] = 'multipart/form-data';
  return $form;
}
 
/* elkuldik az urlapot a rendszerbe */
function xy_import_admin_submit ($form_id, $form_values)  {
  $ertek=file_save_upload ('filename', '', file_directory_temp());
}

Ui.:
A

  print ('<pre>');
  print_r ($_FILES);
  print ('</pre>');

segített a fájlnévben (jó volt újra belelesni a file_save_upload() forrásába), de nem tudom, hogy ez mennyire használható.

Elnézést, hogy itt feleslegesen "spammelek", de gondoltam másokat is érdekelhet a aprobléma megoldása.

0
0
Pál úr képe

Inkább a szolgáltató környékén kellene szétnézni, mert

Warning: Table './rexamoco_multik/sessions' is marked as crashed and should be repaired query: SELECT u.*, s.* FROM users u INNER JOIN sessions s ON u.uid = s.uid WHERE s.sid = '0b170bd30cc49e4d00fb3b9203408569' in /home/rexamoco/public_html/multik/includes/database.mysql.inc on line 172
 
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/rexamoco/public_html/multik/includes/database.mysql.inc:172) in /home/rexamoco/public_html/multik/includes/bootstrap.inc on line 862
 
Warning: Cannot modify header information - headers already sent by (output started at /home/rexamoco/public_html/multik/includes/database.mysql.inc:172) in /home/rexamoco/public_html/multik/includes/bootstrap.inc on line 558
 
Warning: Cannot modify header information - headers already sent by (output started at /home/rexamoco/public_html/multik/includes/database.mysql.inc:172) in /home/rexamoco/public_html/multik/includes/bootstrap.inc on line 560
 
Warning: Table './rexamoco_multik/sessions' is marked as crashed and should be repaired query: SELECT sid FROM sessions WHERE sid = '0b170bd30cc49e4d00fb3b9203408569' in /home/rexamoco/public_html/multik/includes/database.mysql.inc on line 172
 
Warning: Table './rexamoco_multik/sessions' is marked as crashed and should be repaired query: INSERT INTO sessions (sid, uid, cache, hostname, session, timestamp) VALUES ('0b170bd30cc49e4d00fb3b9203408569', 0, 0, '62.112.212.10', '', 1227095792) in /home/rexamoco/public_html/multik/includes/database.mysql.inc on line 172
hibát viszont dob az oldal.

P.

0
0
Csete Attila képe

Megpróbáltam a változtatásokkal.

Nem ment így sem. Az alapháttért betöltötte, de semmi többet.

A page.tpl.php így néz ki:
(a fejléckép igazából a header-inner háttere most, így ott is kipróbáltam)
Illetve kipróbáltam még a zen_random_header -el is), de semmi.

Van még tipped, hogy mi lehet?

    <div id="header" <?php print eneklesponthu_alap_random_header(); ?> ><div id="header-inner" class="clear-block">
 
      <?php if ($logo || $site_name || $site_slogan): ?>
        <div id="logo-title">
 
          <?php if ($logo): ?>
            <div id="logo"><a href="szerkesztoket-keresunk" title="<?php print t('Home'); ?>" rel="home"><img src="<?php print $logo; ?>" alt="<?php print t('Home'); ?>" id="logo-image" /></a></div>
          <?php endif; ?>
 
          <?php if ($site_name): ?>
            <?php
              // Use an H1 only on the homepage
              $tag = $is_front ? 'h1' : 'div';
            ?>
            <<?php print $tag; ?> id='site-name'><strong>
              <a href="<?php print $base_path; ?>" title="<?php print t('Home'); ?>" rel="home">
                <?php print $site_name; ?>
              </a>
            </strong></<?php print $tag; ?>>
          <?php endif; ?>
 
          <?php if ($site_slogan): ?>
            <div id='site-slogan'><?php print $site_slogan; ?></div>
          <?php endif; ?>
 
        </div> <!-- /#logo-title -->
      <?php endif; ?>
 
      <?php if ($header): ?>
        <div id="header-blocks">
          <?php print $header; ?>
        </div> <!-- /#header-blocks -->
      <?php endif; ?>
 
    </div></div> <!-- /#header-inner, /#header -->
0
0
makgab képe

hi!

Már csak a szotar_edit maradt megoldatlanul. :)

<?php
function szotar_edit(&$form_state, $szotar) {
  $form['szotarid'] = array(
  '#type' => 'textfield',
  '#title' => 'Szótár ID',
  '#size' => 50,
  '#maxlength' => 50,
  '#required' => TRUE,
  '#value' => $szotar['SZOTARID'],
  );
  $form['nev'] = array(
  '#type' => 'textfield',
  '#title' => 'Szótár név',
  '#size' => 50,
  '#maxlength' => 50,
  '#required' => TRUE,
  '#value' => $szotar['NEV'],
  );
  $res = db_query( "SELECT CSOPORTID, CSOPNEV FROM {SZOTARCSOP} ORDER BY CSOPNEV" );
  while ( $record = db_fetch_array( $res ) ) {
    $res_arr[$record['CSOPORTID']] = $record['CSOPNEV'];
  }
  $form['csoportid'] = array(
  '#type' => 'select',
  '#title' => 'Csoport',
  '#required' => TRUE,
  '#options' => $res_arr,
  '#description' => 'Kérem válasszon a csoportból!',
  '#value' => $szotar['CSOPORTID'],
  );
  $form['submit'] = array(
  '#type' => 'submit',
  '#value' => t('Save'),
  );
  return $form;
}
?>

I. A form megjelenik, pl.:
Szótár ID: 2
Szótár név: 2
Csoport: 'Masodik csop'
Kérem válasszon a csoportból!

A név mezőbe is az ID kerül és nem látom, hogy miért? :)

II. A "Szótár ID" mezőt nem szeretném, hogy a userek módosítsák. Lehet azt read-only-vá tenni valahogy?

G.

0
0