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

2013-10-07 Thread Michael Alaimo
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

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

2013-10-07 Thread Stuart Dallas
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

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

2013-10-07 Thread Michael Alaimo
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

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

2013-10-07 Thread Stuart Dallas
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

[PHP] PHP Fatal error: Cannot redeclare class

2011-03-14 Thread Brendan_Crowley
Hi, I get the following error in my apache error log: [14-Mar-2011 14:17:27] PHP Fatal error: Cannot redeclare class I created a simplified set of php files and classes to formulate this question. I have 5 php files; 2 of which declare a class that has the same name in both. I know it would

Re: [PHP] PHP Fatal error: Cannot redeclare class

2011-03-14 Thread Daniel Brown
On Mon, Mar 14, 2011 at 10:34, brendan_crow...@dellteam.com wrote: Hi, I get the following error in my apache error log: [14-Mar-2011 14:17:27] PHP Fatal error:  Cannot redeclare class I created a simplified set of php files and classes to formulate this question. I have 5 php files; 2

RE: [PHP] PHP Fatal error: Cannot redeclare class

2011-03-14 Thread Brendan_Crowley
Thanks Louis, Worked a treat! -Original Message- From: Louis Huppenbauer [mailto:louis.huppenba...@gmail.com] Sent: 14 March 2011 15:10 To: Crowley, Brendan - Dell Team Subject: Re: [PHP] PHP Fatal error: Cannot redeclare class what about http://ch2.php.net/namespaces in php 5.3? 2011

[PHP] Fatal error: Allowed memory size of XXXXX bytes exhausted

2010-10-15 Thread Julien Jabouin
Hello, I have an issu with a script launched by cron. In fact, although i setup php memory_limit to high value (1G or 2Go), i have the same issue. By example with 2G : Output from command /usr/bin/php5 -d memory_limit=2G -f /home/test/www/cron.php .. Fatal error: Allowed memory size of

[PHP] Fatal error: Call to undefined method

2010-08-20 Thread TransientSeeker
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 strip down the entire class to just focus on this problem with the hopes of it

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

2010-08-20 Thread Jo�o C�ndido de Souza Neto
Try this: ?php class PropertyMgmt { function PropertyMgmt() { global $complexes; /* yes I know using globals is dangerous, I will fix this soon! :-) */ } public function get_complexes() { /* null */ } } // end class -- João Cândido de Souza Neto TransientSeeker

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

2009-12-29 Thread chris_brech
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

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

2009-10-09 Thread kronos
Hi, Would someone be kind enough to test whether these following functions work? I'm getting: PHP Fatal error: Call to undefined function easter_date() . . . easter_days on both local and production sites. ?php echo easter_days(2009); print brbr; echo date(M-d-Y

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, kro...@aolohr.com wrote: Hi, Would someone be kind enough to test whether these following functions work? I'm getting: PHP Fatal error:  Call to undefined

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

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

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

2009-10-09 Thread Chris Streatfield
, 10 Oct 2009 02:01:24 kro...@aolohr.com 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_date() . . . easter_days on both local and production sites. ?php echo easter_days

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

