473,503 Members | 2,029 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 imagecreatefromjpeg($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 2598
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 imagecreatefromjpeg($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_gd2.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_gd2.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
2363
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...
3
2459
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...
33
25176
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
6463
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);...
3
1261
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...
3
4218
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...
1
2118
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 ...
6
3213
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,...
7
16250
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...
0
7204
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,...
0
7091
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...
0
7282
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7342
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...
1
5018
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...
0
4680
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
1516
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
741
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
391
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...

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.