<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Движок сайтов S2 — Ошибка при установке: Internal Server Error; open_basedir в php.ini]]></title>
		<link>https://s2cms.ru/forum/topic/76/</link>
		<description><![CDATA[Недавние сообщения в теме «Ошибка при установке: Internal Server Error; open_basedir в php.ini».]]></description>
		<lastBuildDate>Wed, 28 Dec 2011 17:39:40 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Ошибка при установке: Internal Server Error; open_basedir в php.ini]]></title>
			<link>https://s2cms.ru/forum/post/366/#p366</link>
			<description><![CDATA[<p>Пожалуйста :)</p>]]></description>
			<author><![CDATA[null@example.com (Роман)]]></author>
			<pubDate>Wed, 28 Dec 2011 17:39:40 +0000</pubDate>
			<guid>https://s2cms.ru/forum/post/366/#p366</guid>
		</item>
		<item>
			<title><![CDATA[Re: Ошибка при установке: Internal Server Error; open_basedir в php.ini]]></title>
			<link>https://s2cms.ru/forum/post/365/#p365</link>
			<description><![CDATA[<p>Спасибо за помощь, разобрался.&nbsp; Была беда с настройкой сервера.</p>]]></description>
			<author><![CDATA[null@example.com (koshk1n)]]></author>
			<pubDate>Wed, 28 Dec 2011 13:06:11 +0000</pubDate>
			<guid>https://s2cms.ru/forum/post/365/#p365</guid>
		</item>
		<item>
			<title><![CDATA[Re: Ошибка при установке: Internal Server Error; open_basedir в php.ini]]></title>
			<link>https://s2cms.ru/forum/post/363/#p363</link>
			<description><![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>]]></description>
			<author><![CDATA[null@example.com (Роман)]]></author>
			<pubDate>Wed, 28 Dec 2011 08:17:09 +0000</pubDate>
			<guid>https://s2cms.ru/forum/post/363/#p363</guid>
		</item>
		<item>
			<title><![CDATA[Re: Ошибка при установке: Internal Server Error; open_basedir в php.ini]]></title>
			<link>https://s2cms.ru/forum/post/362/#p362</link>
			<description><![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>]]></description>
			<author><![CDATA[null@example.com (koshk1n)]]></author>
			<pubDate>Wed, 28 Dec 2011 07:29:19 +0000</pubDate>
			<guid>https://s2cms.ru/forum/post/362/#p362</guid>
		</item>
		<item>
			<title><![CDATA[Re: Ошибка при установке: Internal Server Error; open_basedir в php.ini]]></title>
			<link>https://s2cms.ru/forum/post/356/#p356</link>
			<description><![CDATA[<p>Посмотрите еще это обсуждение: <a href="http://s2cms.ru/forum/topic/49/">http://s2cms.ru/forum/topic/49/</a></p>]]></description>
			<author><![CDATA[null@example.com (Роман)]]></author>
			<pubDate>Tue, 27 Dec 2011 15:15:22 +0000</pubDate>
			<guid>https://s2cms.ru/forum/post/356/#p356</guid>
		</item>
		<item>
			<title><![CDATA[Re: Ошибка при установке: Internal Server Error; open_basedir в php.ini]]></title>
			<link>https://s2cms.ru/forum/post/355/#p355</link>
			<description><![CDATA[<p>Скорее всего проблема в том, что веб-сервер не понимает чего-то в .htaccess. Загляните в лог ошибок, чтобы понять, в чем именно проблема.</p><p>Чтобы попробовать движок, можно удалить .htaccess (он нужен для красивых URL: <a href="http://s2cms.ru/docs/config#URL">http://s2cms.ru/docs/config#URL</a>)</p>]]></description>
			<author><![CDATA[null@example.com (Роман)]]></author>
			<pubDate>Tue, 27 Dec 2011 15:13:52 +0000</pubDate>
			<guid>https://s2cms.ru/forum/post/355/#p355</guid>
		</item>
		<item>
			<title><![CDATA[Ошибка при установке: Internal Server Error; open_basedir в php.ini]]></title>
			<link>https://s2cms.ru/forum/post/354/#p354</link>
			<description><![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>]]></description>
			<author><![CDATA[null@example.com (koshk1n)]]></author>
			<pubDate>Tue, 27 Dec 2011 14:14:20 +0000</pubDate>
			<guid>https://s2cms.ru/forum/post/354/#p354</guid>
		</item>
	</channel>
</rss>
