<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
  <title>aC forum: Avatars and Images not working - fail to upload</title>
  <link>http://www.activecollab.com/forums/topic/1759/</link>
  <description>Recent posts on topic: Avatars and Images not working - fail to upload</description>
  <dc:language>en-us</dc:language>
  <pubDate>Thu, 04 Dec 2008 05:52:12 UTC</pubDate>
  
  <item>
    <link>http://www.activecollab.com/forums/post/8304/#post8304</link>
    <guid>http://www.activecollab.com/forums/post/8304/#post8304</guid>
    <title>Post #6 by umcna</title>
    <dc:creator>umcna</dc:creator>
    <description><![CDATA[<p>Recompiling PHP5 with an explicit --with-gd=/dir fixed the problem.  Thanks again!</p>]]></description>
    <pubDate>Fri, 27 Jul 2007 14:18:19 UTC</pubDate>
  </item>
  <item>
    <link>http://www.activecollab.com/forums/post/8299/#post8299</link>
    <guid>http://www.activecollab.com/forums/post/8299/#post8299</guid>
    <title>Post #5 by umcna</title>
    <dc:creator>umcna</dc:creator>
    <description><![CDATA[<p>Thanks!  I'm the host so I'll check into that tonight.  While were at it.  My set up presently runs PHP4 and then PHP5 on a virt server.  Do you think that is causing this error.  Usually flushing the cache and reopening the browser fixes this issue.  Is it not related?  Thanks again for the quick support!<br />
<br />
Query failed with message 'Lock wait timeout exceeded; try restarting transaction' <br />
Error params: <br />
File: /usr/www/activecollab/environment/library/database/adapters/AbstractDBAdapter.class.php  <br />
Line: 371  <br />
Sql: UPDATE `ac_users` SET `updated_on` = '2007-07-26 19:06:56', `last_activity` = '2007-07-26 19:06:56' WHERE `id` = '7'  <br />
Error number: 1205  <br />
Error message: Lock wait timeout exceeded; try restarting transaction  <br />
Backtrace: <br />
#0 /usr/www/activecollab/environment/library/database/adapters/AbstractDBAdapter.class.php(257): AbstractDBAdapter-&gt;prepareAndExecute('UPDATE `ac_user...', NULL)<br />
#1 /usr/www/activecollab/environment/library/database/DB.class.php(139): AbstractDBAdapter-&gt;execute('UPDATE `ac_user...', NULL)<br />
#2 /usr/www/activecollab/environment/classes/dataaccess/DataObject.class.php(594): DB::execute('UPDATE `ac_user...')<br />
#3 /usr/www/activecollab/environment/classes/dataaccess/DataObject.class.php(408): DataObject-&gt;doSave()<br />
#4 /usr/www/activecollab/application/models/CompanyWebsite.class.php(218): DataObject-&gt;save()<br />
#5 /usr/www/activecollab/application/models/CompanyWebsite.class.php(123): CompanyWebsite-&gt;setLoggedUser(Object(User), false, true)<br />
#6 /usr/www/activecollab/application/models/CompanyWebsite.class.php(47): CompanyWebsite-&gt;initLoggedUser()<br />
#7 /usr/www/activecollab/application/models/CompanyWebsite.class.php(49): CompanyWebsite-&gt;init()<br />
#8 /usr/www/activecollab/application/application.php(21): CompanyWebsite::init()<br />
#9 /usr/www/activecollab/init.php(125): require_once('/usr/www/active...')<br />
#10 /usr/www/activecollab/index.php(9): require('/usr/www/active...')<br />
#11 {main} <br />
Autoglobal varibles: <br />
$_GET: Array (<br />
  ['c'] =&gt; (string) 'access'<br />
  ['a'] =&gt; (string) 'login'<br />
)  <br />
$_POST:  <br />
$_COOKIE: Array (<br />
  ['id'] =&gt; (string) '7'<br />
  ['token'] =&gt; (string) '041f355093c3d267142b17a3411c28d35ef68a08'<br />
)  <br />
$_SESSION:  <br />
Execution time:  <br />
Total execution time: 50.138470888138 seconds <br />
</p>]]></description>
    <pubDate>Thu, 26 Jul 2007 19:12:06 UTC</pubDate>
  </item>
  <item>
    <link>http://www.activecollab.com/forums/post/8291/#post8291</link>
    <guid>http://www.activecollab.com/forums/post/8291/#post8291</guid>
    <title>Post #4 by Ilija Studen</title>
    <dc:creator>Ilija Studen</dc:creator>
    <description><![CDATA[<p>If imagecreatefromjpeg() is missing than you most probably don't have GD2 installed. Try contacting your hosting provider to see if that is true and if they can fix the problem. Without GD activeCollab cannot resize images - avatars, logos and file uploads.</p>]]></description>
    <pubDate>Thu, 26 Jul 2007 18:01:59 UTC</pubDate>
  </item>
  <item>
    <link>http://www.activecollab.com/forums/post/8290/#post8290</link>
    <guid>http://www.activecollab.com/forums/post/8290/#post8290</guid>
    <title>Post #3 by umcna</title>
    <dc:creator>umcna</dc:creator>
    <description><![CDATA[<p>Firstly, Ilija, you rock!  Thanks for being there and for your support.  I've enable debug and when I attempted to upload I got:<br />
<br />
Fatal error: Call to undefined function imagecreatefromjpeg() in /usr/www/activecollab/library/simplegd/classes/SimpleGdImage.class.php on line 113<br />
<br />
Perhaps I've got a bad GD install in my PHP5 installation?</p>]]></description>
    <pubDate>Thu, 26 Jul 2007 15:52:42 UTC</pubDate>
  </item>
  <item>
    <link>http://www.activecollab.com/forums/post/8233/#post8233</link>
    <guid>http://www.activecollab.com/forums/post/8233/#post8233</guid>
    <title>Post #2 by Ilija Studen</title>
    <dc:creator>Ilija Studen</dc:creator>
    <description><![CDATA[<p>You are having problems with image resizing. Turn debugging On (<a href="http://www.activecollab.com/pages/41/development/documentation/how-to-report-a-bug/" target="_blank" rel="nofollow">here are the instructions</a>) and post the error message thrown by PHP.</p>]]></description>
    <pubDate>Sat, 21 Jul 2007 06:17:19 UTC</pubDate>
  </item>
  <item>
    <link>http://www.activecollab.com/forums/post/8227/#post8227</link>
    <guid>http://www.activecollab.com/forums/post/8227/#post8227</guid>
    <title>Post #1 by umcna</title>
    <dc:creator>umcna</dc:creator>
    <description><![CDATA[<p>I've searched the archives to no avail.  I'm running AC .71 using handbuild apache 2.2.4/php5.2.3 MySQL 4.1, AC config'd such that File Storage: Database(MySQL).<br />
<br />
File uploads appear to work execpt for images.  When I upload an image as a file inside a project and then click on it, it shows the file as uploaded by the html target is empty and the div tags are not closed.<br />
<br />
I've removed the carats from the viewed source below (url=http://activecollab.umcna.org/index.php?c=files&amp;a=file_details&amp;id=5&amp;active_project=3):<br />
<br />
div id=&quot;fileDetails&quot; class=&quot;block&quot;<br />
  div class=&quot;private&quot; title=&quot;Private file&quot; span Private file /span  /div <br />
   div class=&quot;header&quot; daemon-150.jpg /div<br />
   div class=&quot;content&quot; <br />
     div id=&quot;fileIcon&quot;  img src=&quot;<br />
<br />
That's it, no more html on the page.<br />
<br />
Moreover, correctly sized jpg or png (50x50px - not interlaced), fail to upload and redirect url goes wierd to the point that I have to close the webpage, dump cookies and log back in.  Same goes for company logos too.<br />
<br />
Is there a way to upload (not using the web mechanism) the avatars and add an entry in the user table in the db?<br />
<br />
TIA in advance and thanks for a great project management tool!</p>]]></description>
    <pubDate>Thu, 19 Jul 2007 21:17:46 UTC</pubDate>
  </item>
</channel>
</rss>