We have a server that gets a large number of requests each month.
After a period of time I began to see this error in our error logs this
weekend.
PHP Fatal error: Call to undefined function ()
It does not reference a function, so I found it odd. It did give a line to
a function
On 7 Oct 2013, at 14:24, Michael Alaimo malaimo...@gmail.com wrote:
We have a server that gets a large number of requests each month.
After a period of time I began to see this error in our error logs this
weekend.
PHP Fatal error: Call to undefined function ()
It does not reference
a large number of requests each month.
After a period of time I began to see this error in our error logs this
weekend.
PHP Fatal error: Call to undefined function ()
It does not reference a function, so I found it odd. It did give a line
to
a function with array_merge on it.
Has
of time I began to see this error in our error logs this
weekend.
PHP Fatal error: Call to undefined function ()
It does not reference a function, so I found it odd. It did give a line to
a function with array_merge on it.
Has anyone seen this in the apache error logs? We are using
After trying everything everyone said in here, I finally had a clear enough
head to read through my logs and both my Apache httpd.conf and my PHP6 php.ini
files. I realized that in my Apache error log, it was listing the fact that
PHP could not load the modules for mysqli and xmlrpc (or
I am recieving a fatal error trying to connect to my server/mysql. This is
my first attempt at connecting to a remote server, have been successful with
localhost (apache). I had the variation of not putting the hostname others
into a variable, but that did not work either.
I have also
Gary wrote:
I am recieving a fatal error trying to connect to my server/mysql.
This is my first attempt at connecting to a remote server, have been
successful with localhost (apache). I had the variation of not putting
the hostname others into a variable, but that did not work either.
I
On Sat, Mar 14, 2009 at 13:41, Per Jessen p...@computer.org wrote:
Check if the mysqli extension has been loaded.
Also check this page:
http://us.php.net/manual/en/mysqli.connect.php
For some of the mirrors, trying to hit
http://php.net/mysqli_connect erroneously takes you to
Thanks for your quick reply, but I do not know what that means... Where
would I find this out and how would I accomplish this if it is not done?
Thanks again.
Per Jessen p...@computer.org wrote in message
news:gpgq8i$h5...@saturn.local.net...
Gary wrote:
I am recieving a fatal error trying
Gary wrote:
Thanks for your quick reply, but I do not know what that means...
Where would I find this out and how would I accomplish this if it is
not done?
Thanks again.
Hi Gary
see what phpinfo() says - if the extension is loaded, it'll show up
there. To load the extension, add
Ok, I know how to access the php.ini for the local host, is this the same
file that would control the remote server? Or do I need to look for it on
my remote host?
Again, thanks for your help.
Per Jessen p...@computer.org wrote in message
news:gpgr6o$hc...@saturn.local.net...
Gary wrote:
Gary wrote:
Ok, I know how to access the php.ini for the local host, is this the
same file that would control the remote server? Or do I need to look
for it on my remote host?
The php.ini you need to look at is the one one the server where you're
running your PHP code. The remote host is
I had the code written the way you suggested, but changed it to the way the
hosting company suggested.
I am unclear. I have php 5.2.8.8 on my local machine, I also have MySQL
5.1.30 set up locally as well.
I am using godaddy.com as a host. I assumed that the php was running on the
host
Gary,
you can check this by either creating a file containing this:
?php phpinfo(); ?
and putting it up on your webserver, then open in with your browser,
or you could look at the output of php -i | less on the command
line.
After you enabled the mysqli extension on your host, you might change
2009/3/14 Jan G.B. ro0ot.w...@googlemail.com:
One side node.. you should apply addslashes() also to
$_SERVER['REMOTE_ADDR'), because an evil person could manipulate the
value of that variable to execute SQL-Injections.
forget that part - i didn't see that this var is only used in the
email,
Gary wrote:
I had the code written the way you suggested, but changed it to the
way the hosting company suggested.
I think your hosting company might be smoking something they shouldn't
be. Your way is the right one.
I am unclear. I have php 5.2.8.8 on my local machine, I also have
MySQL
Ok.. I have added
[MySQL]
;Gary, this is the code from the forum.
extension=mysqli.so
to the php.ini file on my machine, I saved the file. Is there anything else
I need to do?
Thanks again.
Per Jessen p...@computer.org wrote in message
news:gpgu1t$ho...@saturn.local.net...
Gary wrote:
Ok.. I have added
[MySQL]
;Gary, this is the code from the forum.
extension=mysqli.so
to the php.ini file on my machine, I saved the file. Is there anything else
I need to do?
Thanks again.
Per Jessen p...@computer.org wrote in message
news:gpgu1t$ho...@saturn.local.net...
Gary wrote:
Thanks again to everyone.
I have just checked the servers phpinfo, and turns out they are running PHP
Version 4.3.11 while I have verstion 5.2.8, could this change any of the
advice?
Jan G.B. ro0ot.w...@googlemail.com wrote in message
Gary wrote:
Thanks again to everyone.
I have just checked the servers phpinfo, and turns out they are running PHP
Version 4.3.11 while I have verstion 5.2.8, could this change any of the
advice?
Yes, the mysqli extension is only available for PHP5. Use the mysql_x()
functions or move to
On 3/14/2009 10:36 AM, Gary gwp...@ptd.net wrote:
Can anyone enlighted me as to what I am not doing correctly?
Hi Gary,
I am hosted using a basic cpanel interface ... There's a button = Remote
MySQL which brings up a page: Remote Database Access Hosts
And I put in my HOME IP and all works
error: Call to undefined function hash_hmac()
Does anyone have any suggestions as to what might be causing this?
The Apache and the CLI environments do have different setups - is it
possible that the hash extension was not built into what apache is
running?
/Per Jessen, Zürich
--
PHP
We are running Novell SUSE Linux Enterprise Server 10 sp1. It has php
5.1.2. We are using a standard out of the box install, and for some
reason the hash functions only work using the cli interface, and fails
to work with apache giving the following error:
PHP Fatal error: Call to undefined
This function is deprecated, and you ought to use mysql_query() to
send the CREATE DB sql anyway -- So the book is either out-dated or
just plain bad.
If the function doesn't exist, then you either don't have MySQL
extension to PHP installed, or your ISP has removed that function.
On Sat, May
Hi All,
I get the following,
*Fatal error*: Call to undefined function mysql_create_db() in
*/usr/local/apache2/htdocs/createmovie.php* on line 6
for this code,
5 //create the moviesite database
6 mysql_create_db(moviesite) or die(mysql_error());
which is from a tutorial in the book I'm
Have you created a connection to the Server with the correct permissions?
-Original Message-
From: Mark Sargent [mailto:[EMAIL PROTECTED]
Sent: Saturday, May 27, 2006 5:03 PM
To: PHP List
Subject: [PHP] Fatal error: Call to undefined function mysql_create_db()
Hi All,
I get
On Sat, May 27, 2006 11:02, Mark Sargent wrote:
Hi All,
I get the following,
*Fatal error*: Call to undefined function mysql_create_db() in
*/usr/local/apache2/htdocs/createmovie.php* on line 6
Sounds like you don't have the MySQL component of PHP installed. If
you're using the packaged
Peter Lauri wrote:
Have you created a connection to the Server with the correct permissions?
Hi All,
sorry, meant to post that too,
1 ?php
2 //connect to MySQL
3 $connect=mysql_connect(localhost, root, password omitted) or
die(Hey, check your server connection.);
I get no error for that
Mark Sargent wrote:
Peter Lauri wrote:
Have you created a connection to the Server with the correct
permissions?
Hi All,
sorry, meant to post that too,
1 ?php
2 //connect to MySQL
3 $connect=mysql_connect(localhost, root, password omitted) or
die(Hey, check your server connection.);
I get
IF NOT EXISTS .$name);
//this returns error 1007 if it exists already
return mysql_query(CREATE DATABASE .$name);
-Original Message-
From: Mark Sargent [mailto:[EMAIL PROTECTED]
Sent: Saturday, May 27, 2006 3:03 AM
To: PHP List
Subject: [PHP] Fatal error: Call
Hi all!
Recently I am getting the following error on some of my PHP-enabled websites. I
think it started when I went from PHP4 - PHP5.
Here is an example (from http://wos.poboxes.info/) :
Fatal error: Call to undefined function preg_match() in
Let me try this again,
I'm Gene Candelaria and I'm a PHP and MySQL newbie. I have a feeling a lot
of you may have seen this before. I'm teaching myself
PHP/MySQL and trying to setup a guestbook. I'm running latest versions of
Apache, PHP and MySql on WIN 2000. PHP is installed from the zip file.
On Sat, 28 Aug 2004 16:57:27 -0700, gc [EMAIL PROTECTED] wrote:
Let me try this again,
I'm Gene Candelaria and I'm a PHP and MySQL newbie. I have a feeling a lot
of you may have seen this before. I'm teaching myself
PHP/MySQL and trying to setup a guestbook. I'm running latest versions of
gc wrote:
snip-a-roo
It's been awhile since I've done php on Windows, but I think you have to
uncomment the mysql dll in the php.ini file (make sure you're editing
the right one as per phpinfo), and restart your web server.
--
By-Tor.com
It's all about the Rush
http://www.by-tor.com
--
PHP
Thanks, John. I have the line uncommented, am editing php.ini in my winnt
directory and have restarted the server. No magic, yet.
Thanks again.
g
-Original Message-
From: John Nichel
gc wrote:
snip-a-roo
It's been awhile since I've done php on Windows, but I think you have to
It's been awhile since I've done php on Windows, but I think
you have to uncomment the mysql dll in the php.ini file (make
sure you're editing the right one as per phpinfo), and restart
your web server.
Thanks, John. I have the line uncommented, am editing php.ini in my winnt
PROTECTED]
Subject: RE: [PHP] Fatal error: Call to undefined function
It's been awhile since I've done php on Windows, but I think
you have to uncomment the mysql dll in the php.ini file (make
sure you're editing the right one as per phpinfo), and restart
your web server.
Thanks, John. I
Trying set up php-syslog-ng on my Red Hat EL 3.0 AS system. I have verified
that I can in fact access mysql and that I have the necessary database and
that the user, password, and host are setup correctly in db_fns.php. It
seems; however, that I still receive the given error:
Fatal error:
The tip..
copy and paste your error code into google ;-)
Do it for all errors, you'll be amazed @ how many have already been answered
- Original Message -
From: Eric L. Sammons [EMAIL PROTECTED]
Date: Thursday, August 12, 2004 2:44 pm
Subject: [PHP] Fatal error: Call to undefined
-
From: Eric L. Sammons [EMAIL PROTECTED]
Date: Thursday, August 12, 2004 2:44 pm
Subject: [PHP] Fatal error: Call to undefined function: mysql_pconnect() in
/var/www/html/includes/db_fns.php on line 6
Trying set up php-syslog-ng on my Red Hat EL 3.0 AS system. I
have verified
that I can in fact
Eric L. Sammons wrote:
Trying set up php-syslog-ng on my Red Hat EL 3.0 AS system. I have verified
that I can in fact access mysql and that I have the necessary database and
that the user, password, and host are setup correctly in db_fns.php. It
seems; however, that I still receive the given
[snip]
did this, all answers came back stating to install php-mysql package.
Already
have that installed. Some have stated they recompiled php, I really
would
like to avoid doing that so I don't affect my Red Hat support
agreements.
[/snip]
have you done phpinfo() to see if it really compiled?
I have done phpinfo and I see --with-mysql=shared,/usr
= Original Message From Jay Blanchard
[EMAIL PROTECTED] =
[snip]
did this, all answers came back stating to install php-mysql package.
Already
have that installed. Some have stated they recompiled php, I really
would
like to avoid
[snip]
I have done phpinfo and I see --with-mysql=shared,/usr
[/snip]
Have you started the mysql daemon?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I have started mysql, all is working (when I use the mysql client).
= Original Message From Jay Blanchard
[EMAIL PROTECTED] =
[snip]
I have done phpinfo and I see --with-mysql=shared,/usr
[/snip]
Have you started the mysql daemon?
--
PHP General Mailing List (http://www.php.net/)
To
On Thu, 12 Aug 2004 15:38:45 -0400, Eric L. Sammons [EMAIL PROTECTED] wrote:
I have done phpinfo and I see --with-mysql=shared,/usr
That doesn't really matter. Is there a mysql section in the phpinfo()?
It should have information similar to this:
MySQL Support enabled
Active Persistent Links
No I see no mysql section in my phpinfo page. I am in the process of
rebuilding php to see if this resolves the problem.
= Original Message From [EMAIL PROTECTED] =
On Thu, 12 Aug 2004 15:38:45 -0400, Eric L. Sammons [EMAIL PROTECTED] wrote:
I have done phpinfo and I see
Eric L. Sammons wrote:
No I see no mysql section in my phpinfo page. I am in the process of
rebuilding php to see if this resolves the problem.
Did you restart Apache after installing the php-mysql rpm?
--
John C. Nichel
ÜberGeek
KegWorks.com
716.856.9675
[EMAIL PROTECTED]
--
PHP General Mailing
On Friday 13 August 2004 03:15, Eric L. Sammons wrote:
did this, all answers came back stating to install php-mysql package.
Already have that installed. Some have stated they recompiled php, I
really would like to avoid doing that so I don't affect my Red Hat support
agreements.
Seems
Please do not top post.
On Friday 13 August 2004 04:04, Eric L. Sammons wrote:
No I see no mysql section in my phpinfo page. I am in the process of
rebuilding php to see if this resolves the problem.
If you mean recompile PHP then you had better be sure you know what you're
doing. My
-
From: Eric L. Sammons [EMAIL PROTECTED]
To: Jay Blanchard [EMAIL PROTECTED]; php-general
[EMAIL PROTECTED]
Sent: Thursday, August 12, 2004 3:49 PM
Subject: RE: [PHP] Fatal error: Call to undefined function: mysql_pconnect()
in /var/www/html/includes/db_fns.php on line 6
I have started mysql, all
rebuilding PHP.
-B
- Original Message -
From: Eric L. Sammons [EMAIL PROTECTED]
To: Jay Blanchard [EMAIL PROTECTED]; php-general
[EMAIL PROTECTED]
Sent: Thursday, August 12, 2004 3:49 PM
Subject: RE: [PHP] Fatal error: Call to undefined function: mysql_pconnect()
in /var/www/html/includes
Setup:
2 servers, one with PHP 4.1.2 and no MySQL installed, the other has MySQL
and PHP 4.1.2
Problem:
I am attempting to connect to the MySQL server from the server without
MySQL, but I get the error that shows in the subject.
Fatal error: Call to undefined function: mysql_connect() in
I am trying to do a little XPath, but I get this error:
Fatal error: Call to undefined function: xpath_new_context() in
Can someone please help me find my problem?
cheers
ian
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[snip]
I am trying to do a little XPath, but I get this error:
Fatal error: Call to undefined function: xpath_new_context() in
Can someone please help me find my problem?
[/snip]
Xpath is not being seen...have you installed it correctly? Are the paths
defined correctly?
--
PHP General Mailing
Problems one of two things. A - you're version of PHP doesn't have support for
that function yet (v4.1.0). or B - You didn't compile support for DOM
http://ca.php.net/manual/en/ref.domxml.php
On Tuesday 04 November 2003 12:51, Ian Williams wrote:
I am trying to do a little XPath, but I
I get this error Fatal error: Call to undefined function: mysql_connect() in one
script. whereas
phpMyAdmin is installed in another directory and it works fine.
Any ideas why?
-Naintara
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Are you using the bundled MySQL libraries under Unix/Linux? What
version of PHP are you running with what operating system? If MySQL
compiled as a module that must be loaded?
Jason
Naintara Jain wrote:
I get this error Fatal error: Call to undefined function: mysql_connect() in one
On Thursday 26 June 2003 12:38, [EMAIL PROTECTED] wrote:
I was testing a boring little FormMail script I've used on dozens of PHP
installations (Apache and IIS), when I got an error:
Fatal error: Call to undefined function: mail() in
/usr/local/apache/vweb/redfishinsurance/form2mail.php on
I was testing a boring little FormMail script I've used on dozens of PHP
installations (Apache and IIS), when I got an error:
Fatal error: Call to undefined function: mail() in
/usr/local/apache/vweb/redfishinsurance/form2mail.php on line 65
What? How? I quote from the PHP manual entry for the
when i use str_word_count() i got the following :
Fatal error: Call to undefined function: str_word_count()
and my PHP is Version 4.2.3
What is the problem ???
thanks in advance
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I'm getting this error while testing the script below just for connectivity.
Mysql is running on XP and apache and php are on openbsd. It seems like I
don't have something configured right in php I guess but I'm not sure. Here
is the script:
?php
$link = mysql_connect(192.168.2.4, root, )
On Wednesday 05 March 2003 11:15, AD wrote:
I'm getting this error while testing the script below just for
connectivity. Mysql is running on XP and apache and php are on openbsd. It
seems like I don't have something configured right in php I guess but I'm
not sure. Here is the script:
Search
Hello,
I run PHP 4.0.4 on a Redhat 7.1
I receive the following message 'Fatal error : Call to undefined
function dbmopen()' when trying to open a new DBM file.
phpinfo() returns :
- configure command : '--with-db2''--with-db3''--with-gdbm'
- DBA support : enabled
- Supported handlers : gdbm
I'm getting this error with my php installation, I first assumed that it
was because I didn't have GD and friends installed. So I configured and
installed PHP with these options and I'm still getting the same error.
./configure --enable-apc --with-mysql --with-apache=../apache_1.3.22
How can I activate the function imagecreate? I'm using PHP 4 in windows
and Linux.
Fatal error: Call to undefined function: imagecreate() in
E:/Augusto/HomePages/img/imagecreate.php on line 37
thanks,
Augusto
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail:
I'm working with an new ISP and I'm having trouble connecting to MySQL
through PHP 4.
Here's some server specifics;
PHP Version 4.0.4pl1
Apache/1.3.14
DBA supportenabled
Supported handlersgdbm db2 db3
I'm getting the following error;
Fatal error: Call to undefined function:
Have you tried a non-persistant connection? Does that work?
mysql_connect()?
-Original Message-
From: Tom Beidler [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 11, 2001 3:12 PM
To: php list
Subject: [PHP] Fatal error: Call to undefined function: mysql_pconnect()
in ...
I'm
perhaps they didnt compile PHP with mysql support...
-Original Message-
From: Matthew Loff [mailto:[EMAIL PROTECTED]]
Subject: RE: [PHP] Fatal error: Call to undefined function:
mysql_pconnect() in ...
Have you tried a non-persistant connection? Does that work?
mysql_connect
list
Subject: [PHP] Fatal error: Call to undefined function: mysql_pconnect()
in ...
I'm working with an new ISP and I'm having trouble connecting to MySQL
through PHP 4.
Here's some server specifics;
PHP Version 4.0.4pl1
Apache/1.3.14
DBA supportenabled
Supported handlersgdbm
use phpinfo to see if they even compiled php with
mysql support, probably didn't
--- Tom Beidler [EMAIL PROTECTED] wrote:
I'm working with an new ISP and I'm having trouble
connecting to MySQL
through PHP 4.
Here's some server specifics;
PHP Version 4.0.4pl1
Apache/1.3.14
DBA
Dear all,
am quite new on php and Linux, after installing php-4.0.6 and
run the test.php it worked OK but when i try to write the function to
initially display records from sybase pubs2 i get the following msg
Fatal Error:Call to undefined function: sybase_connect() in
Have you sompiled in sybase support? By defauly php doesn't compile
with sybase functions, you must specifcally tell it too...
-Original Message-
From: nelo manuel [mailto:[EMAIL PROTECTED]]
Sent: 03 July 2001 09:27
To: [EMAIL PROTECTED]
Subject: [PHP] Fatal Error: Call to undefined
Hi Ray,
Yes i have compiled it with sybase under ./configure - sybase
From: Ray Hilton [EMAIL PROTECTED]
To: 'nelo manuel' [EMAIL PROTECTED], [EMAIL PROTECTED]
Subject: RE: [PHP] Fatal Error: Call to undefined function:
sybase_connect() in
Date: Tue, 3 Jul 2001 09:37:56 +0200
Have you
errors during
configure/install?
-Original Message-
From: nelo manuel [mailto:[EMAIL PROTECTED]]
Sent: 03 July 2001 11:28
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: [PHP] Fatal Error: Call to undefined function:
sybase_connect() in
i have compile it with sybase on ./configure
is ? phpinfo() ?
thanks
From: Ray Hilton [EMAIL PROTECTED]
To: 'nelo manuel' [EMAIL PROTECTED], [EMAIL PROTECTED]
Subject: RE: [PHP] Fatal Error: Call to undefined function:
sybase_connect() in
Date: Tue, 3 Jul 2001 11:37:37 +0200
Not sure other than that... If it compiles it means it can find
PROTECTED]
To: 'nelo manuel' [EMAIL PROTECTED], [EMAIL PROTECTED]
Subject: RE: [PHP] Fatal Error: Call to undefined function:
sybase_connect() in
Date: Tue, 3 Jul 2001 11:37:37 +0200
Not sure other than that... If it compiles it means it can find the
headers it needs from the sybase package
PROTECTED]
Subject: RE: [PHP] Fatal Error: Call to undefined
function:
sybase_connect() in
Date: Tue, 3 Jul 2001 11:37:37 +0200
Not sure other than that... If it compiles it means
it can find the
headers it needs from the sybase package... Is
this sybase 11.9.2? I
managed to build php
thanks you,
but will it solve the Fatal error am getting when trying to
retrieve records from sybase?
Nelson
London
From: rm [EMAIL PROTECTED]
To: nelo manuel [EMAIL PROTECTED], [EMAIL PROTECTED],
[EMAIL PROTECTED]
Subject: RE: [PHP] Fatal Error: Call to undefined function:
sybase_connect
into this problem with GD 1.8.4 and PHP 4.0.4-5,
no matter how i used --with-gd, configure would always
decide that GD was not present, and go on without it.
-Original Message-
From: nelo manuel [mailto:[EMAIL PROTECTED]]
Subject: RE: [PHP] Fatal Error: Call to undefined function
to unsupported or undefined function sybase_connect() in
/home/httpd/html/index1.php3 on line 2
appears again!! :/
help!
From: scott [gts] [EMAIL PROTECTED]
To: php [EMAIL PROTECTED]
Subject: RE: [PHP] Fatal Error: Call to undefined function:
sybase_connect() in
Date: Tue, 3 Jul 2001 12:05:10 -0400
:[EMAIL PROTECTED]]
Subject: RE: [PHP] Fatal Error: Call to undefined function:
sybase_connect() in
thanks you,
but will it solve the Fatal error am getting when trying to
retrieve records from sybase?
Nelson
London
From: rm [EMAIL PROTECTED]
To: nelo manuel
nice 1 scott,
appreciate your help,
i'll keep working on it :)
Many Thanks,
Nelson
London
From: scott [gts] [EMAIL PROTECTED]
To: php [EMAIL PROTECTED]
Subject: RE: [PHP] Fatal Error: Call to undefined function:
sybase_connect() in
Date: Tue, 3 Jul 2001 14:52:36 -0400
well, on second look
Dear all,
after lots of attempts to make my sybase work i still getting an error
with my sybase_connect function,
Fatal error call to undefined function sybase_connect()in my document root
directory index.php3
...
i am now trying to compile ./configure -with -msql does any1 know the
correct
84 matches
Mail list logo