Re: [PHP] Fatal error: Call to undefined method

2010-08-20 Thread Jo�o C�ndido de Souza Neto
Try this: escreveu na mensagem news:29494740.p...@talk.nabble.com... > > Greetings, > > I'm having a very simple problem that I can't seem to find the solution > to. > I try and access a method in this class I made called > MyPropertyManagement... the method is named get_complexes(). I try and

Re: [PHP] Fatal error on functions valid for PHP 4, 5 [RESOLVED]

2009-10-09 Thread kronos
On October 9, 2009 05:17:18 pm you wrote: > kro...@aolohr.com wrote: > > Thanks Chris. > > > > Seems like the function is a dud. I have '-enable-calendar' working on > > both local and production. Sigh . . > > > > I have been using another modified 'easter' function, 'pFeast', (can't > > for the li

Re: [PHP] Fatal error on functions valid for PHP 4, 5

2009-10-09 Thread Shawn McKenzie
kro...@aolohr.com wrote: > Thanks Chris. > > Seems like the function is a dud. I have '-enable-calendar' working on both > local and production. Sigh . . > > I have been using another modified 'easter' function, 'pFeast', (can't for > the > life of me find it on the net now). It works well, b

Re: [PHP] Fatal error on functions valid for PHP 4, 5

2009-10-09 Thread kronos
Thanks Chris. Seems like the function is a dud. I have '-enable-calendar' working on both local and production. Sigh . . I have been using another modified 'easter' function, 'pFeast', (can't for the life of me find it on the net now). It works well, but I need to set the output to a variable

Re: [PHP] Fatal error on functions valid for PHP 4, 5

2009-10-09 Thread Chris Streatfield
Out put on PHP 5.2.4 Parse error: syntax error, unexpected T_STRING in /testphp.php on line 2 Line 2 is the first line of code. Output on PHP 5.2.6 and on PHP 5.3.0 local blank page. All the best Chris Streatfield Tel: +64 4 475 7846 Mob: 021 102 6018 Skype: chrisstreat On Sat, 10 Oct 2009

Re: [PHP] Fatal error on functions valid for PHP 4, 5

2009-10-09 Thread Andre Dubuc
Hi Jonathon, I'm using Mandriva 2008.0 x86_64 version (which probably didn't have that enabled).. Thanks -- will check. Be fun trying to enable it though, given Mandriva's propensity to stick stuff in weird places. Sigh . . . Andre On October 9, 2009 09:20:29 am Jonathan Tapicer wrote: > Wha

Re: [PHP] Fatal error on functions valid for PHP 4, 5

2009-10-09 Thread Jonathan Tapicer
What platform? If you compiled PHP yourself you need to compile with --enable-calendar. Jonathan On Fri, Oct 9, 2009 at 10:01 AM, wrote: > Hi, > > Would someone be kind enough to test whether these following functions work? > > I'm getting: "PHP Fatal error:  Call to undefined function easter_d

Re: [PHP] Fatal error: Call to undefined function:mysqli_connect()in

2009-03-14 Thread Shawn McKenzie
Shawn McKenzie wrote: > revDAVE wrote: >> On 3/14/2009 10:36 AM, "Gary" 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 H

Re: [PHP] Fatal error: Call to undefined function:mysqli_connect() in

2009-03-14 Thread Shawn McKenzie
revDAVE wrote: > On 3/14/2009 10:36 AM, "Gary" 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

Re: [PHP] Fatal error: Call to undefined function: mysqli_connect() in

2009-03-14 Thread revDAVE
On 3/14/2009 10:36 AM, "Gary" 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 fine now ...

Re: [PHP] Fatal error: Call to undefined function: mysqli_connect() in

2009-03-14 Thread Shawn McKenzie
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 mov

Re: [PHP] Fatal error: Call to undefined function: mysqli_connect() in

2009-03-14 Thread Gary
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."" wrote in message news:c9a09d00903141132i19597e73g2271955d1ac14...@mail.gmail.com... Gary, you

Re: [PHP] Fatal error: Call to undefined function: mysqli_connect() in

2009-03-14 Thread Gary
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" wrote in message news:gpgu1t$ho...@saturn.local.net... Gary wrote: > I had the code

Re: [PHP] Fatal error: Call to undefined function: mysqli_connect() in

2009-03-14 Thread Gary
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" wrote in message news:gpgu1t$ho...@saturn.local.net... Gary wrote: > I had the code

Re: [PHP] Fatal error: Call to undefined function: mysqli_connect() in

2009-03-14 Thread Per Jessen
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 > MyS

Re: [PHP] Fatal error: Call to undefined function: mysqli_connect() in

2009-03-14 Thread Jan G.B.
2009/3/14 Jan G.B. : > 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, not in the query. -- PH

Re: [PHP] Fatal error: Call to undefined function: mysqli_connect() in

2009-03-14 Thread Jan G.B.
Gary, you can check this by either creating a file containing this: 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 mysqli_connect('$v

Re: [PHP] Fatal error: Call to undefined function: mysqli_connect() in

2009-03-14 Thread Gary
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 server

Re: [PHP] Fatal error: Call to undefined function: mysqli_connect() in

2009-03-14 Thread Per Jessen
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

Re: [PHP] Fatal error: Call to undefined function: mysqli_connect() in

2009-03-14 Thread Gary
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" wrote in message news:gpgr6o$hc...@saturn.local.net... Gary wrote: > Thanks for your

Re: [PHP] Fatal error: Call to undefined function: mysqli_connect() in

2009-03-14 Thread Per Jessen
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 "ex

Re: [PHP] Fatal error: Call to undefined function: mysqli_connect() in

2009-03-14 Thread Gary
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" wrote in message news:gpgq8i$h5...@saturn.local.net... Gary wrote: > I am recieving a fatal error trying to connect to my

Re: [PHP] Fatal error: Call to undefined function: mysqli_connect() in

2009-03-14 Thread Daniel Brown
On Sat, Mar 14, 2009 at 13:41, Per Jessen 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 the mysql_connec

Re: [PHP] Fatal error: Call to undefined function: mysqli_connect() in

2009-03-14 Thread Per Jessen
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. >

Re: [PHP] Fatal error: Cannot redeclare

2008-08-05 Thread Micah Gersten
What is around this line? /global/WEB_DAT/documents/fme/institute/get/lehre/course/lib.php:25 Thank you, Micah Gersten onShore Networks Internal Developer http://www.onshore.com Kai Kauer wrote: > Am Dienstag, 5. August 2008 15:46:42 schrieb Daniel Brown: > >> On Tue, Aug 5, 2008 at 9:37 A

Re: [PHP] Fatal error: Cannot redeclare

2008-08-05 Thread Kai Kauer
Am Dienstag, 5. August 2008 15:46:42 schrieb Daniel Brown: > On Tue, Aug 5, 2008 at 9:37 AM, Kai Kauer <[EMAIL PROTECTED]> wrote: > > Hi @all, > > > > I was just installing the Moodle-Version 1.9.2 at our university. It was > > installed without any problems. But during testing and preparing for us

Re: [PHP] Fatal error: Cannot redeclare

2008-08-05 Thread Daniel Brown
On Tue, Aug 5, 2008 at 9:37 AM, Kai Kauer <[EMAIL PROTECTED]> wrote: > Hi @all, > > I was just installing the Moodle-Version 1.9.2 at our university. It was > installed without any problems. But during testing and preparing for use I > got this error message: > > Fatal error: Cannot redeclare make_

Re: [PHP] Fatal error: Call to a member function web_order_change() on a non-object

2008-03-04 Thread Richard Lynch
register_globals got turned off. All your $_SESSION variables (in your case, $_SESSION['SESSION']) need to be reference explicitly now. Add this at the top: $SESSION = $_SESSION['SESSION']; right after session_start(); On Mon, March 3, 2008 5:48 pm, Chris wrote: > Ben Edwards wrote: >> Our serv

Re: [PHP] Fatal error: Call to a member function web_order_change() on a non-object

2008-03-04 Thread Eric Butera
On Tue, Mar 4, 2008 at 5:09 AM, Jochem Maas <[EMAIL PROTECTED]> wrote: > Ben Edwards schreef: > > > Our server has just been upgraded to PHP 5.2.5 and suddenly I am > > getting the following error: > > > > Fatal error: Call to a member function web_order_change() on a > > non-object in /var/ww

Re: [PHP] Fatal error: Call to a member function web_order_change() on a non-object

2008-03-04 Thread Jochem Maas
Ben Edwards schreef: Our server has just been upgraded to PHP 5.2.5 and suddenly I am getting the following error: Fatal error: Call to a member function web_order_change() on a non-object in /var/www/vhosts/cultureshop.org/httpdocs/cart.php on line 32 The code is: $SESSION["cart"]->web_order

Re: [PHP] Fatal error: Call to a member function web_order_change() on a non-object

2008-03-03 Thread Jim Lucas
Chris wrote: I don't think it's a change in OO handling, maybe it's a change in the error_reporting level for the new version and you hadn't noticed the problem before. Its a Fatel Error not a warning. Dont see how level off error reporting could be relevant. Fair enough :P What type of

Re: [PHP] Fatal error: Call to a member function web_order_change() on a non-object

2008-03-03 Thread Chris
I don't think it's a change in OO handling, maybe it's a change in the error_reporting level for the new version and you hadn't noticed the problem before. Its a Fatel Error not a warning. Dont see how level off error reporting could be relevant. Fair enough :P What type of variable is '

Re: [PHP] Fatal error: Call to a member function web_order_change() on a non-object

2008-03-03 Thread Ben Edwards
On 03/03/2008, Chris <[EMAIL PROTECTED]> wrote: > Ben Edwards wrote: > > Our server has just been upgraded to PHP 5.2.5 and suddenly I am > > getting the following error: > > > > Fatal error: Call to a member function web_order_change() on a > > non-object in /var/www/vhosts/cultureshop.org/h

Re: [PHP] Fatal error: Call to a member function web_order_change() on a non-object

2008-03-03 Thread Chris
Ben Edwards wrote: Our server has just been upgraded to PHP 5.2.5 and suddenly I am getting the following error: Fatal error: Call to a member function web_order_change() on a non-object in /var/www/vhosts/cultureshop.org/httpdocs/cart.php on line 32 The code is: $SESSION["cart"]->web_order_c

Re: [PHP] Fatal error: Function name must be a string

2008-01-02 Thread Daniel Brown
On Jan 2, 2008 4:58 PM, Adam Williams <[EMAIL PROTECTED]> wrote: > I'm getting the following error and I don't see whats wrong with my > line. Any ideas? > > *Fatal error*: Function name must be a string in > */var/www/sites/intra-test/contract/perform.php* on line *57* > > and my snippet of code

Re: [PHP] Fatal error: Class 'DOMDocument' not found

2007-12-16 Thread Jochem Maas
Jeff Schwartz wrote: > I'm attempting to run the sample script on the PHP site: > >$dom = new DOMDocument('1.0', 'iso-8859-1'); > echo $dom->saveXML(); /* */ > ?> > > but get the error: > > Fatal error: Class 'DOMDocument' not found in /var/www/html/ajax/dom.php on > line 2 >

RE: [PHP] Fatal error when calling nested function

2007-10-26 Thread Edward Kay
> > function salestax($price,$tax) { > function convert_pound($dollars, $conversion=1.6) { > return $dollars * $conversion; > } > $total = $price + ($price * $tax); > echo "Total cost in dollars: $total. Cost in British pounds: " > .convert_pound($total); > } > salestax(15.00,.075); > echo "" . co

Re: [PHP] Fatal error when calling nested function

2007-10-26 Thread Kefaleas Stavros
Edward Kay wrote: Here's the list : I get the following error : *Fatal error*: Call to undefined function convert_pound() in ...*Untitled-1.php* on line *18 *line 18 is this one : echo convert_pound(15); From http://www.daaq.net/old/php/index.php?page=php+adv+functions&parent=php+flo

Re: [PHP] Fatal error when calling nested function

2007-10-26 Thread Kefaleas Stavros
Edward Kay wrote: Here's the list : I get the following error : *Fatal error*: Call to undefined function convert_pound() in ...*Untitled-1.php* on line *18 *line 18 is this one : echo convert_pound(15); From http://www.daaq.net/old/php/index.php?page=php+adv+functions&parent=php+flo

RE: [PHP] Fatal error when calling nested function

2007-10-26 Thread Edward Kay
> Here's the list : > > function salestax($price,$tax) { > function convert_pound($dollars, $conversion=1.6) { > return $dollars * $conversion; > } > $total = $price + ($price * $tax); > echo "Total cost in dollars: $total. Cost in British pounds: " > .convert_pound($total); > } > echo convert_po

Re: [PHP] Fatal error: Call to a member function on a non-object

2006-12-07 Thread T . Lensselink
Not only that. think you are also passing the wrong parameters to the constructor. On Thu, 07 Dec 2006 15:48:10 +1030, Ryan Creaser <[EMAIL PROTECTED]> wrote: > > XeRnOuS ThE wrote: >> >> First, if a fatal error is occurring on line 24, why is it executing >> line 24 successfully and returning d

Re: [PHP] Fatal error: Call to a member function on a non-object

2006-12-06 Thread Ryan Creaser
XeRnOuS ThE wrote: First, if a fatal error is occurring on line 24, why is it executing line 24 successfully and returning data? Second, if there’s a fatal error on line 24, why is line 25 still processed? Maybe because you're running it twice? Line 41 with the $this->Auth( ... seems to

RE: [PHP] Fatal error: Call to a member function query() on a non-object in C:\Xampp\xa...

2006-06-28 Thread Ford, Mike
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: 28 June 2006 10:10 > Fatal error: Call to a member function query() on a > non-object in > C:\Xampp\xampp\htdocs\www2\knowledge_db\searchnew.php on line 81 > > Even though the $connection has already bee

Re: [PHP] Fatal error: Call to a member function fetchRow() on a non-object in C:\Xampp\xampp\htdocs...

2006-06-27 Thread Jochem Maas
[EMAIL PROTECTED] wrote: > Hello > > I am pleased if someone could explain me the behaviour since is wrong the > following function call: ($row = & $result->fetchRow(DB_FETCHMODE_ASSOC, > $_SESSION["searchFormVars"]["offset"]+$rowCounter)); I am pleased if you'd off with the broken record

Re: [PHP] Fatal error: Call to a member function fetchRow() on a non-object in C:\Xampp\xampp\htdocs...

2006-06-27 Thread Chris
Hmm. I wonder if his mail server is stuffed. Can we get this guy removed from the list? This is getting annoying :/ -- Postgresql & php tutorials http://www.designmagick.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Fatal error: Call to a member function fetchRow() on a non-object in C:\Xampp\xampp\htdocs...

2006-06-26 Thread Chris
[EMAIL PROTECTED] wrote: Hello I am pleased if someone could explain me the behaviour since is wrong the following function call: ($row = & $result->fetchRow(DB_FETCHMODE_ASSOC, $_SESSION["searchFormVars"]["offset"]+$rowCounter)); as you will find them on the bottom of the email. By the way,

Re: [PHP] Fatal error: Call to a member function fetchRow() on a non-object in C:\Xampp\xampp\htdocs...

2006-06-26 Thread Jochem Maas
[EMAIL PROTECTED] wrote: > Hello > > I am pleased if someone could explain me the behaviour since is wrong the > following function call: ($row = & $result->fetchRow(DB_FETCHMODE_ASSOC, > $_SESSION["searchFormVars"]["offset"]+$rowCounter)); I'll explain your behaviour: you repeatedly ask the s

Re: [PHP] Fatal error: Call to a member function fetchRow() on a non-object in C:\Xampp\xampp\htdocs...

2006-06-26 Thread Jochem Maas
[EMAIL PROTECTED] wrote: > Hello > > I am pleased if someone could explain me since is wrong the following > function call: ($row = & $result->fetchRow(DB_FETCHMODE_ASSOC, > $_SESSION["searchFormVars"]["offset"]+$rowCounter)); > as you will find them on the bottom of the email. By the way, fetc

Re: [PHP] Fatal error: Call to undefined function mysql_create_db()

2006-05-29 Thread Richard Lynch
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 27,

RE: [PHP] Fatal error: Call to undefined function mysql_create_db()

2006-05-27 Thread Daevid Vincent
//[dv] depricated //http://us2.php.net/manual/en/function.mysql-create-db.php //return mysql_create_db($name, $db); //[dv] this is not a good way to do this, as it doesn't tell you if it succeeded or not. //return mysql_query("CREATE DATABASE IF NOT

Re: [PHP] Fatal error: Call to undefined function mysql_create_db()

2006-05-27 Thread Mark Sargent
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 3 $connect=mysql_connect("localhost", "root", "password omitted") or die("Hey, check your server connection."); I get no error for that

Re: [PHP] Fatal error: Call to undefined function mysql_create_db()

2006-05-27 Thread Mark Sargent
Peter Lauri wrote: Have you created a connection to the Server with the correct permissions? Hi All, sorry, meant to post that too, 1 3 $connect=mysql_connect("localhost", "root", "password omitted") or die("Hey, check your server connection."); I get no error for that line. Cheers. Mark S

Re: [PHP] Fatal error: Call to undefined function mysql_create_db()

2006-05-27 Thread Duncan Hill
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 pa

RE: [PHP] Fatal error: Call to undefined function mysql_create_db()

2006-05-27 Thread Peter Lauri
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 the followin

Re: [PHP] Fatal error: Unsupported operand types

2006-04-17 Thread Richard Lynch
Odds are really good that you are trying to add (+) something that ain't a number... Just print_r() each variable within that function and see what you did. On Sun, April 16, 2006 5:35 am, kmh496 wrote: > > can somebody explain why > > $this->param = $this->SYSTEM->db->answer + $thi

Re: [PHP] Fatal error: Unsupported operand types

2006-04-16 Thread Jochem Maas
kmh496 wrote: can somebody explain why $this->param = $this->SYSTEM->db->answer + $this->param; is causing the error no. because: a, you don't mention the version of php you use b, we don't have knowledge of you codebase (posting code listings for a complete class really isn't g

Re: [PHP] Fatal error: Unsupported operand types

2006-04-16 Thread kmh496
2006-04-16 (일), 21:02 +1000, chris smith 쓰시길: > On 4/16/06, kmh496 <[EMAIL PROTECTED]> wrote: > > 2006-04-16 (일), 19:35 +0900, kmh496 쓰시길: > > > can somebody explain why > > > > > > $this->param = $this->SYSTEM->db->answer + $this->param; > > > > > > is causing the error > > > > > > > >

Re: [PHP] Fatal error: Unsupported operand types

2006-04-16 Thread chris smith
On 4/16/06, kmh496 <[EMAIL PROTECTED]> wrote: > 2006-04-16 (일), 19:35 +0900, kmh496 쓰시길: > > can somebody explain why > > > > $this->param = $this->SYSTEM->db->answer + $this->param; > > > > is causing the error > > > > > > Fatal error: Unsupported operand types > > in /var/www/current/

Re: [PHP] Fatal error: Unsupported operand types

2006-04-16 Thread chris smith
On 4/16/06, kmh496 <[EMAIL PROTECTED]> wrote: > > can somebody explain why > > $this->param = $this->SYSTEM->db->answer + $this->param; > > is causing the error > > > Fatal error: Unsupported operand types > in /var/www/current/mjguest/modules/settings.php on line 52 > > > > context is

Re: [PHP] Fatal error: Unsupported operand types

2006-04-16 Thread kmh496
2006-04-16 (일), 19:35 +0900, kmh496 쓰시길: > can somebody explain why > > $this->param = $this->SYSTEM->db->answer + $this->param; > > is causing the error > > > Fatal error: Unsupported operand types > in /var/www/current/mjguest/modules/settings.php on line 52 > > > > context is

Re: [PHP] Fatal error 'Unable to read from thread kernel pipe' when using mail() function

2005-12-17 Thread Curt Zirzow
On Fri, Dec 16, 2005 at 03:07:20PM +, Stut wrote: > Hi All, > > I've just upgraded the PHP port installation on my server to v4.4.1 and > the mail function has stopped working. I created a script that simply > calls the mail function to send a test email ad this is what I get when > I run i

Re: [PHP] Fatal error 'Unable to read from thread kernel pipe' when using mail() function

2005-12-17 Thread Stut
I assume the lack of response to this means that nobody has come across this problem before? Any pointers would be helpful - I'm losing hair fast!! Cheers. -Stut On 16/12/05, Stut <[EMAIL PROTECTED]> wrote: > > Hi All, > > I've just upgraded the PHP port installation on my server to v4.4.1 and >

Re: [PHP] Fatal error: Maximum execution time

2005-02-21 Thread Richard Lynch
Stanislav Kuhn wrote: > I've got a processing script which takes long time to finish. The script > includes several others and is ran from command line(by cron). I've sent > phpinfo from inside of processing to my email, here is the important part > max_execution_time => 1800 => 0 So your php.ini

Re: [PHP] Fatal error: Maximum execution time

2005-02-21 Thread Bret Hughes
On Mon, 2005-02-21 at 06:52, Stanislav Kuhn wrote: > Hi guys, > > I've got a processing script which takes long time to finish. The script > includes several others and is ran from command line(by cron). I've sent > phpinfo from inside of processing to my email, here is the important part > max_ex

Re: [PHP] Fatal Error Handling

2005-02-10 Thread James Taylor
-bash-2.05b$ php test.php Content-type: text/html X-Powered-By: PHP/4.3.10 Memory Limit: 32K Memory Used: 13432 Error (1024) in /www/l-i-e.com/web/test.php:12 - Test -bash-2.05b$ Note a complete lack of "Made it" nor an error message trapped by my error handler when the RAM runs out. :-( This

Re: [PHP] Fatal Error Handling

2005-02-09 Thread Richard Lynch
James Taylor wrote: > Richard Lynch wrote: >> James Taylor wrote: > Ok, using the @ that would get rid of the error message agreed, but it > still crashes the script (as a fatal error would and should). I took the > code from set_error_handler and that does not seem to work in this > instance - if

Re: [PHP] Fatal Error Handling

2005-02-09 Thread Guillermo Rauch
On Wed, 9 Feb 2005 08:21:25 -0800 (PST), Richard Lynch <[EMAIL PROTECTED]> wrote: > James Taylor wrote: > > So finally quit that music thing and got a real job? :-) > > [Sorry. I'm sure you've heard them all, but I couldn't resist...] > > > I have a set of functions which are potentially dan

Re: [PHP] Fatal Error Handling

2005-02-09 Thread James Taylor
Richard Lynch wrote: James Taylor wrote: So finally quit that music thing and got a real job? :-) [Sorry. I'm sure you've heard them all, but I couldn't resist...] /me adds Richard Lynch onto the list of those who must die when the revolution comes... I have a set of functions which are potenti

Re: [PHP] Fatal Error Handling

2005-02-09 Thread Richard Lynch
James Taylor wrote: So finally quit that music thing and got a real job? :-) [Sorry. I'm sure you've heard them all, but I couldn't resist...] > I have a set of functions which are potentially dangerous in terms of > memory hogging, and need to protect from memory overflow - this is I > want

Re: [PHP] Fatal error: Call to a member function on a non-object

2004-12-22 Thread Chris
Did you upgrade Zend Optimizer when you upgraded to 4.3.10 ? People are seeing quite a few problems when they dont, and this could be releated to that. Chris Tim Burgan wrote: Hello, I have a database driven (MS Access 2000) PHP website that runs fine on my localhost (Apache, WinXP, PHP 4.3.9),

Re: [PHP] Fatal error: Call to a member function on a non-object

2004-12-22 Thread Tim Burgan
Hi Michael, Michael Sims wrote: [...] These might be relevant: http://bugs.php.net/bug.php?id=31159 http://marc.theaimsgroup.com/?l=php-dev&m=110375720614120&w=2 Thanks for your reply. This does sound like it is the problem. Does anyone know if there is a workaround for this? Ti

RE: [PHP] Fatal error: Call to a member function on a non-object

2004-12-22 Thread Michael Sims
Tim Burgan wrote: > Fatal error: Call to a member function on a non-object in > c:\XXX\inc\dbConnOpen.php on line 17 [...] > The file in question contains code that forms a connection to the > database. I've used this EXACT same code on this same website for the > last 8 months (both on localhost

Re: [PHP] "Fatal error" on parsedate.c While Building 4.3.9

2004-11-03 Thread Greg Donald
On Wed, 3 Nov 2004 11:32:30 -0800 (PST), Andrew Hauger <[EMAIL PROTECTED]> wrote: > I am trying to build PHP 4.3.9 on Solaris 8, and I > can't get past the "make" step. At first I get the > following message: Did you try using gmake? Using non-GNU utilities while compiling PHP may cause problems.

Re: [PHP] Fatal error

2004-10-16 Thread Kevin Waterson
This one time, at band camp, Pahlevanzadeh Mohsen <[EMAIL PROTECTED]> wrote: > Dear members,I get an error,What does mean my error? : > Fatal error: Maximum execution time of 30 seconds > exceeded in /var/www/html/votting/vote_implement.php > on line 8 It means the Maximum execution time of 30 se

Re: [PHP] Fatal error

2004-10-16 Thread Juan Pablo Herrera
In your script use set_time_limit(0), and look http://ar2.php.net/manual/en/function.set-time-limit.php for understand the function. Regards, JP > Dear members,I get an error,What does mean my error? : > Fatal error: Maximum execution time of 30 seconds > exceeded in /var/www/html/votting/vote_imp

RE: [PHP] Fatal error: Call to undefined function

2004-08-28 Thread gc
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

RE: [PHP] Fatal error: Call to undefined function

2004-08-28 Thread Philip Olson
> > 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 winn

RE: [PHP] Fatal error: Call to undefined function

2004-08-28 Thread gc
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: It's been awhile since I've done php on Windows, but I think you have to uncomment the mysq

Re: [PHP] Fatal error: Call to undefined function

2004-08-28 Thread John Nichel
gc wrote: 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 General Mailing

Re: [PHP] Fatal error: Call to undefined function

2004-08-28 Thread Justin Patrin
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

Re: [PHP] fatal error undefined call to mysql_connect

2004-08-26 Thread Angelo Zanetti
Ok I found out that php is installed as an RPM so do activate mysql? thanks Angelo Zanetti Z Logic [c] +27 72 441 3355 [t] +27 21 464 1363 [f] +27 21 464 1371 www.zlogic.co.za >>> John Nichel <[EMAIL PROTECTED]> 08/25/04 4:44 PM >>> Angelo Zanetti wrote: > so to include the mysql extensions to I

Re: [PHP] fatal error undefined call to mysql_connect

2004-08-25 Thread Jason Wong
On Wednesday 25 August 2004 23:09, Ian Firla wrote: > On Wed, 2004-08-25 at 17:08, Angelo Zanetti wrote: > > I never installed it so... here is my next question. how would I find out > > how it was installed? > > Look at the output of phpinfo(). But before doing that, read the > documentation or yo

Re: [PHP] fatal error undefined call to mysql_connect

2004-08-25 Thread Ian Firla
On Wed, 2004-08-25 at 17:08, Angelo Zanetti wrote: > I never installed it so... here is my next question. how would I find out how it was > installed? Look at the output of phpinfo(). But before doing that, read the documentation or you'll be back here in a flash with more really basic questions

Re: [PHP] fatal error undefined call to mysql_connect

2004-08-25 Thread John Nichel
Angelo Zanetti wrote: I never installed it so... here is my next question. how would I find out how it was installed? Ask the person who set it up? If you're on a RPM based system (Red Hat, Fedora, etc), do this at the command line... rpm -qa | grep php and if PHP is installed as an RPM, it will

Re: [PHP] fatal error undefined call to mysql_connect

2004-08-25 Thread Angelo Zanetti
I never installed it so... here is my next question. how would I find out how it was installed? >>> John Nichel <[EMAIL PROTECTED]> 8/25/2004 4:44:18 PM >>> Angelo Zanetti wrote: > so to include the mysql extensions to I have to reinstall PHP or can I > simply just change the values in the PHP.

Re: [PHP] fatal error undefined call to mysql_connect

2004-08-25 Thread John Nichel
Angelo Zanetti wrote: so to include the mysql extensions to I have to reinstall PHP or can I simply just change the values in the PHP.ini file for the mysql entries? Thanks to those who responded How did you install php? RPM (or similiar package), or source? If you installed from RPM, you can add

Re: [PHP] fatal error undefined call to mysql_connect

2004-08-25 Thread Angelo Zanetti
so to include the mysql extensions to I have to reinstall PHP or can I simply just change the values in the PHP.ini file for the mysql entries? Thanks to those who responded >>> ramil <[EMAIL PROTECTED]> 8/25/2004 4:21:14 PM >>> On Wed, 25 Aug 2004 16:12:53 +0200, Angelo Zanetti <[EMAIL PROTECTE

Re: [PHP] fatal error undefined call to mysql_connect

2004-08-25 Thread ramil
On Wed, 25 Aug 2004 16:12:53 +0200, Angelo Zanetti <[EMAIL PROTECTED]> wrote: > Hi all, > > I have installed my php scripts on a new server (linux) and when > attempting to run them I get this error. Is this error a configuration > issue in my PHP.ini file or is it a user issue with mysql and conn

Re: [PHP] fatal error undefined call to mysql_connect

2004-08-25 Thread John Holmes
From: "Angelo Zanetti" <[EMAIL PROTECTED]> I have installed my php scripts on a new server (linux) and when attempting to run them I get this error. Is this error a configuration issue in my PHP.ini file or is it a user issue with mysql and connecting to the database? Enable mysql support in PHP. I

Re: [PHP] Fatal error: Call to undefined function: mysql_pconnect() in /var/www/html/includes/db_fns.php on line 6

2004-08-12 Thread Eric Sammons
, try 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

Re: [PHP] Fatal error: Call to undefined function: mysql_pconnect() in /var/www/html/includes/db_fns.php on line 6

2004-08-12 Thread Brad Bonkoski
- 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/w

Re: [PHP] Fatal error: Call to undefined function: mysql_pconnect() in /var/www/html/includes/db_fns.php on line 6

2004-08-12 Thread Jason Wong
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 recom

Re: FWD: RE: [PHP] Fatal error: Call to undefined function: mysql_pconnect() in /var/www/html/includes/db_fns.php on line 6

2004-08-12 Thread Jason Wong
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

Re: [PHP] Fatal error: Call to undefined function: mysql_pconnect() in /var/www/html/includes/db_fns.php on line 6

2004-08-12 Thread John Nichel
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

RE: [PHP] Fatal error: Call to undefined function: mysql_pconnect() in /var/www/html/includes/db_fns.php on line 6

2004-08-12 Thread Eric L. Sammons
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 --with-my

Re: [PHP] Fatal error: Call to undefined function: mysql_pconnect() in /var/www/html/includes/db_fns.php on line 6

2004-08-12 Thread Justin Patrin
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 Li

RE: [PHP] Fatal error: Call to undefined function: mysql_pconnect() in /var/www/html/includes/db_fns.php on line 6

2004-08-12 Thread Eric L. Sammons
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.

RE: [PHP] Fatal error: Call to undefined function: mysql_pconnect() in /var/www/html/includes/db_fns.php on line 6

2004-08-12 Thread Jay Blanchard
[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

RE: [PHP] Fatal error: Call to undefined function: mysql_pconnect() in /var/www/html/includes/db_fns.php on line 6

2004-08-12 Thread Eric L. Sammons
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

RE: RE: [PHP] Fatal error: Call to undefined function: mysql_pconnect() in /var/www/html/includes/db_fns.php on line 6

2004-08-12 Thread Jay Blanchard
[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? -

  1   2   >