climateprediction.net home page
Cannot update Avatar.

Cannot update Avatar.

Questions and Answers : Preferences : Cannot update Avatar.
Message board moderation

To post messages, you must log in.

AuthorMessage
John McLeod VII
Avatar

Send message
Joined: 5 Aug 04
Posts: 172
Credit: 4,023,611
RAC: 0
Message 14809 - Posted: 31 Jul 2005, 1:24:31 UTC

Every time that I try to update the avatar, I get the following error message:

Warning: imagejpeg(): supplied argument is not a valid Image resource in /websites/boinc/projects/cpdnboinc/html/user/edit_forum_preferences_action.php on line 41

Warning: Cannot modify header information - headers already sent by (output started at /websites/boinc/projects/cpdnboinc/html/user/edit_forum_preferences_action.php:41) in /websites/boinc/projects/cpdnboinc/html/user/edit_forum_preferences_action.php on line 78

The same avatar file from the same location works on all other BOINC boards. (And it is not the avatar that I currently have showing).
<a><img></a>
<a>BOINC WIKI</a>
ID: 14809 · Report as offensive     Reply Quote
Profile Ananas
Volunteer moderator

Send message
Joined: 31 Oct 04
Posts: 336
Credit: 3,316,482
RAC: 0
Message 14882 - Posted: 2 Aug 2005, 21:28:57 UTC
Last modified: 2 Aug 2005, 21:29:33 UTC

I can produce this message :

Fatal error: Call to undefined function: intelligently_scale_image() in /websites/boinc/projects/cpdnboinc/html/user/edit_forum_preferences_action.php on line 37

so there's probably

require_once("../inc/image.inc");

missing in edit_forum_preferences_action.php, which might explain your error message too.
ID: 14882 · Report as offensive     Reply Quote
old_user91133
Avatar

Send message
Joined: 4 Aug 05
Posts: 12
Credit: 59,129
RAC: 0
Message 14995 - Posted: 8 Aug 2005, 20:40:45 UTC - in response to Message 14882.  
Last modified: 8 Aug 2005, 20:49:02 UTC

&gt; I can produce this message :
&gt;
&gt; Fatal error: Call to undefined function: intelligently_scale_image() in
&gt; /websites/boinc/projects/cpdnboinc/html/user/edit_forum_preferences_action.php
&gt; on line 37
&gt;
&gt; so there's probably
&gt;
&gt; require_once("../inc/image.inc");
&gt;
&gt; missing in edit_forum_preferences_action.php, which might explain your error
&gt; message too.
&gt;
_________________________________________________________________________________
I am getting the same error as you are Ananas, I have tried 3 different sized Avatars with the same results... I used an 80X80 .jpg and also a 115X155 .jpg and finally a 120X120 .jpg all with the same error message you posted. Is there a solution to correct this and add an Avatar? If I understand your post correctly the command string needs a "required_once" in it somewhere but I don't know where or how to add it. Can somebody help please??

Life's Goal Is Not To Arrive Safely At The Gravesite In A Well Preserved Body, But Rather To Come Skidding In Sideways, Totally Worn Out And Shouting: "HOLY SHIT... WHAT ARIDE!"
ID: 14995 · Report as offensive     Reply Quote
Profile Ananas
Volunteer moderator

Send message
Joined: 31 Oct 04
Posts: 336
Credit: 3,316,482
RAC: 0
Message 15058 - Posted: 12 Aug 2005, 3:27:16 UTC
Last modified: 12 Aug 2005, 3:30:38 UTC

It's in the PHP sources on the server, nothing we could fix.

I guess, it came from mixing two BOINC versions on the server. The newer ones need more includes, those includes used to be combined in one file before but have been separated later.
ID: 15058 · Report as offensive     Reply Quote
KWSN Sir Clark

Send message
Joined: 8 Jul 05
Posts: 33
Credit: 1,274,211
RAC: 0
Message 16104 - Posted: 18 Sep 2005, 17:55:06 UTC - in response to Message 15058.  

It\'s in the PHP sources on the server, nothing we could fix.

I guess, it came from mixing two BOINC versions on the server. The newer ones need more includes, those includes used to be combined in one file before but have been separated later.


I get:
Fatal error: Call to undefined function: imageantialias() in /websites/boinc/projects/cpdnboinc/html/inc/image.inc on line 32

My image meets all the criteria - it\'s 100x100 and 2.82KB (4 on disk)


ID: 16104 · Report as offensive     Reply Quote
old_user1
Avatar

Send message
Joined: 5 Aug 04
Posts: 907
Credit: 299,864
RAC: 0
Message 16110 - Posted: 18 Sep 2005, 20:07:17 UTC

Yikes, looks like I had a missing JPEG config in the new PHP config that BOINC requires, should be OK now.
ID: 16110 · Report as offensive     Reply Quote
KWSN Sir Clark

Send message
Joined: 8 Jul 05
Posts: 33
Credit: 1,274,211
RAC: 0
Message 16113 - Posted: 18 Sep 2005, 21:35:27 UTC

It works now....thanks
ID: 16113 · Report as offensive     Reply Quote

Questions and Answers : Preferences : Cannot update Avatar.

©2024 cpdn.org