Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Tue Sep 20, 2011 12:09 am 
Offline
Senior Newbie

Joined: Thu Jul 28, 2011 2:39 am
Posts: 8
Location: United States
Today I installed php5-curl via apt-get on our Debian linode.

When that package installed, it somehow broke GD functionality on our Drupal site:

Warning: imagecreatefromjpeg(): 'public://sports_article/DVP4965023.JPG' is not a valid JPEG file in image_gd_load() (line 237 of /var/aegir/platforms/ehsa-1.5.3-drupal-7.8/modules/system/image.gd.inc).

New images won't generate, etc.

As near as I can tell php5-curl introduced some conflict with libjpeg but beyond that I am completely stumped so far.

Can anybody point me in the right direction?


Top
   
 Post subject:
PostPosted: Tue Sep 20, 2011 1:44 am 
Offline
Senior Member

Joined: Fri May 02, 2008 8:44 pm
Posts: 1121
Are you absolutely positively sure that curl is the problem? I have to ask because many people forget that they also made other changes since the last time they restarted Apache.

Uninstall curl, restart Apache -> Does it work now?
Reinstall curl, restart Apache -> Is it broken again?

Also, the non-standard "public://" scheme looks like a nasty bug waiting to happen. I haven't touched Drupal for a while, though. Where is this file actually located?

Having said that, php5-curl sucks ass. It used to crash when combined with php5-pgsql. I avoid it like the plague since then, but sometimes there's no other choice.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group