473,657 Members | 2,484 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

GD Library installed but getting "Call to Undefined Function" ERROR

14 New Member
My host is running at least PHP 4.3 on a Linux based server and I believe the GD Library is bundled in Php4.3 so I don't know why I am getting this error when trying to use the imagerotate function. It does not give me an error when using resize or imagecreatefrom jpeg($filename) I think they are both GD library functions . I even found a work around on php.net for those who don't have a high enough version of php and even the function doesn't output an image. Is there something to enable in the ini file or what?
Oct 27 '08 #1
3 2608
Markus
6,050 Recognized Expert Expert
My host is running at least PHP 4.3 on a Linux based server and I believe the GD Library is bundled in Php4.3 so I don't know why I am getting this error when trying to use the imagerotate function. It does not give me an error when using resize or imagecreatefrom jpeg($filename) I think they are both GD library functions . I even found a work around on php.net for those who don't have a high enough version of php and even the function doesn't output an image. Is there something to enable in the ini file or what?
It may be bundled but it's not necessarily enabled. You have to uncomment the
Expand|Select|Wrap|Line Numbers
  1. #extension=php_gd2.dll
  2.  
line.

Markus.
Oct 27 '08 #2
zabsmarty
25 New Member
on top of any page type

Expand|Select|Wrap|Line Numbers
  1. phpinfo();
  2.  
than check your server support GD Library or not

if not then go to php.ini file and remove semi-colon from
extension=php_g d2.dll
Oct 28 '08 #3
Markus
6,050 Recognized Expert Expert
on top of any page type

Expand|Select|Wrap|Line Numbers
  1. phpinfo();
  2.  
than check your server support GD Library or not

if not then go to php.ini file and remove semi-colon from
extension=php_g d2.dll
Just like I said above ...
Oct 28 '08 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

2
2369
by: inonzuk | last post by:
why strange you ask? here goes: I have been working with Php and Mysql for a week without any problems. Today I tried executing a php page that connects to mysql and creates a new database, I got this error: "Fatal error: Call to undefined function mysql_connect() in C:\Program Files\Apache Group\Apache2\test\_debug_tmp.php on line 3". I did some reading on the net and checked all my configuration, and it
3
2466
by: news | last post by:
Hi all, hope you can help me. I have recently set up a mysql database of local pubs, with a web form to add new listings (using PHP to generate an INSERT query). I've just been doing a bit of data entry, adding a bunch of new pubs, and all was going swimmingly. But suddenly it has stopped working - now when I try to add a new pub I get an error message "call to undefined function". I have not altered the script in any way since the...
33
25205
by: Chen shuSheng | last post by:
I have a code: --------------------------- #include <iostream.h> #include <stdlib.h> int main() { int max=15; char line; getline(line,max); system("PAUSE");
5
6481
by: Jason | last post by:
Hello, I am trying to dynamically create a table, then set its <td>'s onclick: var table = document.createElement("table"); var row = table.insertRow(-1); var td = row.insertCell(-1); td.onclick = myfunction; function myfunction(event) { alert(event);
3
1265
by: cpanthro | last post by:
Hello, I'm using Access on XP and I am trying to count the number of cases in a Table via a query using two criteria. The criteria are being drawn from two different tables. I keep getting an aggregate function error message. My SQL looks like this: SELECT Count(*) AS Expr1, .Region, Stipulations. FROM INNER JOIN Stipulations ON . = Stipulations. WHERE (((.Region)="North Central") AND ((Stipulations.)="Yes")); I'm an inexperienced...
3
4227
by: gsuns82 | last post by:
HI all, I tried to read an array from an external javascript file called read.js,The array was declared & as well as defined with some values inside the <script> tag of a html file. For an instance: test.html: -------------- <html> <head> <script>
1
2132
by: ashjas | last post by:
Hello, i am trying to compile a code(main.cpp) which uses a function that is declared in a header file that is within the directory where the main.cpp file resides so the header is included as #include"abc.h" that function's definition is inside abc.cpp that also resides in the directory of main.cpp i.e with abc.h but still on usage of that function i get "undefined reference to" that function error.... How is this possible??
6
3224
by: SunshineInTheRain | last post by:
can anyone please help me on problem of 'Sys' is undefined error? I know a lot forum has discussed about this, but none i success to solve the error. I have run it on Window server 2000, IIS 5, Ajax extension 1.0 Installed, Just newly install .net Framework 2.0 where .net framework 1.0 are still using at the same time. The root application are using version 2.0. when create website from vs.net2005 and compile, does not have error. but...
7
16314
by: =?Utf-8?B?SmVycnkgQw==?= | last post by:
I am using this code to get groups for a user and getting a error (5) on the GetAuthorizationGroups() function . There are two domains. This function works on the local domain but does not work on the other domain. Other functions work on the other domain like get all the users and get all the groups and I can validate users on the other domain so I think I am communciating with the other domain OK just not with the...
0
8421
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8325
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8742
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8518
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8621
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6177
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4173
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4330
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
1734
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.