close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Fatal error: Uncaught Error: Call to undefined function imagecreatefromjpeg()

Thread began 3/01/2021 9:35 am by Nathon Jones Web Design | Last modified 11/20/2022 12:30 am by Nathon Jones Web Design | 4433 views | 4 replies

Nathon Jones Web Design

Fatal error: Uncaught Error: Call to undefined function imagecreatefromjpeg()

Just starting a new thread on this as I was more than beginning to hijack the other thread!

I'm getting this error when I attempt to upload an image via MySQLi Insert Record and File Manipulation Upload Wizard:

Fatal error: Uncaught Error: Call to undefined function imagecreatefromjpeg() in C:\inetpub\wwwroot\tammyssweetstems\webassist\file_manipulation\helperphp.php:962 Stack trace: #0 C:\inetpub\wwwroot\tammyssweetstems\webassist\file_manipulation\helperphp.php(174): WA_DFP_ResizeImage() #1 C:\inetpub\wwwroot\tammyssweetstems\njadmin\add_banner.php(78): WA_DFP_UploadFiles() #2 {main} thrown in C:\inetpub\wwwroot\tammyssweetstems\webassist\file_manipulation\helperphp.php on line 962

Is this definitely related to not having GD installed in PHP?

I have checked some support sites and I don't have php_gd2.dll installed in the ext directory of my PHP install directory, nor is php_gd2.dll referenced in my php.ini file. It simply references php_gd.dll (which may well be a change of refernce in PHP8, I don't know)?

I just wanted to double check that it's not related to the helperphp.php file, which is referenced in the error that's displayed.

Line 962 helperphp.php is:
$src = imagecreatefromjpeg($imageFilePath);

Line 174 helperphp.php is:
$resizeResult = WA_DFP_ResizeImage($tmpFileNamePath, $val);

and Line 78 add_banner.php is:
WA_DFP_UploadFiles("WA_UploadResult1", "NJbannerIMG", "2", "[NewFileName]_[Increment]", "true", $WA_UploadResult1_Params);

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...