<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Движок сайтов S2 — Ошибка при установке: Internal Server Error; open_basedir в php.ini]]></title>
	<link rel="self" href="https://s2cms.ru/forum/feed/atom/topic/76/"/>
	<updated>2011-12-28T17:39:40Z</updated>
	<generator>PunBB</generator>
	<id>https://s2cms.ru/forum/topic/76/</id>
		<entry>
			<title type="html"><![CDATA[Re: Ошибка при установке: Internal Server Error; open_basedir в php.ini]]></title>
			<link rel="alternate" href="https://s2cms.ru/forum/post/366/#p366"/>
			<content type="html"><![CDATA[<p>Пожалуйста :)</p>]]></content>
			<author>
				<name><![CDATA[Роман]]></name>
				<uri>https://s2cms.ru/forum/user/2/</uri>
			</author>
			<updated>2011-12-28T17:39:40Z</updated>
			<id>https://s2cms.ru/forum/post/366/#p366</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Ошибка при установке: Internal Server Error; open_basedir в php.ini]]></title>
			<link rel="alternate" href="https://s2cms.ru/forum/post/365/#p365"/>
			<content type="html"><![CDATA[<p>Спасибо за помощь, разобрался.&nbsp; Была беда с настройкой сервера.</p>]]></content>
			<author>
				<name><![CDATA[koshk1n]]></name>
				<uri>https://s2cms.ru/forum/user/44/</uri>
			</author>
			<updated>2011-12-28T13:06:11Z</updated>
			<id>https://s2cms.ru/forum/post/365/#p365</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Ошибка при установке: Internal Server Error; open_basedir в php.ini]]></title>
			<link rel="alternate" href="https://s2cms.ru/forum/post/363/#p363"/>
			<content type="html"><![CDATA[<p>Дело, очевидно, в настройке open_basedir из php.ini. Я бы рекомендовал обратиться в техническую поддержку хостинга, чтобы убрать (или хотя бы ослабить) это ограничение.</p><p>Если они откажут, в качестве эксперимента можно попробовать следующее. В <a href="http://ru.php.net/manual/ru/ini.core.php#ini.open-basedir">документации</a> написано:</p><div class="quotebox"><blockquote><p>Специальное значение . обозначает, что рабочая директория скрипта будет использована в качестве базовой директории. Однако, это немного опасно, так как текущая директория скрипта может быть легко изменена с помощью chdir().</p></blockquote></div><p>Попробуйте значение константы S2_ROOT подставить в функцию chdir(), а саму константу S2_ROOT определить как &#039;./&#039;. Например, строчка</p><div class="codebox"><pre><code>define(&#039;S2_ROOT&#039;, &#039;../&#039;);</code></pre></div><p>должна превратиться в</p><div class="codebox"><pre><code>chdir(&#039;../&#039;);
define(&#039;S2_ROOT&#039;, &#039;./&#039;);</code></pre></div><p>Определение константы встречается в следующих файлах:</p><div class="codebox"><pre><code>comment.php
    Line 10: define(&#039;S2_ROOT&#039;, &#039;./&#039;);
index.php
    Line 14: define(&#039;S2_ROOT&#039;, &#039;./&#039;);
sqtest.php
    Line 3: define(&#039;S2_ROOT&#039;, &#039;./&#039;);
_admin/index.php
    Line 12: define(&#039;S2_ROOT&#039;, &#039;../&#039;);
_admin/install.php
    Line 18: define(&#039;S2_ROOT&#039;, &#039;../&#039;);
_admin/pictman.php
    Line 12: define(&#039;S2_ROOT&#039;, &#039;../&#039;);
_admin/pict_ajax.php
    Line 12: define(&#039;S2_ROOT&#039;, &#039;../&#039;);
_admin/site_ajax.php
    Line 12: define(&#039;S2_ROOT&#039;, &#039;../&#039;);
_extensions/s2_latex/latex.php
    Line 11: define(&#039;S2_ROOT&#039;, &#039;../../&#039;);
_extensions/s2_search/ajax.php
    Line 13: define(&#039;S2_ROOT&#039;, &#039;../../&#039;);</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Роман]]></name>
				<uri>https://s2cms.ru/forum/user/2/</uri>
			</author>
			<updated>2011-12-28T08:17:09Z</updated>
			<id>https://s2cms.ru/forum/post/363/#p363</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Ошибка при установке: Internal Server Error; open_basedir в php.ini]]></title>
			<link rel="alternate" href="https://s2cms.ru/forum/post/362/#p362"/>
			<content type="html"><![CDATA[<p>Ошибка, похожая на то что было в обсуждении . Сначала убрал multiview, по потом и вовсе удалил .htaccess.&nbsp; Теперь другая беда - <a href="http://clip2net.com/s/1rc88">http://clip2net.com/s/1rc88</a>&nbsp; <br />An error was encountered</p><p>The file &#039;config.php&#039; doesn&#039;t exist or is corrupt.<br />Do you want to install S2?</p><p>Если пробовать установить дальше, выходит </p><p>Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(../config.php) is not within the allowed path(s): (.) in /var/www/allweddingideas/data/www/allweddingideas.org/_admin/install.php on line 22</p><p>Warning: require() [function.require]: open_basedir restriction in effect. File(../_include/functions.php) is not within the allowed path(s): (.) in /var/www/allweddingideas/data/www/allweddingideas.org/_admin/install.php on line 37</p><p>Warning: require(../_include/functions.php) [function.require]: failed to open stream: Operation not permitted in /var/www/allweddingideas/data/www/allweddingideas.org/_admin/install.php on line 37</p><p>Fatal error: require() [function.require]: Failed opening required &#039;../_include/functions.php&#039; (include_path=&#039;.:/usr/share/php:/usr/share/pear&#039;) in /var/www/allweddingideas/data/www/allweddingideas.org/_admin/install.php on line 37</p><p>Не судьба на мой хостинг установить ?</p>]]></content>
			<author>
				<name><![CDATA[koshk1n]]></name>
				<uri>https://s2cms.ru/forum/user/44/</uri>
			</author>
			<updated>2011-12-28T07:29:19Z</updated>
			<id>https://s2cms.ru/forum/post/362/#p362</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Ошибка при установке: Internal Server Error; open_basedir в php.ini]]></title>
			<link rel="alternate" href="https://s2cms.ru/forum/post/356/#p356"/>
			<content type="html"><![CDATA[<p>Посмотрите еще это обсуждение: <a href="http://s2cms.ru/forum/topic/49/">http://s2cms.ru/forum/topic/49/</a></p>]]></content>
			<author>
				<name><![CDATA[Роман]]></name>
				<uri>https://s2cms.ru/forum/user/2/</uri>
			</author>
			<updated>2011-12-27T15:15:22Z</updated>
			<id>https://s2cms.ru/forum/post/356/#p356</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Ошибка при установке: Internal Server Error; open_basedir в php.ini]]></title>
			<link rel="alternate" href="https://s2cms.ru/forum/post/355/#p355"/>
			<content type="html"><![CDATA[<p>Скорее всего проблема в том, что веб-сервер не понимает чего-то в .htaccess. Загляните в лог ошибок, чтобы понять, в чем именно проблема.</p><p>Чтобы попробовать движок, можно удалить .htaccess (он нужен для красивых URL: <a href="http://s2cms.ru/docs/config#URL">http://s2cms.ru/docs/config#URL</a>)</p>]]></content>
			<author>
				<name><![CDATA[Роман]]></name>
				<uri>https://s2cms.ru/forum/user/2/</uri>
			</author>
			<updated>2011-12-27T15:13:52Z</updated>
			<id>https://s2cms.ru/forum/post/355/#p355</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Ошибка при установке: Internal Server Error; open_basedir в php.ini]]></title>
			<link rel="alternate" href="https://s2cms.ru/forum/post/354/#p354"/>
			<content type="html"><![CDATA[<p>Решил посмотреть CMS , но установить не получается : </p><div class="quotebox"><blockquote><p>Internal Server Error</p><p>The server encountered an internal error or misconfiguration and was unable to complete your request.</p><p>Please contact the server administrator,&nbsp; and inform them of the time the error occurred, and anything you might have done that may have caused the error.</p><p>More information about this error may be available in the server error log.</p><p>Apache/2.2.8 (Ubuntu) PHP/5.2.4-2ubuntu5.17 with Suhosin-Patch mod_ssl/2.2.8 OpenSSL/0.9.8g Server at allweddingideas.org Port 80</p></blockquote></div><p>Пробовал дистрибутив с расширениями и без, все по инструкции - скачал, распаковал, изменил права и запустил. В чем может быть проблема ?</p>]]></content>
			<author>
				<name><![CDATA[koshk1n]]></name>
				<uri>https://s2cms.ru/forum/user/44/</uri>
			</author>
			<updated>2011-12-27T14:14:20Z</updated>
			<id>https://s2cms.ru/forum/post/354/#p354</id>
		</entry>
</feed>
