<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[TinyMCE Forum - Fatal error when running on webhosting]]></title>
		<link>http://www.tinymce.com/forum/viewtopic.php?id=4424</link>
		<description><![CDATA[The most recent posts in Fatal error when running on webhosting.]]></description>
		<lastBuildDate>Wed, 10 Jan 2007 20:36:51 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Fatal error when running on webhosting]]></title>
			<link>http://www.tinymce.com/forum/viewtopic.php?pid=18127#p18127</link>
			<description><![CDATA[<p>I recently experienced this error in a non-shared environment.&nbsp; I think Ensim is a red herring.</p><p>There&#039;s something about the Drupal bootstrap process that appears to intermittently clear out the other variables in scope.&nbsp; What worked for me was moving the line</p><p>require_once(&quot;./classes/Authenticators/DrupalAuthenticatorImpl.php&quot;);</p><p>to the top of includes/default_config.php (there should be a comment indicating that it&#039;s okay to put it here).&nbsp; Then remove that line entirely from config.php.&nbsp; </p><p>This way the Drupal bootstrap completes before the $mcImageManagerConfig array is built.&nbsp; I&#039;m still conducting testing, but so far everything appears to be working.</p><p>Good luck!</p><p>tom (at) echoditto (dot) com</p>]]></description>
			<author><![CDATA[dummy@example.com (sbma44)]]></author>
			<pubDate>Wed, 10 Jan 2007 20:36:51 +0000</pubDate>
			<guid>http://www.tinymce.com/forum/viewtopic.php?pid=18127#p18127</guid>
		</item>
		<item>
			<title><![CDATA[Re: Fatal error when running on webhosting]]></title>
			<link>http://www.tinymce.com/forum/viewtopic.php?pid=14844#p14844</link>
			<description><![CDATA[<p>Might be something related to the chroot, but honestly, its kind of hard to say what the reason for this error is.</p>]]></description>
			<author><![CDATA[dummy@example.com (Afraithe)]]></author>
			<pubDate>Tue, 05 Sep 2006 16:13:19 +0000</pubDate>
			<guid>http://www.tinymce.com/forum/viewtopic.php?pid=14844#p14844</guid>
		</item>
		<item>
			<title><![CDATA[Re: Fatal error when running on webhosting]]></title>
			<link>http://www.tinymce.com/forum/viewtopic.php?pid=14841#p14841</link>
			<description><![CDATA[<p>It&#039;s an out of the box php.ini as far as we are concerned. Could it be related to the chroot environment, and ImageManager using absolute paths built up from / ?</p>]]></description>
			<author><![CDATA[dummy@example.com (budda)]]></author>
			<pubDate>Tue, 05 Sep 2006 15:04:56 +0000</pubDate>
			<guid>http://www.tinymce.com/forum/viewtopic.php?pid=14841#p14841</guid>
		</item>
		<item>
			<title><![CDATA[Re: Fatal error when running on webhosting]]></title>
			<link>http://www.tinymce.com/forum/viewtopic.php?pid=14839#p14839</link>
			<description><![CDATA[<p>I don&#039;t know, could be something in your custom php.ini thats not quite correct.</p>]]></description>
			<author><![CDATA[dummy@example.com (Afraithe)]]></author>
			<pubDate>Tue, 05 Sep 2006 14:30:20 +0000</pubDate>
			<guid>http://www.tinymce.com/forum/viewtopic.php?pid=14839#p14839</guid>
		</item>
		<item>
			<title><![CDATA[Re: Fatal error when running on webhosting]]></title>
			<link>http://www.tinymce.com/forum/viewtopic.php?pid=14838#p14838</link>
			<description><![CDATA[<p>I have found out that Ensim &quot;3.1 compatibility mode&quot; means:</p><p>&quot;3.1 compatibility runs the chroot in a different manner and uses the servers PHP installation. The high security tightens up the sites chroot and each sites runs it own PHP cgi module (and thats why you have your own php.ini).&quot;</p><p>How can the above affect TinyMCE ImageManager module?</p>]]></description>
			<author><![CDATA[dummy@example.com (budda)]]></author>
			<pubDate>Tue, 05 Sep 2006 14:17:02 +0000</pubDate>
			<guid>http://www.tinymce.com/forum/viewtopic.php?pid=14838#p14838</guid>
		</item>
		<item>
			<title><![CDATA[Re: Fatal error when running on webhosting]]></title>
			<link>http://www.tinymce.com/forum/viewtopic.php?pid=14494#p14494</link>
			<description><![CDATA[<p>Yes, sounds a bit odd, no idea what kind of restrictions would cause that effect.</p>]]></description>
			<author><![CDATA[dummy@example.com (Afraithe)]]></author>
			<pubDate>Thu, 24 Aug 2006 13:52:42 +0000</pubDate>
			<guid>http://www.tinymce.com/forum/viewtopic.php?pid=14494#p14494</guid>
		</item>
		<item>
			<title><![CDATA[Re: Fatal error when running on webhosting]]></title>
			<link>http://www.tinymce.com/forum/viewtopic.php?pid=14491#p14491</link>
			<description><![CDATA[<p>Having changed the Ensim site configuration to &quot;3.1 compatibility mode&quot; for security, the ImageManager module now works as expected. Some sort of CGI restrictions are coming in to play and causing the config variable array to be blanked - which seems an odd outcome?</p>]]></description>
			<author><![CDATA[dummy@example.com (budda)]]></author>
			<pubDate>Thu, 24 Aug 2006 12:44:38 +0000</pubDate>
			<guid>http://www.tinymce.com/forum/viewtopic.php?pid=14491#p14491</guid>
		</item>
		<item>
			<title><![CDATA[Re: Fatal error when running on webhosting]]></title>
			<link>http://www.tinymce.com/forum/viewtopic.php?pid=14490#p14490</link>
			<description><![CDATA[<p>PHP Version 4.4.2 is on the webhosting, and PHP Version 4.3.10 is on the dev server.</p><p>Whilst checking the webhosting PHP info, I noticed PHP is running in CGI API mode. Are there security implication here which could cause problems?</p>]]></description>
			<author><![CDATA[dummy@example.com (budda)]]></author>
			<pubDate>Thu, 24 Aug 2006 12:37:02 +0000</pubDate>
			<guid>http://www.tinymce.com/forum/viewtopic.php?pid=14490#p14490</guid>
		</item>
		<item>
			<title><![CDATA[Re: Fatal error when running on webhosting]]></title>
			<link>http://www.tinymce.com/forum/viewtopic.php?pid=14483#p14483</link>
			<description><![CDATA[<p>That is really weird, it should definetly never be able to be null.</p><p>Check the PHP versions and post them both here.</p>]]></description>
			<author><![CDATA[dummy@example.com (Afraithe)]]></author>
			<pubDate>Thu, 24 Aug 2006 12:10:42 +0000</pubDate>
			<guid>http://www.tinymce.com/forum/viewtopic.php?pid=14483#p14483</guid>
		</item>
		<item>
			<title><![CDATA[Fatal error when running on webhosting]]></title>
			<link>http://www.tinymce.com/forum/viewtopic.php?pid=14479#p14479</link>
			<description><![CDATA[<p>On our webhosting the ImageManager module doesn&#039;t work. The same code does work on our dev server.</p><p>On our webhosting, upon clicking the image browse button to open the ImageManager window opens and dislays a PHP error:<br /></p><div class="codebox"><pre><code>Fatal error: main(): Failed opening required &#039;error&#039; (include_path=&#039;.:/php/includes:/usr/share/php&#039;) in /var/www/html/modules/tinymce/tinymce/jscripts/tiny_mce/plugins/imagemanager/includes/general.php on line 37</code></pre></div><p>After some tracing of the code, I found the problem is general.php is trying to include a file which does not exist:<br /></p><div class="codebox"><pre><code>&quot;/var/www/html/modules/tinymce/tinymce/jscripts/tiny_mce/plugins/imagemanager/includes/../classes/Utils/.php&quot;</code></pre></div><p>The file that should be loaded is </p><div class="codebox"><pre><code>$mcImageManagerConfig[&#039;thumbnail&#039;] = &quot;ImageToolsGD&quot;;</code></pre></div><p>as defined in the default_config.php<br />The problem appears to occur when the config.php is included and the </p><div class="codebox"><pre><code>require_once(&quot;classes/Authenticators/DrupalAuthenticatorImpl.php&quot;);</code></pre></div><p>include occurs. After that the $mcImageManagerConfig turns to NULL!</p><p>I&#039;m running Drupal 4.7.3 - any ideas what could be causing this, I&#039;m assuming its apache/php related as the same setup works okay on our dev server. The hosting is shared, running Ensim, should that make any difference to debugging this problem.</p>]]></description>
			<author><![CDATA[dummy@example.com (budda)]]></author>
			<pubDate>Thu, 24 Aug 2006 11:00:58 +0000</pubDate>
			<guid>http://www.tinymce.com/forum/viewtopic.php?pid=14479#p14479</guid>
		</item>
	</channel>
</rss>
