Pham tommy...@gmail.com
To: 'sueandant' hollandsath...@tiscali.co.uk
Cc: 'PHP' php-general@lists.php.net
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
-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 version I downloaded was
your
[1], tho it wa
: Luigi Pressello rad...@gmail.com
To: Tommy Pham tommy...@gmail.com
Cc: 'sueandant' hollandsath...@tiscali.co.uk; 'PHP'
php-general@lists.php.net
Sent: Friday, October 15, 2010 10:46 PM
Subject: Re: [PHP] Error message not understood
Probably a PHP compilation problem.
The message seems refer
-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 version 5.1.51, but [2]
gives no output
.
- Original Message -
From: Tommy Pham tommy...@gmail.com
To: 'sueandant' hollandsath...@tiscali.co.uk; 'Luigi Pressello'
rad...@gmail.com
Cc: 'PHP' php-general@lists.php.net
Sent: Saturday, October 16, 2010 9:38 PM
Subject: RE: [PHP] Error message not understood
-Original Message-
From
-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 uninstalled it using
Windows' uninstaller
-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_connect()
-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: sueandant [mailto:hollandsath...@tiscali.co.uk]
Sent: Friday, October
]
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.uk]
Sent: Friday, October 15, 2010 2:02 PM
To: PHP
Subject: [PHP] Error message not understood
Can
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()'img src='/images/myimage.jpg'
width='161' height='57' align='right' /Open Window...
As far as other PHP goes, the whole
k, add ?php error_reporting(0); ? to your script,
to prevent the error from showing.
On Tue, Mar 2, 2010 at 2:38 PM, Rick Dwyer rpdw...@earthlink.net 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
On Tue, 2010-03-02 at 14:49 +0100, Rene Veerman wrote:
k, add ?php error_reporting(0); ? to your script,
to prevent the error from showing.
On Tue, Mar 2, 2010 at 2:38 PM, Rick Dwyer rpdw...@earthlink.net wrote:
On Mar 2, 2010, at 12:31 AM, Rene Veerman wrote:
does the script itself ever
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);
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'];
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
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
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
- Original Message
From: Bruce Dobson bruce_...@yahoo.co.nz
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
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. Anyone can
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 ?php
if you're going to be using
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
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
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
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:
?php
session_start();
echo 'Welcome to page #1';
$_SESSION['favcolor'] = 'green';
$_SESSION['animal'] = 'cat';
$_SESSION['time']
It sounds like there is a space or output before the ?php line. It
should be the very first line on a PHP page, and have no spaces before
it.
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
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
Andrew Barnett schreef:
It sounds like there is a space or output before the ?php line. It
should be the very first line on a PHP page, and have no spaces before
it.
a blank space before the ?php tag ... on LINE 6???
Andrew
2008/9/19 CanihoJR [EMAIL PROTECTED]:
No puedes tener ningun
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
Si, puedes tener espacio en blanco delante de session_start(), pero no
puedes tener espacio delante de '?php'.
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
CanihoJR wrote:
No puedes tener ningun espacio en blanco delante de session_start();
Sorry for
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 example might that be,
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?
?php
// page1.php
session_start();
echo 'Welcome to page #1';
$_SESSION['favcolor'] = 'green';
$_SESSION['animal']
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
they
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
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
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 ?php phpinfo();? reflect your changes to
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 messages when I
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 in
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 bug
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]
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 to
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
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
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: [PHP] error
[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
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 I
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 = mysql_num_rows($result);
Please go
[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
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:
define constant with DB_PORTABILITY_ALL;
Pete wrote:
Hi List,
I am getting a strange error notice for the following config file:
?php
/**
* Database
*/
$dsn = array(
'phptype' = 'mysql',
'username' = 'root',
'password' = 'secretpass',
'hostspec' = 'localhost',
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++ ){
* 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 line 52 shown
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
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
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 header() after you've already sent data to the browser (such
as printing something
: 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.php);
session_start();
if (!filled_out($HTTP_POST_VARS))
{
echo You have
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)
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
PHP
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 install
it
-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 submit -
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
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
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.
?php
$x = @php_function_here();
?
This suppresses the error function. Many
62 matches
Mail list logo