<?xml version='1.0' encoding='UTF-8'?>
<rss version='2.0'>
	<channel>
		<title>cotonti.com : GD bug for newer PHP versions ?</title>
		<link>https://www.cotonti.com</link>
		<description>Останні повідомлення в темі</description>
		<generator>Cotonti</generator>
		<language>en</language>
		<pubDate>Mon, 13 Apr 2026 05:04:04 -0000</pubDate>

		<item>
			<title>ez</title>
			<description><![CDATA[<p>
	thnx...</p>
<p>
	it is just a minor thing... but it will improve stability</p>
]]></description>
			<pubDate>Сб, 14 Кві 2012 11:19:59 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ua/forums?m=posts&q=6872&d=0#post33932]]></link>
		</item>
		<item>
			<title>Trustmaster</title>
			<description><![CDATA[<p>
	Yeah, <a href="https://github.com/Cotonti/Cotonti/issues/910" rel="nofollow">will add</a> this check in 0.9.9 and 0.6.23.</p>
]]></description>
			<pubDate>Сб, 14 Кві 2012 08:25:42 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ua/forums?m=posts&q=6872&d=0#post33928]]></link>
		</item>
		<item>
			<title>ez</title>
			<description><![CDATA[<p>
	The additional check for the COTemplate would be nice though... it took me a half hour to figure out why i did not see my regular screens.</p>
<p>
	I would not go so far to say that its a bug... but its not working properly either.</p>
<p>
	Addition:</p>
<p>
	In Cotemplate check if a cached file (tpl cache) is filesize 0. (If its 0, delete that one, and try to regenerate it)<br />
	Anyway if the cachefile size is 0, then DONT use the cache file.</p>
<p>
	its just a simple check... maybe for 0.6.23 and 0.9.9</p>
]]></description>
			<pubDate>Сб, 14 Кві 2012 07:31:05 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ua/forums?m=posts&q=6872&d=0#post33924]]></link>
		</item>
		<item>
			<title>GHengeveld</title>
			<description><![CDATA[<p>
	Same thing happened to me once too. All of the sudden I got the weirdest errors and the server was super slow. Turned out the server was storing all the email forwarded to my Gmail account and never deleting anything.</p>
]]></description>
			<pubDate>Сб, 14 Кві 2012 01:23:16 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ua/forums?m=posts&q=6872&d=0#post33922]]></link>
		</item>
		<item>
			<title>ez</title>
			<description><![CDATA[<p>
	we migrated from 5.3.6 to 5.3.10, so if it is present in earlier version i cannot tell ?</p>
<p>
	My provider moved me to a different server (newer)</p>
<p>
	 </p>
<p>
	<strong>Added 13 hours later:</strong></p>
<p>
	Its unbelievable... but we found the problem !</p>
<p>
	First: Cotonti was NOT the problem.<br /><br />
	But there are a few things we can improve to prevent these messages and make it more clear what is happening.<br />
	 </p>
<p>
	The problem:<br />
	We had real strange situations on one of our larger websites (1400+ unique visitors / day). Uploading files was the most visible problem, and generating thumbnails.<br />
	 </p>
<p>
	Cause:<br />
	It turns out that our hosting company has a diskQuota (A hard quota). So cot just could NOT write anything to the disk anymore.<br />
	This not only means files that ppl upload, but also cachefiles, tmp files and so...<br />
	I tell you strange things happen if cache files are filesize 0, and tmp files could not be written.</p>
<p>
	<u>Improvements we could make:</u></p>
<ul><li>
		Upload in pfs: after the initial upload somehow check if the uploaded file is valid. ( valid file check ?, not sure how..  )</li>
	<li>
		In Cotemplate check if a cached file (tpl cache) is filesize 0. (If its 0, delete that one, and try to regenerate it)<br />
		Anyway if the cachefile size is 0, then DONT use the cache file.</li>
	<li>
		Maybe more checks regarding file operations could be made... ?<br />
		 </li>
</ul><p>
	I know this situation was a very rare one, but with a few minor checks here and there and the Cotemplate addition this system will be more solid :) then ever.</p>
<p>
	hope this will help someone in the future...</p>
<p>
	 </p>
]]></description>
			<pubDate>Thu, 12 Кві 2012 17:52:50 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ua/forums?m=posts&q=6872&d=0#post33895]]></link>
		</item>
		<item>
			<title>Trustmaster</title>
			<description><![CDATA[<p>
	Is it specific to 5.3.10 or can be found in earlier versions such as 5.3.6?</p>
]]></description>
			<pubDate>Thu, 12 Кві 2012 17:13:48 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ua/forums?m=posts&q=6872&d=0#post33894]]></link>
		</item>
		<item>
			<title>ez</title>
			<description><![CDATA[<p>
	Warning: imagecreatefrompng() [function.imagecreatefrompng]: './datas/users/1/img_28032012_233232_1.png' is not a valid PNG file in /www/s/c/h/ttt.nl/public_html/system/functions.php on line 2119<br />
	Warning: imagesx() expects parameter 1 to be resource, boolean given in /www/s/c/h/ttt.nl/public_html/system/functions.php on line 2127<br />
	Warning: imagesy() expects parameter 1 to be resource, boolean given in /www/s/c/h/ttt.nl/public_html/system/functions.php on line 2128<br />
	Warning: Division by zero in /www/s/c/h/ttt.nl/public_html/system/functions.php on line 2138<br />
	Warning: imagecopyresampled() expects parameter 2 to be resource, boolean given in /www/s/c/h/ttt.nl/public_html/system/functions.php on line 2159<br />
	 </p>
<p>
	version 0.6.19 cotonti - PHP Version 5.3.10 - GD-version bundled (2.0.34 compatible)</p>
<p>
	seems thumbnail creation is failing ?????</p>
<p>
	Does anybody have an idea</p>
<p>
	 </p>
]]></description>
			<pubDate>Thu, 12 Кві 2012 14:59:30 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ua/forums?m=posts&q=6872&d=0#post33893]]></link>
		</item>
	</channel>
</rss>