<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-2609440980952263815</id><updated>2024-09-15T18:59:09.662-07:00</updated><title type='text'>PHP owl</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://zhamoida.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2609440980952263815/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://zhamoida.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/15616476275586537835</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>2</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-2609440980952263815.post-7130595121232605948</id><published>2012-06-03T09:22:00.000-07:00</published><updated>2012-06-04T08:21:12.395-07:00</updated><title type='text'>Spreadsheet_Excel_Writer : File error: data may have been lost. Excel</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
I ran into error like in title Using SpreadSheet_Excel_Writer-0.9.3 PEAR module.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Causes:&lt;/b&gt;&lt;br /&gt;
1)It maybe appears when the length of string in cell more than 255 b.&lt;br /&gt;
2)The BIFFwriter limits the size of formed file. Then we&#39;ll see warning “&lt;b style=&quot;color: #cc0000;&quot;&gt;File error: data may have been lost&lt;/b&gt;&lt;span style=&quot;color: #cc0000;&quot;&gt;.&lt;/span&gt;” after opening file in Excel(if the file &amp;gt; 20 kb)&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Solving: &lt;/b&gt;&lt;br /&gt;
At first:&amp;nbsp; Try to track where exactly it arrears(row) and check the length of string in cell(should be only &amp;lt; 255)&lt;br /&gt;
This module has some nasty moments. By default the limit had been set in constructor of Spreadsheet_Excel_Writer_BIFFwriter($this-&amp;gt;_limit = 2080;) ~20kb.&lt;br /&gt;
Change it to size what you need.&amp;nbsp;&amp;nbsp; &lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://zhamoida.blogspot.com/feeds/7130595121232605948/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://zhamoida.blogspot.com/2012/06/non-static-method-oleasc2ucs-should-not.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2609440980952263815/posts/default/7130595121232605948'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2609440980952263815/posts/default/7130595121232605948'/><link rel='alternate' type='text/html' href='http://zhamoida.blogspot.com/2012/06/non-static-method-oleasc2ucs-should-not.html' title='Spreadsheet_Excel_Writer : File error: data may have been lost. Excel'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/15616476275586537835</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2609440980952263815.post-8014433266512853468</id><published>2012-05-05T17:02:00.002-07:00</published><updated>2012-06-04T08:22:02.606-07:00</updated><title type='text'>WP error Unable to create directory</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-family: &#39;Helvetica Neue&#39;,Arial,Helvetica,sans-serif; font-size: medium;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;









&lt;span style=&quot;font-family: &#39;Helvetica Neue&#39;,Arial,Helvetica,sans-serif; font-size: medium;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;
TEXT: &#39;imagename&#39; has failed to upload due to an error&lt;br /&gt;Unable to create directory DIRECTORY_NAME&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Helvetica Neue&#39;,Arial,Helvetica,sans-serif; font-size: medium;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Helvetica Neue&#39;,Arial,Helvetica,sans-serif; font-size: medium;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;This error appears when wp can&#39;t create directory or file in uploads folder &#39;wp-content/uploads&#39;.&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;
&lt;span style=&quot;font-family: &#39;Helvetica Neue&#39;,Arial,Helvetica,sans-serif; font-size: medium;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Helvetica Neue&#39;,Arial,Helvetica,sans-serif; font-size: medium;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Helvetica Neue&#39;,Arial,Helvetica,sans-serif; font-size: medium;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Helvetica Neue&#39;,Arial,Helvetica,sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;&lt;b&gt;Causes&lt;/b&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;:&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Helvetica Neue&#39;,Arial,Helvetica,sans-serif; font-size: medium; line-height: 19px;&quot;&gt;- the directory /uploads doesn&#39;t have correct permissions&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Helvetica Neue&#39;,Arial,Helvetica,sans-serif; font-size: medium; line-height: 19px;&quot;&gt;- the one user tries to create file to the directory of other owner&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: &#39;Helvetica Neue&#39;,Arial,Helvetica,sans-serif; font-size: medium;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;b style=&quot;font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif; line-height: 19px;&quot;&gt;Resolving&lt;/b&gt;&lt;span style=&quot;font-family: &#39;Helvetica Neue&#39;,Arial,Helvetica,sans-serif; font-size: medium; line-height: 19px;&quot;&gt;:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Helvetica Neue&#39;,Arial,Helvetica,sans-serif; font-size: medium; line-height: 19px;&quot;&gt;Clear the field &#39;Store uploads in this folder&#39; in Settings-&amp;gt;Media-&amp;gt;Uploading Files&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Helvetica Neue&#39;,Arial,Helvetica,sans-serif; font-size: medium; line-height: 19px;&quot;&gt;Make sure the dir &#39;wp-content/uploads&#39; on your hosting has permissions 755(files&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Helvetica Neue&#39;,Arial,Helvetica,sans-serif; font-size: medium; line-height: 19px;&quot;&gt;644). &amp;nbsp;Change&amp;nbsp;&amp;nbsp;!temporarily! permission of the dir uploads to 777 &amp;nbsp;and try to upload&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Helvetica Neue&#39;,Arial,Helvetica,sans-serif; font-size: medium; line-height: 19px;&quot;&gt;image. The owners of neighboors files should be the same. If it&#39;s not ask your hoster. &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Helvetica Neue&#39;,Arial,Helvetica,sans-serif; font-size: medium; line-height: 19px;&quot;&gt;In my way i had php as module apache on VPS hosting. And WP was trying to&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Helvetica Neue&#39;,Arial,Helvetica,sans-serif; font-size: medium; line-height: 19px;&quot;&gt;upload image by apache user. I changed it as module CGI.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Helvetica Neue&#39;,Arial,Helvetica,sans-serif; font-size: medium; line-height: 19px;&quot;&gt;Do not leave permission 777. It&#39;s absolutely incorrect resolving of this problem&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://zhamoida.blogspot.com/feeds/8014433266512853468/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://zhamoida.blogspot.com/2012/05/headline.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2609440980952263815/posts/default/8014433266512853468'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2609440980952263815/posts/default/8014433266512853468'/><link rel='alternate' type='text/html' href='http://zhamoida.blogspot.com/2012/05/headline.html' title='WP error Unable to create directory'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/15616476275586537835</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>