> -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
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
> -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
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
> -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
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
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
> -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
> -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_
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
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
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
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']
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
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?
>
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
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
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
- 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
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();
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
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
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
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.
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
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
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(
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
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
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
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['
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';
?>
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
>
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
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
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-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
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
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
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
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
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
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
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: [
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
> 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
[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
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
> 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
[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
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 l
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
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)
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
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
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
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
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
> -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
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
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
> 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
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
64 matches
Mail list logo