Message boards :
Number crunching :
cannot upload profile avatar image file
Message board moderation
Author | Message |
---|---|
![]() Send message Joined: 19 Oct 22 Posts: 5 Credit: 34,160,943 RAC: 39,042 ![]() ![]() ![]() |
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: 1355 Credit: 576,508,912 RAC: 786,008 ![]() ![]() ![]() |
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: 34,160,943 RAC: 39,042 ![]() ![]() ![]() |
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: 1355 Credit: 576,508,912 RAC: 786,008 ![]() ![]() ![]() |
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. |