<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: The preview could not be loaded from the server in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/the-preview-could-not-be-loaded-from-the-server/m-p/250412#M203542</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;rm -f libstdc++.so.5&lt;BR /&gt;ln -s libstdc++.so.5.0.3 libstdc++.so.5&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;this was very helpful, thanks a lot!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thoralt&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 May 2011 08:12:17 GMT</pubDate>
    <dc:creator>thoralt</dc:creator>
    <dc:date>2011-05-27T08:12:17Z</dc:date>
    <item>
      <title>The preview could not be loaded from the server</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/the-preview-could-not-be-loaded-from-the-server/m-p/250407#M203537</link>
      <description>Hi Guys, hope someone could help me.I got the following error when i try to get a preview or online document editing :"the preview could not be loaded from the server"Any ideas in how to solve it ?Stack &lt;IMG id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://migration33.stage.lithium.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;S &lt;IMG id="smileyvery-happy" class="emoticon emoticon-smileyvery-happy" src="https://migration33.stage.lithium.com/i/smilies/16x16_smiley-very-happy.png" alt="Smiley Very Happy" title="Smiley Very Happy" /&gt;ebian Lenny 5.02Alfresco : 3.4aDb : MySqlThanks in advance</description>
      <pubDate>Fri, 05 Nov 2010 15:07:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/the-preview-could-not-be-loaded-from-the-server/m-p/250407#M203537</guid>
      <dc:creator>naspar</dc:creator>
      <dc:date>2010-11-05T15:07:16Z</dc:date>
    </item>
    <item>
      <title>Re: The preview could not be loaded from the server</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/the-preview-could-not-be-loaded-from-the-server/m-p/250408#M203538</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Does anybody know how to change the log level to debug ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;i am trying to figure out the problem related to the "render" of document ("The preview could not be loaded from the server").&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am sorry for my "easy" question but alfresco is a huge world to learn .. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Nov 2010 11:17:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/the-preview-could-not-be-loaded-from-the-server/m-p/250408#M203538</guid>
      <dc:creator>naspar</dc:creator>
      <dc:date>2010-11-08T11:17:16Z</dc:date>
    </item>
    <item>
      <title>Re: The preview could not be loaded from the server</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/the-preview-could-not-be-loaded-from-the-server/m-p/250409#M203539</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I had the same problem on OpenSuse 11.3 64 Bit. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The solution was to install some missing 64Bit C++ library. You can check the path of pdf2swf in alfresco-global.properties. Then execute this command in a shell and see if it works fine. I my case, it printed out the name of the missing library.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Dec 2010 10:39:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/the-preview-could-not-be-loaded-from-the-server/m-p/250409#M203539</guid>
      <dc:creator>type</dc:creator>
      <dc:date>2010-12-13T10:39:06Z</dc:date>
    </item>
    <item>
      <title>Re: The preview could not be loaded from the server</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/the-preview-could-not-be-loaded-from-the-server/m-p/250410#M203540</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It's so simple,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Install swftools (in ubuntu: sudo apt-get install swftools)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. locate pdf2swf (usually in /usr/sbin/pdf2swf)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3. open your /opt/alfresco-x.x.x/tomcat/shared/classes/alfresco-global.properties&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;edit your default setting to something like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ooo.enabled=true&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;swf.exe=/usr/sbin/pdf2swf&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;save and then restart the alfresco : alfresco.sh restart&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It works for me&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-karfi&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Mar 2011 05:00:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/the-preview-could-not-be-loaded-from-the-server/m-p/250410#M203540</guid>
      <dc:creator>error</dc:creator>
      <dc:date>2011-03-28T05:00:48Z</dc:date>
    </item>
    <item>
      <title>Re: The preview could not be loaded from the server</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/the-preview-could-not-be-loaded-from-the-server/m-p/250411#M203541</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I discovered this also with a fresh install of alfresco-3.4.d.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My resolution was slightly different; following the above instructions I located the path to pdf2swf, and upon attempting to execute it was presented with the following error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;/opt/alfresco-3.4.d/common/bin/.pdf2swf.bin: error while loading shared libraries: /opt/alfresco-3.4.d/common/lib/libstdc++.so.5: file too short&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;libstdc++.so.5 files:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-rw-r–r– 1 root root&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 23 Nov 29 23:42 libstdc++.so.5&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-rw-r–r– 1 root root&amp;nbsp; 710608 Nov 29 23:42 libstdc++.so.5.0.3&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;investigation found the libstdc++.so.5 file contained the following:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# cat libstdc++.so.5&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;link libstdc++.so.5.0.3&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So by removing the dud 'link', and creating a proper one:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;rm -f libstdc++.so.5&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ln -s libstdc++.so.5.0.3 libstdc++.so.5&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now running pdf2swf from the cli now gives me a list of parameters + options, and the flash preview works perfectly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps others.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Apr 2011 13:33:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/the-preview-could-not-be-loaded-from-the-server/m-p/250411#M203541</guid>
      <dc:creator>onlyodin</dc:creator>
      <dc:date>2011-04-08T13:33:30Z</dc:date>
    </item>
    <item>
      <title>Re: The preview could not be loaded from the server</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/the-preview-could-not-be-loaded-from-the-server/m-p/250412#M203542</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;rm -f libstdc++.so.5&lt;BR /&gt;ln -s libstdc++.so.5.0.3 libstdc++.so.5&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;this was very helpful, thanks a lot!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thoralt&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 May 2011 08:12:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/the-preview-could-not-be-loaded-from-the-server/m-p/250412#M203542</guid>
      <dc:creator>thoralt</dc:creator>
      <dc:date>2011-05-27T08:12:17Z</dc:date>
    </item>
  </channel>
</rss>

