Warning: Cannot use a scalar value as an array in /home/admin/public_html/forum/include/fm.class.php on line 757

Warning: Invalid argument supplied for foreach() in /home/admin/public_html/forum/include/fm.class.php on line 770
Форумы портала PHP.SU :: Версия для печати :: 500 Internal Server Error
Форумы портала PHP.SU » » CMS и фреймворки » 500 Internal Server Error

Страниц (1): [1]
 

1. MBmusic - 13 Мая, 2012 - 20:03:15 - перейти к сообщению
в общем закинул джумлу на сервер......запускаю в браузере и выдает ошибку:

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@dummy-host.probook.home and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.


Прикол в том что раньше все было ок, а щас заново закинул и решил установить, и вот пожайлуста......ошибка( в чем проблема то???
3. MBmusic - 14 Мая, 2012 - 15:53:40 - перейти к сообщению
эмм......почитал статью, и ничего не помогло из сказаного в ней(
(Добавление)
там написано что ошибка возникает после установки цмс или во время установки......у меня же возникает сразу ошибка......вообще ничего не хочет запускать(
4. Okula - 14 Мая, 2012 - 15:58:24 - перейти к сообщению
MBmusic, ошибка в файле .htaccess
Ищи, исправляй. Без содержимого файла тебе никто не поможет. Экстрасенсов тут нет.
5. MBmusic - 14 Мая, 2012 - 16:23:48 - перейти к сообщению
вот содерживое файла .htaccess, ошибка в нем, потому что если все убрать из этого файла то джумла запускается на ура......но вот я не знаю что именно надо здесь подредачить......пробовал, експериментировал, ничего не выходило...
CODE (htmlphp):
скопировать код в буфер обмена
  1. ##
  2. # @package              Joomla
  3. # @copyright    Copyright (C) 2005 - 2012 Open Source Matters. All rights reserved.
  4. # @license              GNU General Public License version 2 or later; see LICENSE.txt
  5. ##
  6.  
  7. ##
  8. # READ THIS COMPLETELY IF YOU CHOOSE TO USE THIS FILE!
  9. #
  10. # The line just below this section: 'Options +FollowSymLinks' may cause problems
  11. # with some server configurations.  It is required for use of mod_rewrite, but may already
  12. # be set by your server administrator in a way that dissallows changing it in
  13. # your .htaccess file.  If using it causes your server to error out, comment it out (add # to
  14. # beginning of line), reload your site in your browser and test your sef url's.  If they work,
  15. # it has been set by your server administrator and you do not need it set here.
  16. ##
  17.  
  18. ## Can be commented out if causes errors, see notes above.
  19. Options +FollowSymLinks
  20.  
  21. ## Mod_rewrite in use.
  22.  
  23. RewriteEngine On
  24.  
  25. ## Begin - Rewrite rules to block out some common exploits.
  26. # If you experience problems on your site block out the operations listed below
  27. # This attempts to block the most common type of exploit `attempts` to Joomla!
  28. #
  29. # Block out any script trying to base64_encode data within the URL.
  30. RewriteCond %{QUERY_STRING} base64_encode[^(]*\([^)]*\) [OR]
  31. # Block out any script that includes a <script> tag in URL.
  32. RewriteCond %{QUERY_STRING} (<|%3C)([^s]*s)+cript.*(>|%3E) [NC,OR]
  33. # Block out any script trying to set a PHP GLOBALS variable via URL.
  34. RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
  35. # Block out any script trying to modify a _REQUEST variable via URL.
  36. RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})
  37. # Return 403 Forbidden header and show the content of the root homepage
  38. RewriteRule .* index.php [F]
  39. #
  40. ## End - Rewrite rules to block out some common exploits.
  41. ## Begin - Custom redirects
  42. #
  43. # If you need to redirect some pages, or set a canonical non-www to
  44. # www redirect (or vice versa), place that code here. Ensure those
  45. # redirects use the correct RewriteRule syntax and the [R=301,L] flags.
  46. #
  47. ## End - Custom redirects
  48. ##
  49. # Uncomment following line if your webserver's URL
  50. # is not directly related to physical file paths.
  51. # Update Your Joomla! Directory (just / for root).
  52. ##
  53. RewriteBase /
  54.  
  55. ## Begin - Joomla! core SEF Section.
  56. #
  57. RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
  58. #
  59. # If the requested path and file is not /index.php and the request
  60. # has not already been internally rewritten to the index.php script
  61. RewriteCond %{REQUEST_URI} !^/index\.php
  62. # and the request is for something within the component folder,
  63. # or for the site root, or for an extensionless URL, or the
  64. # requested URL ends with one of the listed extensions
  65. RewriteCond %{REQUEST_URI} /component/|(/[^.]*|\.(php|html?|feed|pdf|vcf|raw))$ [NC]
  66. # and the requested path and file doesn't directly match a physical file
  67. RewriteCond %{REQUEST_FILENAME} !-f
  68. # and the requested path and file doesn't directly match a physical folder
  69. RewriteCond %{REQUEST_FILENAME} !-d
  70. # internally rewrite the request to the index.php script
  71. RewriteRule .* index.php [L]
  72. #
  73. ## End - Joomla! core SEF Section.
6. dzubchik - 14 Мая, 2012 - 17:32:27 - перейти к сообщению
MBmusic, удаляйте комментарии, а потом по одной комментируйте строки кода и смотрите на результат. Локализируете проблему - будет проще.
7. DelphinPRO - 14 Мая, 2012 - 17:50:34 - перейти к сообщению
это стандартный файл из поставки джумлы. в нем нет ошибок.
8. MBmusic - 14 Мая, 2012 - 17:55:20 - перейти к сообщению
пфф) после такой процедуры предложенной вами в файле .htaccess осталась одна строчка, а именно: Options +FollowSymLinks
все остальное пришлось удалить, вызывало ошибку......

это нормально?))
9. caballero - 14 Мая, 2012 - 18:03:36 - перейти к сообщению
закоменть его и все дела
непонятно что он вообще делает в жумле
10. Viper - 15 Мая, 2012 - 08:41:26 - перейти к сообщению
caballero пишет:
непонятно что он вообще делает в жумле
htaccess? или директива?
11. Panoptik - 15 Мая, 2012 - 08:43:44 - перейти к сообщению
может на сервере отключен mod_rewrite?

 

Powered by ExBB FM 1.0 RC1