Message boards :
Number crunching :
cannot upload profile avatar image file
Message board moderation
Author | Message |
---|---|
Send message Joined: 19 Oct 22 Posts: 5 Credit: 29,270,765 RAC: 36,037 |
when creating profiles avatar image by uploading file, server side script has troubles to convert and insert into database error messages like this Fatal error: Uncaught Error: Call to undefined function imageCreateFromJPEG() in /home/boincadm/projects/NumberFields/html/user/create_profile.php:129 Stack trace: #0 /home/boincadm/projects/NumberFields/html/user/create_profile.php(261): getImages() #1 /home/boincadm/projects/NumberFields/html/user/create_profile.php(350): process_create_profile() #2 {main} thrown in /home/boincadm/projects/NumberFields/html/user/create_profile.php on line 129 |
Send message Joined: 8 Jul 11 Posts: 1341 Credit: 494,362,721 RAC: 557,601 |
when creating profiles avatar image by uploading file, server side script has troubles to convert and insert into database Try it again. I found a typo in the create_profile.php script that I am hoping is the problem. |
Send message Joined: 19 Oct 22 Posts: 5 Credit: 29,270,765 RAC: 36,037 |
No luck, still error from my end… Fatal error: Uncaught Error: Call to undefined function imageCreateFromJpeg() in /home/boincadm/projects/NumberFields/html/user/create_profile.php:129 Stack trace: #0 /home/boincadm/projects/NumberFields/html/user/create_profile.php(261): getImages() #1 /home/boincadm/projects/NumberFields/html/user/create_profile.php(350): process_create_profile() #2 {main} thrown in /home/boincadm/projects/NumberFields/html/user/create_profile.php on line 129 |
Send message Joined: 8 Jul 11 Posts: 1341 Credit: 494,362,721 RAC: 557,601 |
I think this is working now. At least I was able to delete my own profile image and load it back with no errors. It turned out the php-gd package needed to be installed on the server. Thanks for bringing this problem to my attention. |