Slackware :: Fatal Error - Call To Undefined Function Imagecreatefromjpeg()

May 17, 2011

I am having a problem with my slackware version 12 server. I tried installing a new joomla theme from the rockettheme and its giving me the following error while loading the site.

Fatal error: Call to undefined function imagecreatefromjpeg()in /home/www/verticaltest/modules/mod_rokstories/thumbnail.inc.php on line 167

Thought it was a problem with gd library modules, but in info.php, its showing that gd is installed in the server. Pasting the result form info.php below..

If gd is installed, what should be the problem?

View 3 Replies


ADVERTISEMENT

Server :: Fatal Error: Call To Undefined Function

May 7, 2010

I had created a database in mysql called guestbook and created tables also in mysql and also granted remote connections privileges from below command

mysql> grant all privileges on *.* to root@192.168.1.222 identified by "rrcrrc";

i had accessed from my pc(192.168.1.222) and used phprunner to create php web pages and copied the phprunner output folder to use with apache. when i accessed from my pc the below error is coming

Fatal error: Call to undefined function: mysql_connect() in /home/administrator/useridall/include/dbconnection.php on line 9

i can't understand what is going on so i put this question in the forum, below is i am giving the dbconnection.php details.

dbconection.php
<?php
function db_connect()
{

[code]....

View 3 Replies View Related

Software :: Fatal Error - Call To Undefined Function Mysql_connect()

Jun 14, 2011

I know that you already had some cases of this error on this forum, and i wouldn't like to open up old topics, but none of the solutions mentioned before, helped.

I am trying to run a local php script on a Debian based server, but every time i run it, i get this error message:

Code:

Code:

And the php mysql_connect() function works as tested in this .php file

Code:

Using the script

Code:

The php script i am trying to run is a php irc bot from

Code:

And the mysql.php file which issues the error is like this:

Code:

I have also tried editing the mysql_connect function to be something like the test script i mentioned above, but still get the same error.

I have installed LAMP server using the apt-get (installed following packages: apache2 php5 libapache2-mod-php5 mysql-server mysql-client php5-mysql phpmyadmin) everything so far works great.

What i have noticed, that even though mysql shows up in phpinfo, it doesn't show up as a module listed in 'php -m'

View 10 Replies View Related

Programming :: PHP Fatal Error - Call To Undefined Function Mysql_connect()

Nov 5, 2010

Am getting errors about "mysql_connect()" for the following code:

Have compiled PHP with MySQL support using the following:

Thought PHP 5.3 has a built-in replacement called mysqlnd, and there's no need to install "php-mysql" RPM.

However, according to the following site this is still required: [url]

Give me an idea whether I really have to install php-mysql RPM in order to use mysql_connect() for PHP?

View 4 Replies View Related

CentOS 5 :: PHP Fatal Error: Call To Undefined Function Timezone_open()

Sep 16, 2010

I'm newbie with Centos. I have got a server with Centos 5.2 and I need to use PHP 5 >= 5.1.0 function as timezone_open. So that, I follow this guide to update php. Now, I have got PHP 5.1.6 (cli) (built: Mar 31 2010 02:44:37). I create a simple test.php: Quote:<?php $var = timezone_open('UTC');print_r($var);?>

View 3 Replies View Related

Debian :: Connect To My Mysql Database Using Php - Fatal Error - Call To Undefined Function Mysql_connect()".

Jul 31, 2010

I am trying to connect to my mysql database using php but I am getting the error "Fatal error: Call to undefined function mysql_connect()".

I checked phpinfo() and there is no reference to MySQL. I believe this means that my install of PHP doesn't support MySQL. Do I need to uninstall and reinstall with a version of PHP with MySQL support? If so how should I do this and how do I get a version of PHP that supports MySQL?

View 2 Replies View Related

Server :: Connect PHP With Mysql - Fatal Error "Call To Undefined Function Mysql_connect()"

Jun 9, 2010

I am trying to connect PHP with Mysql, but coming across the below error: PHP Fatal error: Call to undefined function mysql_connect() in /var/www/html/index.php on line 2

View 1 Replies View Related

Ubuntu Installation :: Postgresql Works From Cli - Error Call To Undefined Function

Aug 4, 2011

I have weird problem with postgresql + nginx + php5 0 ubuntu 11.04. Postgresql works just fine, when I run "php test.php" from shell. I assume php runs from shell are called cgi runs? When I open page from browser [URL]... I get following error. I assume php runs from browser are called cgi runs? Fatal error: Call to undefined function pg_connect() in /var/www/mydomain/htdocs/test.php on line 7 When you print php info, only reference to postgresql is pgsql.ini and pdo_pgsql.ini files that are parsed.

[code]....

I did install postgresql by running following commands:

sudo -s
aptitude install postgresql
aptitude install php5-pgsql

View 2 Replies View Related

Fedora :: Error: Call To Undefined Function: Curl_init() In /root/test.php On Line 142

Nov 22, 2009

curl: try 'curl --help' or 'curl --manual' for more information so here curl is working when I'm trying php test.php I got: PHP Fatal error: Call to undefined function: curl_init() in /root/test.php on line 142

Also in php.ini is missing extension=php_curl.dll but I added and the same problem

View 4 Replies View Related

Ubuntu :: Php Pear Seems Broken / Fatal Error: Call To Undefined Method Pear?

May 2, 2011

I'm trying to install a package (validate) from pear.

but the command sudo pear install validate fails with error:

PHP Fatal error:Call to undefined method PEAR::raiseErro() in /usr/share/php/PEAR/REST.php on line 165

Looking around on the internet I found a bug report on debian:url

The fix is to update php5.

So now the question:

How do I update php5 or apply the patch mentioned in this bug report?

View 4 Replies View Related

General :: PHP Fatal Error - Call To Undefined Method PEAR - RaiseErro() In /usr/share/php/PEAR/REST.php On Line 165

Apr 30, 2011

When running

Pear upgrade

The following error is raised:

View 1 Replies View Related

Red Hat / Fedora :: PHP Error "Call To Undefined Function Mysql_connect()" When Connecting To MySQL

Mar 22, 2011

I am getting this error when I try to connect to my MySQL database from a PHP page. "Fatal error: Call to undefined function mysql_connect() in /usr/local/htdocs/test.php on line 11" I have found instances on the Internet where other people had the same problem but from everything I've read, none of it appears to do anything for me.

I have read that I need the "extension=mysql.so" in my php.ini file and to uncomment it but it's not in there and I don't even have the "mysql.so" file. Many people have said to install the MySQL "devel" package, which I have also done and it is still not adding the file. I have also tried running the PHP ./configure again with the "--with-mysql". After all of these I still can't seem to get any further than I was when I found out I had a problem.

View 4 Replies View Related

Programming :: Undefined Reference To - Function Error

Nov 11, 2010

I have been trying to build a file called main.cpp through my make file which is in Linux.

There are functions like

Which are being called. I have included all the necessary headers and also have included the necessary lib.a files in the make file as below:


I am still getting the below error. I use make -j makefile.mak clean all command to make the build.

View 1 Replies View Related

CentOS 5 Server :: Creating PDF Using PHP Getting Undefined Function Error?

Mar 16, 2009

I had installed PHP using yum install php. I am trying to use the pdf_new function to create pdfs from existing text files, but I get this error PHP Fatal error: Call to undefined function pdf_new()I have noticed that when I run the phpinfo() command, I cannot find the PDF phrase at all. My php.ini file does not even have these two linesextension=php_pdf.dll extension=php_cpdf.dll kind of command I should use if I need to build PDFs using PHP on Centos 5?

View 1 Replies View Related

Programming :: Undefined Reference To 'main' Error In Crt1.o Function _start

Apr 13, 2011

I've having problems with my Makefile.

I'm trying to create a program from 2 files - main.cpp that contains the main function, and modules.c that contains the definitions of the functions that are called in main(). modules.c only contain function definitions, no main function.

My Makefile is as follows:

Code:

I have included "modules.h", which contains all the function declarations, in my main.cpp.

When I try to make using this Makefile, I get the error

Code:

If I switch the order of modules.o and main.o in my $(TARGET) line, then I get errors that say "undefined reference to" the functions I have defined in modules.c, in main.cpp.

View 4 Replies View Related

Slackware :: Modprobe Kvm-intel Gives An Error - FATAL: Error Inserting Kvm_intel

Jul 2, 2010

I've just install qemu-kvm from [URL]

I run modprobe kvm and modprobe kvm-intel to load the modules, but the second command won't work.

It gives the following error -

Code:

root@mika:/home/mika# modprobe kvm-intel

FATAL: Error inserting kvm_intel (/lib/modules/2.6.33.4/kernel/arch/x86/kvm/kvm-intel.ko): Operation not supported

View 10 Replies View Related

Slackware :: LibXi.so.6: Undefined Symbol: XESetWireToEventCookie Error (-current)

Mar 3, 2010

I just installed the latest updates from Slackware-Current, The update went fine, did a reboot, installed the nvidia driver (NVIDIA-Linux-x86_64-195.36.08-pkg2), started X successfully. Now, whenever i open an X dependent application it gives me the following error:

Quote:

symbol lookup error: /usr/lib64/libXi.so.6: undefined symbol: XESetWireToEventCookie

I am running a Multilib setup, i have the latest toolchains from AlienBob installed. the ldd output goes like this:

Code:

linux-vdso.so.1 => (0x00007fff9ebd2000)
libXext.so.6 => /usr/lib64/libXext.so.6 (0x00007f8daef94000)
libX11.so.6 => /usr/lib64/libX11.so.6 (0x00007f8daec5b000)
libxcb.so.1 => /usr/lib64/libxcb.so.1 (0x00007f8daea3f000)

[code]....

View 1 Replies View Related

Slackware :: Fatal Error: Glib-object.h: No Such File Or Directory

May 31, 2011

I'm using Slackware 13.37 x64 (upgraded to slackware-current) and I have trouble compiling mysql workbench 5.2.34.

The error is:

Code:

scintilla-marshal.c:2:25: fatal error: glib-object.h: No such file or directory

But I have that glib-object.h file:

Code:

$ locate glib-object.h
/usr/include/glib-2.0/glib-object.h

This is when I try to compile version 5.2.27:

Code:

./PlatGTK.cxx:13:21: fatal error: gdk/gdk.h: No such file or directory

Code:

$ locate gdk.h
/usr/include/gtk-1.2/gdk/gdk.h
/usr/include/gtk-2.0/gdk/gdk.h

View 12 Replies View Related

Slackware :: Fatal Server Error: Failed To Activate Core Devices

Sep 22, 2010

I have 3 accounts setup on this machine. One is root, one is my own, and one is for my kids. My account and root work fine, but today when I tried to log my kids on, startx fails (it also fails from runlevel4). I have tried creating new accounts and they fail as well. I'm not sure when the issue started, but it's been less than a week I believe. The consistent error which I receive is
Quote:

(EE) Error compiling keymap (server-0)
(EE) XKB: Couldn't compile keymap
XKB: Failed to compile keymap

Keyboard initialization failed. This could be a missing or incorrect setup of xkeyboard-config. Fatal server error: Failed to activate core devices.

View 3 Replies View Related

Debian :: Undefined Function Mysql_connect()

Jul 31, 2010

I am trying to connect to my mysql database using php but I am getting the error "Fatal error: Call to undefined function mysql_connect()".

I checked phpinfo() and there is no reference to MySQL. I believe this means that my install of PHP doesn't support MySQL. Do I need to uninstall and reinstall with a version of PHP with MySQL support? If so how should I do this and how do I get a version of PHP that supports MySQL?

View 1 Replies View Related

Server :: Undefined Function __() In Phpmyadmin

Jun 19, 2011

I installed phpmyadmin and when I tried to access it, it said:

[code]...

View 1 Replies View Related

Programming :: Undefined Reference To Function ?

Jun 21, 2011

I'm using Linux and I have the following files:

The function F1() is declared in fileB.h and defined in fileB.cpp. I need to use the function in fileA.c, and so I declared the function as

However, during compilation, I got the error fileA.c: (.text+0x2b7): undefined reference to `F1'

View 2 Replies View Related

Programming :: Undefined Reference To Function While Linking

May 27, 2010

I am trying to add some function to the c++ project (calling function) and the called function are in C. And i am getting error "undefined reference to "Hello(int,int)" " while linking. It is compiling correctly. It is linking to header file mention in the calling function. This header file has definition to the c - called function. Do you thinking having c files into C++ project will be a problem? Should I remove <stdio.h> in c files?

View 2 Replies View Related

General :: Slackware 13.1 Won't Boot With Ubuntu Studio - Fatal Server Error: No Screens Found

Jan 1, 2011

I have this old box that I used at school that I wanted to re-purpose and use. So i decided to that I wanted to run xp, ubuntu studio and slackware so I can learn about linux and do some other things with xp. I think I got through the installatiosa all fine and dandy, and I installed grub for my boot loader, I can boot into studio and xp, but I cant get into slackware. the grub boot menu is sorta funky too, it shows a generic and recovery mode for studio which is fine, and then another option for xp, some memory test boot option, but then for slackware it shows "Slackware Linux (Slackware 13.1.0) (on /dev/sda4) four times in a row. If I select any of them they all end up with some error; the third SW [slackware] option down the list of the repeated 4 allows me to sign into root, but when I type "startx" i get :

(EE) intel(0): No kernel modesetting driver detected
(EE) Screen(s) found, but none have a usable configuration

Fatal server error: no screens found

but thats with a lot of other text above that. if you need any more details, please dont hesitate to request for them. I'm going to take some time and cool down. I'm trying to get these three OSes running from one HD. I've partitioned the 80 gig drive as follows

Primary 40 G NTSF for XP
Primary 2G Linux Swap
Primary 16G Slackware
Primary 18 U Studio
Primary

View 21 Replies View Related

Slackware :: GLUT: Fatal Error In Torcs-bin: Failed To Create OpenGL Rendering Context

Jan 15, 2011

I have installed torcs (using sbopkg) and the dependencies plib, OpenAL, and freealut. On running it I get

Quote:

GLUT: Fatal Error in torcs-bin: failed to create OpenGL rendering context.

I am not sure if it is relevant but this is xorg.conf

Quote:

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (buildmeister@builder62) Tue Jul 28 19:48:57 PDT 2009
Section "ServerLayout"

[code]....

View 9 Replies View Related

Software :: Debug Undefined Reference To Library Function (yad 0.5.1)?

Oct 15, 2010

I'd like to learn debugging techniques as much as to solve this particular problem. While trying to build yad 0.5.1:

Code:

yad-notification.o: In function `yad_notification_run':
/tmp/yad-0.5.1/src/notification.c:330: undefined reference to `gtk_status_icon_set_tooltip_text'

According to the source package's README file, "Yad depends on gtk+ only. Minimal gtk+ version is 2.12.0". I checked /var/log/packages and found gtk+2-2.14.7-i486-4 is installed.

Inspecting /tmp/yad-0.5.1/src/notification.c showed that gtk_status_icon_set_tooltip_text is a function. So it should be declared in the gtk+2-2.14.7 header files (or not?).

Checking:

Code:

c@CW8:/usr/include/gtk-2.0$ find . -name '*.h' -exec grep gtk_status_icon_set_tooltip_text {} ;
[no output]

Is this enough analysis to justify reporting an issue? Is there any more I can do before logging an issue?

OS: Slackware 13.0 32-bit.
yad download: http://code.google.com/p/yad/downloa...ar.xz&can=2&q=

The downloaded package checksums OK. Netsearching for gtk_status_icon_set_tooltip_text finds no pages.

View 3 Replies View Related

Slackware :: Xfce Died - Xfce4-session: Fatal IO Error 11 (Resource Temporarily Unavailable) On X Server

Sep 9, 2010

I was just mucking about in xfce, trying out new window buttons in conjunction with the black theme - dusk?? - when POW! - X shut down. Rebooting didn't restore things. Error is along these lines:

xfce4-session: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.0. xfwm4: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.0.
[Code]....

Is there a config file I can edit to get away from the window button setting it dislikes, or is reinstalling xfce the only option?

View 2 Replies View Related

Server :: Call A C Function Or To Execute A C Pgm O/p From Php?

Apr 6, 2011

how to call a c function or to execute a c pgm o/p from php file and this output should be displayed in the html page ? I have tried with system() and exec()but its not working.

View 2 Replies View Related

CentOS 5 :: Kernel Panic - Not Syncing - Fatal Exception - Smp_call Function

Aug 4, 2010

I have a situation where there are no logs in /var/log/messages and this has happened the second time during two weeks.

Snapshot of the screen was taken when this happened and the server was restarted. Since it's a time sensitive matter.

Snapshot:[url]

View 8 Replies View Related

General :: How To Determin Function Call When Application Run On System

Sep 6, 2010

How can it be determined whether a function defined in some file of an application source-code(meant for multiple operating systems e.g., Linux, AmigaOS) is actually called when the application run on Linux?

View 9 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved