RE: [PHP] Error message not understood

2010-10-18 Thread Tommy Pham
> -Original Message- > From: sueandant [mailto:hollandsath...@tiscali.co.uk] > Sent: Monday, October 18, 2010 1:52 PM > To: Tommy Pham > Cc: 'PHP' > Subject: Re: [PHP] Error message not understood > > I'm running PHP as module with Apache. The ver

Re: [PHP] Error message not understood

2010-10-18 Thread sueandant
quot;Tommy Pham" To: "'sueandant'" Cc: "'PHP'" Sent: Saturday, October 16, 2010 10:49 PM Subject: RE: [PHP] Error message not understood -Original Message- From: sueandant [mailto:hollandsath...@tiscali.co.uk] Sent: Saturday, October 16

RE: [PHP] Error message not understood

2010-10-16 Thread Tommy Pham
> -Original Message- > From: sueandant [mailto:hollandsath...@tiscali.co.uk] > Sent: Saturday, October 16, 2010 2:23 PM > To: Tommy Pham > Cc: PHP > Subject: Re: [PHP] Error message not understood > > Apologies! Vista Home Premium 32bit with SP2. I uninst

Re: [PHP] Error message not understood

2010-10-16 Thread sueandant
cial sites. - Original Message - From: "Tommy Pham" To: "'sueandant'" ; "'Luigi Pressello'" Cc: "'PHP'" Sent: Saturday, October 16, 2010 9:38 PM Subject: RE: [PHP] Error message not understood -Original Message- From: su

RE: [PHP] Error message not understood

2010-10-16 Thread Tommy Pham
> -Original Message- > From: sueandant [mailto:hollandsath...@tiscali.co.uk] > Sent: Saturday, October 16, 2010 1:16 PM > To: Luigi Pressello > Cc: PHP > Subject: Re: [PHP] Error message not understood > > I've run both programs. [1] outputs Client library ve

Re: [PHP] Error message not understood

2010-10-16 Thread sueandant
From: "Luigi Pressello" To: "Tommy Pham" Cc: "'sueandant'" ; "'PHP'" Sent: Friday, October 15, 2010 10:46 PM Subject: Re: [PHP] Error message not understood Probably a PHP compilation problem. The message seems refer to t

Re: [PHP] Error message not understood

2010-10-15 Thread Luigi Pressello
mmy Pham [mailto:tommy...@gmail.com] >> Sent: Friday, October 15, 2010 2:16 PM >> To: 'sueandant'; 'PHP' >> Subject: RE: [PHP] Error message not understood >> >>> -Original Message- >>> From: sueandant [mailto:hollandsath...@tiscali.co

RE: [PHP] Error message not understood

2010-10-15 Thread Tommy Pham
> -Original Message- > From: Tommy Pham [mailto:tommy...@gmail.com] > Sent: Friday, October 15, 2010 2:16 PM > To: 'sueandant'; 'PHP' > Subject: RE: [PHP] Error message not understood > > > -Original Message- > > From: sueand

RE: [PHP] Error message not understood

2010-10-15 Thread Tommy Pham
> -Original Message- > From: sueandant [mailto:hollandsath...@tiscali.co.uk] > Sent: Friday, October 15, 2010 2:02 PM > To: PHP > Subject: [PHP] Error message not understood > > Can anyone help me with this error message and explain how to correct the > mismatch? > > PHP Warning: mysqli_

Re: [PHP] Error Message - Need help troubleshooting

2010-03-02 Thread Rick Dwyer
On Mar 2, 2010, at 9:45 AM, Joseph Thayne wrote: I do not know if the question has been answered, but how are you opening the session? Are you using session_start() or are you using session_register()? Hi Joseph. It is created via: session_start(); --Rick -- PHP General Mailing List

Re: [PHP] Error Message - Need help troubleshooting

2010-03-02 Thread Rick Dwyer
On Mar 2, 2010, at 9:35 AM, Ashley Sheridan wrote: I'm assuming then that both the Javascript an the PHP code you have above are both on the same page. The only way I can see your problem occurring would be if your javascript part was on a different page and you were attempting to output t

Re: [PHP] Error Message - Need help troubleshooting

2010-03-02 Thread Joseph Thayne
I do not know if the question has been answered, but how are you opening the session? Are you using session_start() or are you using session_register()? Rick Dwyer wrote: On Mar 2, 2010, at 8:48 AM, Ashley Sheridan wrote: How is $item_id created? You've not shown that in your PHP script ex

Re: [PHP] Error Message - Need help troubleshooting

2010-03-02 Thread Ashley Sheridan
On Tue, 2010-03-02 at 09:35 -0500, Rick Dwyer wrote: > On Mar 2, 2010, at 8:48 AM, Ashley Sheridan wrote: > > > > How is $item_id created? You've not shown that in your PHP script > > examples. > > // parse item id from the url > $refer=$_SERVER['HTTP_REFERER']; > $thispage=$_SERVER['PHP_SELF']

Re: [PHP] Error Message - Need help troubleshooting

2010-03-02 Thread Rick Dwyer
On Mar 2, 2010, at 8:48 AM, Ashley Sheridan wrote: How is $item_id created? You've not shown that in your PHP script examples. // parse item id from the url $refer=$_SERVER['HTTP_REFERER']; $thispage=$_SERVER['PHP_SELF']; $item_id=substr($thispage, -9); $item_id=substr($item_id, 0, 5); $_SE

Re: [PHP] Error Message - Need help troubleshooting

2010-03-02 Thread Ashley Sheridan
On Tue, 2010-03-02 at 14:49 +0100, Rene Veerman wrote: > k, add to your script, > to prevent the error from showing. > > On Tue, Mar 2, 2010 at 2:38 PM, Rick Dwyer wrote: > > On Mar 2, 2010, at 12:31 AM, Rene Veerman wrote: > >> does the script itself ever fail, asides from showing this msg? >

Re: [PHP] Error Message - Need help troubleshooting

2010-03-02 Thread Rene Veerman
k, add to your script, to prevent the error from showing. On Tue, Mar 2, 2010 at 2:38 PM, Rick Dwyer wrote: > On Mar 2, 2010, at 12:31 AM, Rene Veerman wrote: >> does the script itself ever fail, asides from showing this msg? > > No it works fine.  The most annoying thing in making it difficult

Re: [PHP] Error Message - Need help troubleshooting

2010-03-02 Thread Rick Dwyer
On Mar 2, 2010, at 12:31 AM, Rene Veerman wrote: i doubt you passed us the entire .js.php script.. The rest of the JS is as follows: a href='javascript:loadOSS()'>width='161' height='57' align='right' />Open Window... As far as other PHP goes, the whole page is PHP so I wouldn't know

Re: [PHP] Error Message - Need help troubleshooting

2010-03-01 Thread Rene Veerman
i doubt you passed us the entire .js.php script.. does the script itself ever fail, asides from showing this msg? On Tue, Mar 2, 2010 at 5:46 AM, Rick Dwyer wrote: > Hello List. > > I have some JS code that open a new window with a contact form in it.  When > the link is clicked to open the new

Re: [PHP] Error message

2009-09-05 Thread Tommy Pham
- Original Message > From: Bruce Dobson > To: php-general@lists.php.net > Sent: Saturday, September 5, 2009 4:19:29 PM > Subject: [PHP] Error message > > Hi folks, > > I am new on this list and to php. I have just downloaded and gotten php 5.3.0 > working with IIS on one computer but m

Re: [PHP] Error message

2008-09-21 Thread tedd
At 10:26 AM +0100 9/21/08, Ashley Sheridan wrote: It's an easy mistake to make, not just reserved for rookies ;) I had a similar problem Me too, I think we've all been bitten by that. The point is simply don't send anything to the browser before "if you're going to be using session_start();

Re: [PHP] Error message

2008-09-21 Thread Ashley Sheridan
On Sat, 2008-09-20 at 23:48 -0500, Shawn McKenzie wrote: > Terry J Daichendt wrote: > > The error message told it all. Jochem was correct albiet not in the > > style I prefer. I had the code in an HTML page after the header. I've > > been a programmer for 15 years but I'm brand new to PHP. Anyon

Re: [PHP] Error message

2008-09-20 Thread Shawn McKenzie
Terry J Daichendt wrote: The error message told it all. Jochem was correct albiet not in the style I prefer. I had the code in an HTML page after the header. I've been a programmer for 15 years but I'm brand new to PHP. Anyone can make a rookie mistake. Thanks everyone for the help. Everyone w

Re: [PHP] Error message

2008-09-20 Thread Terry J Daichendt
The error message told it all. Jochem was correct albiet not in the style I prefer. I had the code in an HTML page after the header. I've been a programmer for 15 years but I'm brand new to PHP. Anyone can make a rookie mistake. Thanks everyone for the help. Everyone was partially correct in a

Re: [PHP] Error message

2008-09-19 Thread Jochem Maas
Terry J Daichendt schreef: You have a real attitude problem, please don't bother with me again. actually it's you who has a problem with my attitude, not me. although I'll grant you that people like you are usually 'bother' ... and I won't anymore. -- PHP General Mailing List (http://www.

Re: [PHP] Error message

2008-09-18 Thread Eric Gorr
On Sep 18, 2008, at 5:52 PM, Terry J Daichendt wrote: I'm pasting this code from the example at php.net and getting these errors. Can anyone determine what I'm doing wrong? page 2'; // Or maybe pass along the session id, if needed echo 'page 2'; ?> Well, this is weird. When I copied your t

Re: [PHP] Error message

2008-09-18 Thread Jim Lucas
Terry J Daichendt wrote: > You have a real attitude problem, please don't bother with me again. > > > "Jochem Maas" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] >> Terry J Daichendt schreef: >>> I'm pasting this code from the example at php.net and getting these >> >> which examp

Re: [PHP] Error message

2008-09-18 Thread Micah Gersten
Si, puedes tener espacio en blanco delante de session_start(), pero no puedes tener espacio delante de 'http://www.onshore.com CanihoJR wrote: > No puedes tener ningun espacio en blanco delante de session_start(); > > Sorry for my english: > you cant have any blank spaccing before SESSION_START(

Re: [PHP] Error message

2008-09-18 Thread Terry J Daichendt
You have a real attitude problem, please don't bother with me again. "Jochem Maas" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Terry J Daichendt schreef: I'm pasting this code from the example at php.net and getting these which example might that be, with 1000's of built in

Re: [PHP] Error message

2008-09-18 Thread Jochem Maas
Andrew Barnett schreef: It sounds like there is a space or output before the a blank space before the Andrew 2008/9/19 CanihoJR <[EMAIL PROTECTED]>: No puedes tener ningun espacio en blanco delante de session_start(); Sorry for my english: you cant have any blank spaccing before SESSION_STA

Re: [PHP] Error message

2008-09-18 Thread Jochem Maas
Terry J Daichendt schreef: I'm pasting this code from the example at php.net and getting these which example might that be, with 1000's of built in functions you can imagine there is probably more than one. errors. Can anyone determine what I'm doing wrong? yes. but can your read? the erro

Re: [PHP] Error message

2008-09-18 Thread Andrew Barnett
It sounds like there is a space or output before the : > No puedes tener ningun espacio en blanco delante de session_start(); > > Sorry for my english: > you cant have any blank spaccing before SESSION_START() > > > Prueba: > TRY: > > session_start(); > > echo 'Welcome to page #1'; > > $_SESSION['

Re: [PHP] Error message

2008-09-18 Thread CanihoJR
No puedes tener ningun espacio en blanco delante de session_start(); Sorry for my english: you cant have any blank spaccing before SESSION_START() Prueba: TRY: page 2'; // Or maybe pass along the session id, if needed echo 'page 2'; ?>

Re: [PHP] error message

2006-04-29 Thread Richard Lynch
On Thu, April 27, 2006 7:46 am, cybermalandro cybermalandro wrote: > I am running an old version of PHP for winblows 4.3.8. I cannot > upgrade to > 4.4.2 yet. I rebooted the web server and the box. I am not doing any > exception handling. I want the errors to be writtent to a log but > instead >

Re: [PHP] error message

2006-04-27 Thread cybermalandro cybermalandro
I am running an old version of PHP for winblows 4.3.8. I cannot upgrade to 4.4.2 yet. I rebooted the web server and the box. I am not doing any exception handling. I want the errors to be writtent to a log but instead they keep showing in the browser. Is there something I am missing? I did set

Re: [PHP] error message

2006-04-26 Thread Jason Barnett
Let's not open an error report just yet... there are already too many "bugs" in the database! A snippet of the relevant code would be nice though. Perhaps your odbc_errormsg($conn) is being echo'd to stdout? Or you are using those fun Exception beasts? On 4/26/06, chris smith <[EMAIL PROTECTED

Re: [PHP] error message

2006-04-26 Thread chris smith
On 4/27/06, cybermalandro cybermalandro <[EMAIL PROTECTED]> wrote: > I have set in display_errors = off on my php.ini but I can still see ODBC > related error messages when I try to duplicate an ODBC error. Am I missing > something to turn this off? Can you produce a small test case? Maybe post a

Re: [PHP] error message

2006-04-26 Thread Richard Lynch
Re-boot. On Wed, April 26, 2006 4:27 pm, cybermalandro cybermalandro wrote: > Yes, > Yes and > Yes although I am not running apache I am running IIS. > > On 4/26/06, Richard Lynch <[EMAIL PROTECTED]> wrote: >> >> On Wed, April 26, 2006 4:08 pm, cybermalandro cybermalandro wrote: >> > I have set

Re: [PHP] error message

2006-04-26 Thread cybermalandro cybermalandro
Yes, Yes and Yes although I am not running apache I am running IIS. On 4/26/06, Richard Lynch <[EMAIL PROTECTED]> wrote: > > On Wed, April 26, 2006 4:08 pm, cybermalandro cybermalandro wrote: > > I have set in display_errors = off on my php.ini but I can still see > > ODBC > > related error messag

Re: [PHP] error message

2006-04-26 Thread Richard Lynch
On Wed, April 26, 2006 4:08 pm, cybermalandro cybermalandro wrote: > I have set in display_errors = off on my php.ini but I can still see > ODBC > related error messages when I try to duplicate an ODBC error. Am I > missing > something to turn this off? Does reflect your changes to php.ini? Does

Re: [PHP] error message

2006-04-26 Thread Jochem Maas
cybermalandro cybermalandro wrote: I have set in display_errors = off on my php.ini but I can still see ODBC related error messages when I try to duplicate an ODBC error. Am I missing something to turn this off? restart the server? also check that ini_set('display_errors', 0); doesn't have the

Re: [PHP] Re: php error message

2005-11-17 Thread Jasper Bryant-Greene
Chuck Anderson wrote: Ben wrote: Edward Martin said the following on 11/17/2005 04:27 PM: "Warning: Cannot modify header information - headers already sent by (output started at /usr/home/ecmartin/public_html/ethics06/calendarlogin.php:8) in /usr/home/ecmartin/public_html/ethics06/sas.php on

[PHP] Re: php error message

2005-11-17 Thread Chuck Anderson
Ben wrote: Edward Martin said the following on 11/17/2005 04:27 PM: "Warning: Cannot modify header information - headers already sent by (output started at /usr/home/ecmartin/public_html/ethics06/calendarlogin.php:8) in /usr/home/ecmartin/public_html/ethics06/sas.php on line 34" It m

[PHP] Re: php error message

2005-11-17 Thread Ben
Edward Martin said the following on 11/17/2005 04:27 PM: "Warning: Cannot modify header information - headers already sent by (output started at /usr/home/ecmartin/public_html/ethics06/calendarlogin.php:8) in /usr/home/ecmartin/public_html/ethics06/sas.php on line 34" It means you are trying t

RE: [PHP] error message while mysqling on php

2005-09-14 Thread Michal Krezolek
Thanks very much. I had an extra character when I was connecting to the database. Now everything works!!! -Original Message- From: Alan Fullmer [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 13, 2005 5:14 PM To: 'Michal Krezolek'; php-general@lists.php.net Subject: RE: [

RE: [PHP] error message while mysqling on php

2005-09-13 Thread Alan Fullmer
3:05 PM To: 'Michal Krezolek'; php-general@lists.php.net Subject: RE: [PHP] error message while mysqling on php > I have received an error: Warning: mysql_num_rows(): supplied argument is > not a valid MySQL result resource in /home/www/mksystem.net when trying to > execute $num

RE: [PHP] error message while mysqling on php

2005-09-13 Thread Murray @ PlanetThoughtful
> I have received an error: Warning: mysql_num_rows(): supplied argument is > not a valid MySQL result resource in /home/www/mksystem.net when trying to > execute $num = mysql_num_rows($result); > > Please go to http://mksystem.net/phpinfo.php and tell me whether it is due > to the version of php

RE: [PHP] error message while mysqling on php

2005-09-13 Thread Jay Blanchard
[snip] I have received an error: Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/www/mksystem.net when trying to execute $num = mysql_num_rows($result); [/snip] Post a little code and we might be able to help you. It is likely that $result is not the vari

RE: [PHP] Error message

2004-08-23 Thread Thijs Lensselink
define constant with "DB_PORTABILITY_ALL"; Pete wrote: > Hi List, > > I am getting a strange error notice for the following config file: > > /** > * Database > */ > $dsn = array( > 'phptype' => 'mysql', > 'username' => 'root', > 'password' => 'secretpass', > 'hostspec' => 'loca

Re: [PHP] Error message

2004-08-23 Thread Matt M.
> Notice: Use of undefined constant DB_PORTABILITY_ALL - assumed 'DB_PORTABILITY_ALL' > in D:\utf8php5\config.php on line 16 > > What can I do about this? include PEAR::DB before you include this config file -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.p

RE: [PHP] Error message

2004-08-23 Thread Jay Blanchard
[snip] Notice: Use of undefined constant DB_PORTABILITY_ALL - assumed 'DB_PORTABILITY_ALL' in D:\utf8php5\config.php on line 16 What can I do about this? [/snip] http://www.php.net/constant DEFINE the constant DB_PORTABILITY_ALL -- PHP General Mailing List (http://www.php.net/) To unsubscribe

RE: [PHP] Error message trying to include a file

2003-12-02 Thread Wouter van Vliet
On maandag 1 december 2003 23:17 Curt Zirzow told the butterflies: > * Thus wrote Matthias Wulkow ([EMAIL PROTECTED]): > > > > I have an array filled with urls of javascript files and then I > > include them one by one in a loop. > > > > for( $i = 0 ; $i < sizeof($this->page->javascript) ; $i++ )

Re: [PHP] Error message trying to include a file

2003-12-01 Thread Curt Zirzow
* Thus wrote Matthias Wulkow ([EMAIL PROTECTED]): > > I have an array filled with urls of javascript files and then I > include them one by one in a loop. > > for( $i = 0 ; $i < sizeof($this->page->javascript) ; $i++ ){ > > include($this->page->javascript[$i]); > //This line above is l

Re: [PHP] error message ... never seen this one before.

2003-03-19 Thread Marek Kilimajer
Put single quotes around the strings in your sql statementS: $sql2 = "SELECT id FROM store_name WHERE name = '".$name[$i]."'"; ^ ^ if this does not help, print out the query strings. Daniel McCullough wrote: I get this error. Unknown c

Re: [PHP] Error Message

2002-11-12 Thread Ernest E Vogelsinger
At 23:23 12.11.2002, Ben C. said: [snip] >I am receiving the following error on my change password form: > >Warning: Cannot send session cache limiter - headers already sent (output >started at /home/httpd/vhosts/localhost/httpdocs/order/change_psswd.php:14)

Re: Re: [PHP] Error Message

2002-11-12 Thread Kevin Stone
Sent: Tuesday, November 12, 2002 3:35 PM Subject: Re: Re: [PHP] Error Message > I am using the require() function. > > - 1st require() includes the top portion of my page on every page. > > - 2nd require puts the following code in the middle: > > require("fns

Re: Re: [PHP] Error Message

2002-11-12 Thread Ben C .
age. Does this help you understand??? Thanks, Ben > > From: Adam Williams <[EMAIL PROTECTED]> > Date: 2002/11/12 Tue PM 05:26:09 EST > To: "Ben C." <[EMAIL PROTECTED]> > CC: <[EMAIL PROTECTED]> > Subject: Re: [PHP] Error Message > > are you using

Re: [PHP] Error Message

2002-11-12 Thread Adam Williams
are you using header() after you've already sent data to the browser (such as printing something to the user)? Adam On Tue, 12 Nov 2002, Ben C. wrote: > I am receiving the following error on my change password form: > > Warning: Cannot send session cache limiter - headers

Re: [PHP] error message when run /usr/share/pear

2002-08-16 Thread Ryan
Yes, I do use --with-mysql now i am using the rpm version of php. Adam Williams wrote: > when running the ./configure for PHP did you use --with-mysql > > Adam > > On Fri, 16 Aug 2002, Ryan wrote: > > >>What's wrong ? I am using RH7.3. I manually compile the php and ins

Re: [PHP] error message when run /usr/share/pear

2002-08-16 Thread Adam Williams
when running the ./configure for PHP did you use --with-mysql Adam On Fri, 16 Aug 2002, Ryan wrote: > What's wrong ? I am using RH7.3. I manually compile the php and install > it before. But later I install using the rpm. > > Thx for reply ! > > > Content-type: text/html

RE: [PHP] error message

2001-09-22 Thread Mark Roedel
> -Original Message- > From: Peter [mailto:[EMAIL PROTECTED]] > Sent: Saturday, September 22, 2001 12:10 PM > To: [EMAIL PROTECTED] > Subject: [PHP] error message > > > I was wondering does anyone know what this particular error > message means: > > Warning: Use of undefined constant

RE: [PHP] Error Message with sessoin variables [solved]

2001-07-13 Thread Johnny Nguyen
Thanks. c:\temp took care of it. now if i can only get the extensions to work. -Original Message- From: Inércia Sensorial [mailto:[EMAIL PROTECTED]] Sent: Friday, July 13, 2001 4:39 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Error Message with sessoin variables. Windows plataform

Re: [PHP] Error Message with sessoin variables.

2001-07-13 Thread Inércia Sensorial
Windows plataform? I was getting this error and solved by creating a dir named 'tmp', so create: c:\tmp That's where the session files will be stored... I think it's configurable in php.ini. -- Julio Nobrega. You're asking me will my love grow, I don't know. "Johnny Nguyen" <[EMAIL PRO

Re: [PHP] error message handling

2001-01-17 Thread Alex Black
> You probably want to suppress the error message with an @ symbol. Try > putting an "@" before the function calls that give you errors. you want to avoid doing that, I recommend properly handling the error. > $x = @php_function_here(); > ?> > > This suppresses the error function. Many funct

RE: [PHP] error message handling

2001-01-17 Thread Benjamin Munoz
You probably want to suppress the error message with an @ symbol. Try putting an "@" before the function calls that give you errors. This suppresses the error function. Many functions return FALSE if unsuccessful, so you can test and supply your own error message. If you find yourself d