<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[TinyMCE Forum - Image not loading when trying to edit / crop it.]]></title>
		<link>http://www.tinymce.com/forum/viewtopic.php?id=28044</link>
		<description><![CDATA[The most recent posts in Image not loading when trying to edit / crop it..]]></description>
		<lastBuildDate>Tue, 07 Feb 2012 20:55:00 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Image not loading when trying to edit / crop it.]]></title>
			<link>http://www.tinymce.com/forum/viewtopic.php?pid=98689#p98689</link>
			<description><![CDATA[<p>Nice to hear that it was resolved.</p>]]></description>
			<author><![CDATA[dummy@example.com (spocke)]]></author>
			<pubDate>Tue, 07 Feb 2012 20:55:00 +0000</pubDate>
			<guid>http://www.tinymce.com/forum/viewtopic.php?pid=98689#p98689</guid>
		</item>
		<item>
			<title><![CDATA[Re: Image not loading when trying to edit / crop it.]]></title>
			<link>http://www.tinymce.com/forum/viewtopic.php?pid=98687#p98687</link>
			<description><![CDATA[<p>Hey there Spocke!</p><p>I did a bunch of tracing and finally found that the problem was that the $mcFileManagerConfig[&#039;preview.wwwroot&#039;] was in fact what was causing the problem.</p><p>Our test server is hosted by Acquia and the way they&#039;ve setup the server has a bunch of symlinks that point to the correct path. I found out that the path I *thought* was the root path was in fact not by doing a var_dump() in the convertPathToURI() function in MCImageManager\classes\ManagerEngine.php.</p><p>Thanks very much for your help! I just finished finding the cause of the problem and fixing it and I see that simply enabling the logging system would probably have shown me the cause a lot quicker. I will keep it in mind down the line.</p><p>Once again, thank you very much! Please consider this case solved <img src="http://www.tinymce.com/forum/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></description>
			<author><![CDATA[dummy@example.com (myplanetdigital)]]></author>
			<pubDate>Tue, 07 Feb 2012 20:21:24 +0000</pubDate>
			<guid>http://www.tinymce.com/forum/viewtopic.php?pid=98687#p98687</guid>
		</item>
		<item>
			<title><![CDATA[Re: Image not loading when trying to edit / crop it.]]></title>
			<link>http://www.tinymce.com/forum/viewtopic.php?pid=98680#p98680</link>
			<description><![CDATA[<p>You could enable debug logging to see what it outputs then. Set log.level=debug and log.level=true then check the debug logs in imagemanager/logs. Send me the log details there and I could tell you what to set as the root.</p>]]></description>
			<author><![CDATA[dummy@example.com (spocke)]]></author>
			<pubDate>Tue, 07 Feb 2012 19:24:21 +0000</pubDate>
			<guid>http://www.tinymce.com/forum/viewtopic.php?pid=98680#p98680</guid>
		</item>
		<item>
			<title><![CDATA[Re: Image not loading when trying to edit / crop it.]]></title>
			<link>http://www.tinymce.com/forum/viewtopic.php?pid=98675#p98675</link>
			<description><![CDATA[<p>Hi Spocke!</p><p>Thanks for getting back to me so soon!</p><p>I&#039;ve implemented the following settings; unfortunately, I&#039;m still receiving the exact same error. Please note, I&#039;ve been making sure to perform a Drupal clear-cache after each change to the module settings.</p><p>Here&#039;s the path to where MCImageManager is installed:<br />sites/all/modules/contrib/MCImageManager</p><p>Here&#039;s the value I&#039;ve put into preview.wwwroot:<br />&#039;/var/www/html/majorisdev/docroot&#039;</p><p>Here&#039;s the configuration of the rootpath/path settings:<br />$mcImageManagerConfig[&#039;filesystem.rootpath&#039;] = &#039;../../../../default/files&#039;;<br />$mcImageManagerConfig[&#039;filesystem.path&#039;] = &#039;../../../../default/files&#039;;</p><p>Hope this helps clarify things further!</p><p>Thanks for the support once again!</p>]]></description>
			<author><![CDATA[dummy@example.com (myplanetdigital)]]></author>
			<pubDate>Tue, 07 Feb 2012 15:18:21 +0000</pubDate>
			<guid>http://www.tinymce.com/forum/viewtopic.php?pid=98675#p98675</guid>
		</item>
		<item>
			<title><![CDATA[Re: Image not loading when trying to edit / crop it.]]></title>
			<link>http://www.tinymce.com/forum/viewtopic.php?pid=98671#p98671</link>
			<description><![CDATA[<p>Sounds like the preview.wwwroot setting needs to be specified to the wwwroot of the site. Sometimes it fails to auto detect this setting.</p>]]></description>
			<author><![CDATA[dummy@example.com (spocke)]]></author>
			<pubDate>Tue, 07 Feb 2012 13:47:44 +0000</pubDate>
			<guid>http://www.tinymce.com/forum/viewtopic.php?pid=98671#p98671</guid>
		</item>
		<item>
			<title><![CDATA[Image not loading when trying to edit / crop it.]]></title>
			<link>http://www.tinymce.com/forum/viewtopic.php?pid=98659#p98659</link>
			<description><![CDATA[<p>Hi!</p><p>I just recently bought a license for MCImageManager &amp; MCFileManager. I&#039;ve been trying to debug a problem that is very confusing. I and another team member have spent a couple hours off and on trying to figure out what is causing this problem.</p><p>Notes:<br />1) It is a Drupal 7 setup.<br />2) The following is happening on my remote testing server.<br />3) The modules work perfectly fine on my local laptop environment (Windows 7 / WAMP).<br />4) In order to get the text editor to load in the first place, I had to modify the &quot;DRUPAL_ROOT&quot; constant in &quot;plugins/DrupalAuthenticator/DrupalAuthenticator.php&quot;:</p><p> -- FROM: define(DRUPAL_ROOT, MCMANAGER_ABSPATH . &quot;../../../../../&quot;);<br /> -- TO: define(DRUPAL_ROOT, MCMANAGER_ABSPATH . &quot;../../../../../../&quot;);</p><p>Steps:<br />1) I click on &quot;Insert / Edit Image&quot; and/or &quot;Insert Image&quot;<br />2) I see images that I&#039;ve uploaded available in the dialog.<br />3) I click on the arrow-btn at the bottom right of an image and then choose &quot;Edit&quot;<br />4) A new dialog loads but the image doesn&#039;t appear.<br />5) I checked the URL that is being called for loading the image in FireBug&#039;s &quot;Net&quot; panel and it shows that the URL is malformed... I.e.: instead of being &quot;http://mysite-dev.devdomain.com/sites/default/files/filename.jpg&quot; it is trying to load &quot;http://mysite-dev.devdomain.comefault/files/image-small.jpg?rnd=1328575555000&quot;.<br />6) Please note the lack of the slash and directory names &quot;***.com/sites/default&quot; in the URL above.</p><p>Thank you very much for your support and wonderful module/plugin!</p>]]></description>
			<author><![CDATA[dummy@example.com (myplanetdigital)]]></author>
			<pubDate>Tue, 07 Feb 2012 00:52:13 +0000</pubDate>
			<guid>http://www.tinymce.com/forum/viewtopic.php?pid=98659#p98659</guid>
		</item>
	</channel>
</rss>