2009-10-09 Thread kronos
getting: PHP Fatal error: Call to undefined function easter_date() . . . easter_days on both local and production sites. ?php echo easter_days(2009); print brbr; echo date(M-d-Y, easter_date(2009)); print brbr; echo date(D d M Y, easter_date(2009

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

2009-10-09 Thread Shawn McKenzie
these following functions work? I'm getting: PHP Fatal error: Call to undefined function easter_date() . . . easter_days on both local and production sites. ?php echo easter_days(2009); print brbr; echo date(M-d-Y, easter_date(2009)); print brbr; echo date(D d M Y

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

2009-10-09 Thread kronos
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_date() . . . easter_days on both local and production sites. ?php echo easter_days(2009); print brbr; echo

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

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

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. I

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 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

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 p...@computer.org wrote in message news:gpgq8i$h5...@saturn.local.net... Gary wrote: I am recieving a fatal error trying

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

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 p...@computer.org wrote in message news:gpgr6o$hc...@saturn.local.net... Gary wrote:

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
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

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: ?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

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

2009-03-14 Thread Jan G.B.
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,

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 MySQL

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 p...@computer.org wrote in message news:gpgu1t$ho...@saturn.local.net... Gary wrote:

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 p...@computer.org wrote in message news:gpgu1t$ho...@saturn.local.net... Gary wrote:

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. ro0ot.w...@googlemail.com wrote in message

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 move to

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

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

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 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

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 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

[PHP] Fatal error: Cannot redeclare

2008-08-05 Thread Kai Kauer
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_log_url() (previously declared in

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

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 use I got

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 AM,

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:

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

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 server

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

2008-03-03 Thread Ben Edwards
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_change( true ); The

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:

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

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 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

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

2008-01-02 Thread Adam Williams
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 is: if ( $_POST[perform] == View Contracts ) {

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 is: if

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

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

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: ?php $dom = new DOMDocument('1.0', 'iso-8859-1'); echo $dom-saveXML(); /* ?xml version=1.0 encoding=iso-8859-1? */ ? but get the error: Fatal error: Class 'DOMDocument' not found in

[PHP] Fatal error when calling nested function

2007-10-26 Thread Kefaleas Stavros
Here's the list : ?php 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_pound(15); ? I get

RE: [PHP] Fatal error when calling nested function

2007-10-26 Thread Edward Kay
Here's the list : ?php 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

Re: [PHP] Fatal error when calling nested function

2007-10-26 Thread Kefaleas Stavros
Edward Kay wrote: Here's the list : ?php 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

Re: [PHP] Fatal error when calling nested function

2007-10-26 Thread Kefaleas Stavros
Edward Kay wrote: Here's the list : ?php 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

RE: [PHP] Fatal error when calling nested function

2007-10-26 Thread Edward Kay
?php 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 br / .

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

2007-09-13 Thread Per Jessen
Aaron Axelsen wrote: 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

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

2007-09-12 Thread Aaron Axelsen
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

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 data?

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

2006-12-06 Thread XeRnOuS ThE
I am working on a set of PHP framework so to speak, designed to create module based community content management based scripts. I just started updating the authentication handlers, which are all PHP 4 classes, and reworking a long list of changes. The new version i am coding is near

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

[PHP] Fatal error: session_start(): Failed to initialize storage module

2006-09-21 Thread afan
Hi, Fatal error: session_start(): Failed to initialize storage module in /home/vernoncompany.biz/includes/validations.php on line 2 validation.php: #1 ?php #2 session_start(); # ... Two weeks ago I got this essage first time. And since, I'm getting more often. Last three days at aleast once a

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

2006-06-28 Thread j . kuehne
Hello Following code shows within I have some difficulties. Is only an example from Web Databasse Applications with PHP and MysQL book. global $dsn; global $connection; $template-setCurrentBlock(); $template-setVariable(SUCH-KRITERIUM,Such-Kriterium:

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 been

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'll explain your behaviour: you repeatedly ask the same

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

2006-06-27 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,

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

2006-06-27 Thread j . kuehne
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, fetchRow() is a method from

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

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

2006-06-27 Thread j . kuehne
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 below. By the way, fetchRow() is a method from class DB(.php). However

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 (pun

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

2006-06-26 Thread j . kuehne
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, fetchRow() is an object from class DB(.php).

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, fetchRow() is

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

2006-06-26 Thread j . kuehne
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, fetchRow() is a method from

[PHP] PHP Fatal error: Unable to write base address in Unknown on line 0 ?

2006-06-01 Thread Ilja Polivanovas
Hello, maybe someone know what can be the problem and how to solve it. It appears on startup of Apache, WinXP. Apache doesn't start. -- Using Opera's revolutionary e-mail client: http://www.opera.com/m2/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] PHP Fatal error: Unable to write base address in Unknown on line 0 ?

2006-06-01 Thread Jochem Maas
Ilja Polivanovas wrote: Hello, maybe someone know what can be the problem and how to solve it. It appears on startup of Apache, WinXP. Apache doesn't start. fron a quick google I would hazard a guess that your install is f***ed due to an earlier apache/php installation. either that or

Re: [PHP] PHP Fatal error: Unable to write base address in Unknown on line 0 ?

2006-06-01 Thread Richard Lynch
Open up a DOS shell and try to start Apache by hand. On Thu, June 1, 2006 7:42 am, Ilja Polivanovas wrote: Hello, maybe someone know what can be the problem and how to solve it. It appears on startup of Apache, WinXP. Apache doesn't start. -- Using Opera's revolutionary e-mail client:

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

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

2006-05-27 Thread Mark Sargent
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

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

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 packaged

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 ?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

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 ?php 2 //connect to MySQL 3 $connect=mysql_connect(localhost, root, password omitted) or die(Hey, check your server connection.); I get

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

2006-05-27 Thread Daevid Vincent
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

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 +

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: 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 function

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

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 Fatal error: Unsupported

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 going

[PHP] PHP: Fatal error: Allowed memory exhausted

2006-03-30 Thread afan
Hi, I'm working on the script that has to read csv file (51 column an a little bit over 3000 rows) with products and store the info in DB. Script works fine while I tested on csv files up to 200 records. And, when I tried to upload REAL data I got this. PHP: Fatal error: Allowed memory size

Re: [PHP] PHP: Fatal error: Allowed memory exhausted

2006-03-30 Thread T.Lensselink
[EMAIL PROTECTED] wrote: Hi, I'm working on the script that has to read csv file (51 column an a little bit over 3000 rows) with products and store the info in DB. Script works fine while I tested on csv files up to 200 records. And, when I tried to upload REAL data I got this. PHP: Fatal

Re: [PHP] PHP: Fatal error: Allowed memory exhausted

2006-03-30 Thread afan
file (51 column an a little bit over 3000 rows) with products and store the info in DB. Script works fine while I tested on csv files up to 200 records. And, when I tried to upload REAL data I got this. PHP: Fatal error: Allowed memory size of 8388608 bytes exhausted ... On google I found

Re: [PHP] PHP: Fatal error: Allowed memory exhausted

2006-03-30 Thread afan
while I tested on csv files up to 200 records. And, when I tried to upload REAL data I got this. PHP: Fatal error: Allowed memory size of 8388608 bytes exhausted ... On google I found as a solution to put ini_set(memory_limit,12M); on the top of the script, except allowed memory size wasn't 8m

Re: [PHP] PHP: Fatal error: Allowed memory exhausted

2006-03-30 Thread Chris
on the script that has to read csv file (51 column an a little bit over 3000 rows) with products and store the info in DB. Script works fine while I tested on csv files up to 200 records. And, when I tried to upload REAL data I got this. PHP: Fatal error: Allowed memory size of 8388608 bytes exhausted

Re: [PHP] PHP: Fatal error: Allowed memory exhausted

2006-03-30 Thread Afan Pasalic
got this. PHP: Fatal error: Allowed memory size of 8388608 bytes exhausted ... On google I found as a solution to put ini_set(memory_limit,12M); on the top of the script, except allowed memory size wasn't 8m then 12m bytes. I tried with 16M and it worked :) My question is how far I can go

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

2006-03-20 Thread Evert
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

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 the

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 it...

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

2005-12-16 Thread Stut
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 it... [EMAIL PROTECTED]:~$ php test.php Fatal error 'Unable to

  1   2   3   >