Re: [PHP] Warning at PDO:Firebird driver manual page removed.

2012-09-21 Thread Lester Caine
Davi Marcondes Moreira wrote: The question is: why the warning message was removed, and now this extension is safe for use, without risks of being discontinued or depreciated? Davi The current version of the extension is stable and a number of the initial bugs have been cleared up. If you use

Re: [PHP] Warning at PDO:Firebird driver manual page removed.

2012-09-21 Thread Davi Marcondes Moreira
Dear Lester, Thank you very much for your attention. You gave me the exact explanation which solved all my doubts about using PDO:Firebird. Actually I'm building step by step a abstract layer file for general use on these projects, and it works fine for us, using the php_interbase extension

[PHP] Warning at PDO:Firebird driver manual page removed.

2012-09-20 Thread Davi Marcondes Moreira
Hi, good evening! I'm working with an database from and older application (Firebird 1.5) and I need some help to implement the PDO:Firebird in our projects at work. If anybody could give me some light in this case, I would be very happy to implement PDO with Firebird from now on. Until last

[PHP] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/php_pdo_mysql' ....

2012-02-01 Thread Darryle Steplight
in my /etc/php.d/ folder.  I'm also including the PDO and PDO_MYSQL extensions in my httpd.conf file after my extension_dir=/path/to/modules/ declaration.  When I run php -i | grep pdo this is what I see ]# php -i | grep pdo PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php

Re: [PHP] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/php_pdo_mysql' ....

2012-02-01 Thread Matijn Woudt
| grep pdo PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/php_pdo' - /usr/lib64/php/modules/php_pdo: cannot open shared object file: No such file or directory in Unknown on line 0 PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php

Re: [PHP] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/php_pdo_mysql' ....

2012-02-01 Thread Darryle Steplight
.  When I run php -i | grep pdo this is what I see ]# php -i | grep pdo PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/php_pdo' - /usr/lib64/php/modules/php_pdo: cannot open shared object file: No such file or directory in Unknown on line 0 PHP Warning:  PHP

Re: [PHP] Warning: Cannot modify header information - headers already sent by - classic

2011-05-20 Thread shiplu
On Fri, May 20, 2011 at 1:45 AM, Marc Guay marc.g...@gmail.com wrote: Hi folks, I'm running some code locally which should produce this fun error we all know and love: Warning: Cannot modify header information - headers already sent by... but does not. Switching from 5.3 to 5.2 reveals

Re: [PHP] Warning: Cannot modify header information - headers alreadysent by - classic

2011-05-20 Thread Carlos Medina
Am 20.05.2011 10:38, schrieb shiplu: On Fri, May 20, 2011 at 1:45 AM, Marc Guaymarc.g...@gmail.com wrote: Hi folks, I'm running some code locally which should produce this fun error we all know and love: Warning: Cannot modify header information - headers already sent by... but does not.

Re: [PHP] Warning: Cannot modify header information - headers alreadysent by - classic

2011-05-20 Thread Marc Guay
To everyone who did not read my original message but responded to it, Thank you. Marc -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Warning: session_start()

2011-05-19 Thread Richard Quadling
On 18 May 2011 19:15, Nazish naz...@jhu.edu wrote: Hi everyone, I recently uploaded my website files to a server. When I tried to log into my website, I received these error messages: *Warning*: session_start() [function.session-starthttp://www.myparcoasis.com/function.session-start]:

Re: Re: [PHP] Warning: session_start()

2011-05-19 Thread Tim Streater
On 19 May 2011 at 10:20, Richard Quadling rquadl...@gmail.com wrote: On 18 May 2011 19:15, Nazish naz...@jhu.edu wrote: Hi everyone, !---            WHEN USER CLICKS 'ENTER' TO LOGIN

Re: [PHP] Warning: session_start()

2011-05-19 Thread Pete Ford
On 19/05/11 10:37, Tim Streater wrote: On 19 May 2011 at 10:20, Richard Quadlingrquadl...@gmail.com wrote: On 18 May 2011 19:15, Nazishnaz...@jhu.edu wrote: Hi everyone, !--- WHEN USER CLICKS 'ENTER' TO

RE: [PHP] Warning: session_start()

2011-05-19 Thread Ford, Mike
-Original Message- From: Pete Ford [mailto:p...@justcroft.com] Sent: 19 May 2011 11:36 To: php-general@lists.php.net Subject: Re: [PHP] Warning: session_start() On 18 May 2011 19:15, Nazishnaz...@jhu.edu wrote: Hi everyone

Re: [PHP] Warning: session_start()

2011-05-19 Thread Richard Quadling
On 19 May 2011 16:05, Nazish naz...@jhu.edu wrote: I didn't realize that connecting to the MySQL database involved sending a header: eg. mysql_connect($host, $user, $mysql_pass); It doesn't. -- Richard Quadling Twitter : EE : Zend : PHPDoc @RQuadling : e-e.com/M_248814.html :

Re: [PHP] Warning: session_start()

2011-05-19 Thread Richard Quadling
Original message From: Nazish naz...@jhu.edu To: php-general@lists.php.net Date created: , 9:15:37 PM Subject: [PHP] Warning: session_start()      Hi everyone, I recently uploaded my website files to a server. When I tried to log into my website, I received these error

[PHP] Warning: Cannot modify header information - headers already sent by - classic

2011-05-19 Thread Marc Guay
Hi folks, I'm running some code locally which should produce this fun error we all know and love: Warning: Cannot modify header information - headers already sent by... but does not. Switching from 5.3 to 5.2 reveals the error and running it on another server with 5.2 also shows the error. I

Re: [PHP] Warning: Cannot modify header information - headers already sent by - classic

2011-05-19 Thread Bálint Horváth
Hi Header just be modified if its at the start of your script... right code: ?php ... header(); ... ? and not.. ?php ... ? php header(); ? Valentine On Thu, May 19, 2011 at 9:45 PM, Marc Guay marc.g...@gmail.com wrote: Hi folks, I'm running some code locally which should produce this fun

Re: [PHP] Warning: Cannot modify header information - headers already sent by - classic

2011-05-19 Thread Marc Guay
Thank you Balint but if you read my message I have a good understanding of what causes this error. My confusion is why it is not being thrown in this partciular instance. Marc -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Warning: Cannot modify header information - headers already sent by - classic

2011-05-19 Thread Bálint Horváth
Sorry, I forgot the alternative.. You can use simply meta refresh which is working anyway. Usually I insert more than one redirector function to my script... Eg.: ... $back = $_SERVER['PHP_SELF'] . '?action=login'; //header('Location: '.$back.''); echo 'meta http-equiv=refresh

Re: [PHP] Warning: Cannot modify header information - headers already sent by - classic

2011-05-19 Thread Marc Guay
   See if output_buffering and output_handler are set the same in your php.ini and/or phpinfo() output between working and non-working versions. Thanks Daniel. With output_buffering On the error was not displayed and the re-location fired, while Off caused it to display the error and continue

Re: [PHP] Warning: Cannot modify header information - headers already sent by - classic

2011-05-19 Thread Daniel Brown
On Thu, May 19, 2011 at 15:45, Marc Guay marc.g...@gmail.com wrote: Hi folks, I'm running some code locally which should produce this fun error we all know and love:  Warning: Cannot modify header information - headers already sent by... but does not.  Switching from 5.3 to 5.2 reveals the

[PHP] Warning: session_start()

2011-05-18 Thread Nazish
Hi everyone, I recently uploaded my website files to a server. When I tried to log into my website, I received these error messages: *Warning*: session_start() [function.session-starthttp://www.myparcoasis.com/function.session-start]: Cannot send session cookie - headers already sent by (output

Re: [PHP] Warning: session_start()

2011-05-18 Thread Stuart Dallas
On Wed, May 18, 2011 at 7:15 PM, Nazish naz...@jhu.edu wrote: Hi everyone, I recently uploaded my website files to a server. When I tried to log into my website, I received these error messages: *Warning*: session_start()

Re: [PHP] Warning: session_start()

2011-05-18 Thread Andre Polykanine
://facebook.com/menelion Original message From: Nazish naz...@jhu.edu To: php-general@lists.php.net Date created: , 9:15:37 PM Subject: [PHP] Warning: session_start() Hi everyone, I recently uploaded my website files to a server. When I tried to log into my website, I received

[PHP] Warning when calling session_start()

2010-12-21 Thread webdev
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Warning when calling session_start()

2010-12-21 Thread webdev
Hi, folks, good morning ! Since I'm a newbie with respect of sessions cookies I'm quite lost here getting always a warning when calling session_start(); I developed and tested some php code using a session to pass some values betwen different scripts on my local machine. All went O.K. But

Re: [PHP] Warning when calling session_start()

2010-12-21 Thread Michael Shadle
On Tue, Dec 21, 2010 at 9:27 PM, web...@blaettner.com wrote:   Warning: session_start() [function.session-start]:   Cannot send session cache limiter - headers already   sent (output started at /./sess.php:3) in   /./sess.php on line 5 first - this is probably your culprit: don't

Re: [PHP] PHP Warning

2010-09-17 Thread Daniel Brown
On Fri, Sep 17, 2010 at 10:35, Floyd Resler fres...@adex-intl.com wrote: I'm getting the following warning when running PHP scripts from the command line: PHP Warning:  Module 'mcrypt' already loaded in Unknown on line 0 How can I get rid of this?  My error report directives

Re: [PHP] PHP Warning

2010-09-17 Thread Floyd Resler
Thanks for the help. The culprit was in my cli/php.ini file. Thanks! Floyd On Sep 17, 2010, at 10:53 AM, Daniel Brown wrote: On Fri, Sep 17, 2010 at 10:35, Floyd Resler fres...@adex-intl.com wrote: I'm getting the following warning when running PHP scripts from the command line: PHP

Re: [PHP] Warning messages on web page.

2010-06-23 Thread Mike Davies
On Tue, 2010-06-22 at 10:41 -0400, Daniel P. Brown wrote: On Tue, Jun 22, 2010 at 10:17, Mike Davies m...@integrawebdesign.co.uk wrote: [snip!] Warning: reset() [function.reset]: Passed variable is not an array or object in /home/b23aadf/public_html/news/details.php on line 72 [snip!]

Re: [PHP] Warning messages on web page.

2010-06-23 Thread Shreyas Agasthya
Mike, Little weird. I executed the same lines of code against my sample database and did not got any warning. You might want to send the code for projects and news to do any comparison? *[I will silently wait for the PHP demi-gods (the Ashleys, the Pauls et al) at hover their vigilant eyes on

Re: [PHP] Warning messages on web page.

2010-06-23 Thread Ashley Sheridan
On Wed, 2010-06-23 at 15:55 +0530, Shreyas Agasthya wrote: Mike, Little weird. I executed the same lines of code against my sample database and did not got any warning. You might want to send the code for projects and news to do any comparison? *[I will silently wait for the PHP demi-gods

Re: [PHP] Warning messages on web page.

2010-06-23 Thread Daniel Brown
Hold everything, Mike! On Wed, Jun 23, 2010 at 05:18, Mike Davies m...@integrawebdesign.co.uk wrote: [snip!] ?php mysql_select_db($database_general, $general); $query_details = SELECT * FROM news WHERE news_id = '$_GET[id]'; /** * Above line is placed here so that we can be

Re: [PHP] Warning messages on web page.

2010-06-23 Thread Mike Davies
On Wed, 2010-06-23 at 09:09 -0400, Daniel Brown wrote: Hold everything, Mike! On Wed, Jun 23, 2010 at 05:18, Mike Davies m...@integrawebdesign.co.uk wrote: [snip!] ?php mysql_select_db($database_general, $general); $query_details = SELECT * FROM news WHERE news_id = '$_GET[id]';

Re: [PHP] Warning messages on web page.

2010-06-23 Thread Ashley Sheridan
On Wed, 2010-06-23 at 16:14 +0100, Mike Davies wrote: On Wed, 2010-06-23 at 09:09 -0400, Daniel Brown wrote: Hold everything, Mike! On Wed, Jun 23, 2010 at 05:18, Mike Davies m...@integrawebdesign.co.uk wrote: [snip!] ?php mysql_select_db($database_general, $general);

Re: [PHP] Warning messages on web page.

2010-06-23 Thread Daniel Brown
On Wed, Jun 23, 2010 at 11:14, Mike Davies m...@integrawebdesign.co.uk wrote: Nothing is returned for SELECT query as there is nothing in the table as yet. Perhaps this is the problem. Typically all projects would have an associated thumb image but all news items may not. Perhaps a thumb image

Re: [PHP] Warning messages on web page.

2010-06-23 Thread Mike Davies
On Wed, 2010-06-23 at 16:22 +0100, Ashley Sheridan wrote: On Wed, 2010-06-23 at 16:14 +0100, Mike Davies wrote: If you haven't in your code, then make sure you define $thumbsarray as an array before you attempt to use it in the loop. This will have no effect where rows are returned, but it

[PHP] Warning messages on web page.

2010-06-22 Thread Mike Davies
Hello, This is my first post to this list and I am a novice at php coding. I can generally follow the code but not good at writing from scratch. I have recently been trying to add to a website which was originally developed by someone else and is written in php and mysql. I am trying to add a

Re: [PHP] Warning messages on web page.

2010-06-22 Thread Jim Lucas
Mike Davies wrote: Hello, This is my first post to this list and I am a novice at php coding. I can generally follow the code but not good at writing from scratch. I have recently been trying to add to a website which was originally developed by someone else and is written in php and

Re: [PHP] Warning messages on web page.

2010-06-22 Thread Shreyas Agasthya
Mike, A couple of things that I could understand reading carefully at the error. 1. reset takes an array as the input and perhaps your $thumbsarray is *not *an array? Reset will set the internal pointer to the start of the array. 2. Warning # 2 is very closely related to #1 since you can

Re: [PHP] Warning messages on web page.

2010-06-22 Thread Daniel P. Brown
On Tue, Jun 22, 2010 at 10:17, Mike Davies m...@integrawebdesign.co.uk wrote: [snip!] Warning: reset() [function.reset]: Passed variable is not an array or object in /home/b23aadf/public_html/news/details.php on line 72 [snip!] Is anyone able to help resolve this? If you let me know what

Re: [PHP] Warning messages on web page.

2010-06-22 Thread Paul M Foster
On Tue, Jun 22, 2010 at 03:17:53PM +0100, Mike Davies wrote: Hello, This is my first post to this list and I am a novice at php coding. I can generally follow the code but not good at writing from scratch. I have recently been trying to add to a website which was originally developed

Re: [PHP] Warning?

2010-02-07 Thread tedd
At 7:02 PM + 2/6/10, Jochem Maas wrote: Op 2/6/10 4:29 PM, tedd schreef: Hi: Has anyone encountered this warning? Warning: Unknown: Your script possibly relies on a session side-effect which existed until PHP 4.2.3. Please be advised that the session extension does not consider

Re: [PHP] Warning?

2010-02-07 Thread Jochem Maas
Op 2/7/10 3:40 PM, tedd schreef: At 7:02 PM + 2/6/10, Jochem Maas wrote: Op 2/6/10 4:29 PM, tedd schreef: Hi: Has anyone encountered this warning? Warning: Unknown: Your script possibly relies on a session side-effect which existed until PHP 4.2.3. Please be advised that the

Re: [PHP] Warning: OutsourcingRoom.com

2009-08-06 Thread Andrew Ballard
On Thu, Aug 6, 2009 at 8:20 AM, abdulazeez alugodefati...@hotmail.com wrote: Well, I try not to give out my details to too many people each month, and this month they were beat to it by a nice fellow in Nigeria who I'm helping out by letting him put some money into my account. Hello

Re: [PHP] Warning: OutsourcingRoom.com

2009-08-06 Thread Nate Benes
Hey guys, Did some digging... looks like the host for http://outsourcingroom.com is http://hosting.ua/. Also, outsourcingroom looks to be owned by http://www.cbsystematics.com. The host for this company website is http://parking.ru. Hopefully this information can be of use to someone a little

Re: [PHP] Warning: OutsourcingRoom.com

2009-08-05 Thread Ashley Sheridan
On Tue, 2009-08-04 at 20:49 -0700, Steve wrote: Daniel Brown wrote: Just as a heads-up, in case you guys weren't yet aware (cross-posting): Elance.com was the victim of an SQL injection attack earlier this summer (they apparently missed our billions of threads on sanity).

Re: [PHP] Warning: OutsourcingRoom.com

2009-08-05 Thread Eric Butera
On Wed, Aug 5, 2009 at 3:06 AM, Ashley Sheridana...@ashleysheridan.co.uk wrote: On Tue, 2009-08-04 at 20:49 -0700, Steve wrote: Daniel Brown wrote:     Just as a heads-up, in case you guys weren't yet aware (cross-posting):     Elance.com was the victim of an SQL injection attack earlier

Re: [PHP] Warning: OutsourcingRoom.com

2009-08-05 Thread Ashley Sheridan
On Wed, 2009-08-05 at 09:54 -0400, Eric Butera wrote: On Wed, Aug 5, 2009 at 3:06 AM, Ashley Sheridana...@ashleysheridan.co.uk wrote: On Tue, 2009-08-04 at 20:49 -0700, Steve wrote: Daniel Brown wrote: Just as a heads-up, in case you guys weren't yet aware (cross-posting):

Re: [PHP] Warning: OutsourcingRoom.com

2009-08-05 Thread Martin Scotta
Nobody can actually do anything. This happen all the time. Sites like facebook or myspace send invitations to all your mail's contacts, but that's not the problem. What I can't understand is why do they do pre-signup just you for the easy of you. I have _created_ an account just to edit my

Re: [PHP] Warning: OutsourcingRoom.com

2009-08-05 Thread Ashley Sheridan
On Wed, 2009-08-05 at 11:10 -0300, Martin Scotta wrote: Nobody can actually do anything. This happen all the time. Sites like facebook or myspace send invitations to all your mail's contacts, but that's not the problem. What I can't understand is why do they do pre-signup just you for the

Re: [PHP] Warning: OutsourcingRoom.com

2009-08-05 Thread Ashley Sheridan
On Wed, 2009-08-05 at 15:14 +0100, Ashley Sheridan wrote: On Wed, 2009-08-05 at 11:10 -0300, Martin Scotta wrote: Nobody can actually do anything. This happen all the time. Sites like facebook or myspace send invitations to all your mail's contacts, but that's not the problem. What I

Re: [PHP] Warning: OutsourcingRoom.com

2009-08-05 Thread Martin Scotta
What we can do is make a Report Web Forgery for this site. If you use Firefox there is an option in the help menu. Also you can report to search engines like Google or Yahoo (that's what I did) well... in this thread we are doing something On Wed, Aug 5, 2009 at 11:14 AM, Ashley

[PHP] Warning: OutsourcingRoom.com

2009-08-04 Thread Daniel Brown
Just as a heads-up, in case you guys weren't yet aware (cross-posting): Elance.com was the victim of an SQL injection attack earlier this summer (they apparently missed our billions of threads on sanity). According to their folks, only names, company names, phone numbers, and email

Re: [PHP] Warning: OutsourcingRoom.com

2009-08-04 Thread Steve
Daniel Brown wrote: Just as a heads-up, in case you guys weren't yet aware (cross-posting): Elance.com was the victim of an SQL injection attack earlier this summer (they apparently missed our billions of threads on sanity). According to their folks, only names, company names, phone

[PHP] Warning: Division by zero

2009-04-30 Thread Gary
I have a script that is a result of data entered in a form On the script (when I test without data entry), I am getting a warning that Warning: Division by zero in .inc.php on line 15. The warning is correct, however the viewer cannot access the second script without entering the data that

RE: [PHP] Warning: Division by zero

2009-04-30 Thread kyle.smith
It's always better to validate your inputs in any was possible, this helps prevent exploits. -Original Message- From: Gary [mailto:gwp...@ptd.net] Sent: Thursday, April 30, 2009 8:51 AM To: php-general@lists.php.net Subject: [PHP] Warning: Division by zero I have a script

Re: [PHP] Warning: Division by zero

2009-04-30 Thread Christoph Boget
I have a script that is a result of data entered in a form On the script (when I test without data entry), I am getting a warning that Warning: Division by zero in .inc.php on line 15. The warning is correct, however the viewer cannot access the second script without entering the data that

Re: [PHP] Warning: Division by zero

2009-04-30 Thread Gary
Thanks for your response. The error I am getting is when I am defining a variable. (line 15) $percent_difference=($assess_difference)/($assess_value); Does this make a difference? Thanks again for all your help. Gary Christoph Boget christoph.bo...@gmail.com wrote in message

Re: [PHP] Warning: Division by zero

2009-04-30 Thread Christoph Boget
The error I am getting is when I am defining a variable. (line 15) $percent_difference=($assess_difference)/($assess_value); Does this make a difference? No, it doesn't make a difference. The simple fact is that $assess_value is either undefined or has been set to 0 at some point. For it's

Re: [PHP] Re: PHP Warning: HTTP request failed -- BSD resource limit reached?

2008-11-20 Thread Nathan Rixham
Rene Fournier wrote: On 19-Nov-08, at 12:52 PM, Nathan Rixham wrote: Rene Fournier wrote: Hi, I have four identical command-line PHP scripts running, and each will frequently fetch some data from another server via file_get_contents(). By frequently, I mean on average, every second.

Re: [PHP] Re: PHP Warning: HTTP request failed -- BSD resource limit reached?

2008-11-20 Thread Rene Fournier
On 20-Nov-08, at 2:59 AM, Nathan Rixham wrote: Rene Fournier wrote: On 19-Nov-08, at 12:52 PM, Nathan Rixham wrote: Rene Fournier wrote: Hi, I have four identical command-line PHP scripts running, and each will frequently fetch some data from another server via file_get_contents(). By

Re: [PHP] Re: PHP Warning: HTTP request failed -- BSD resource limit reached?

2008-11-20 Thread Daniel P. Brown
On Thu, Nov 20, 2008 at 11:50 AM, Rene Fournier [EMAIL PROTECTED] wrote: Don't think that can be it, since (a) the other processes are not being denied their http requests and (b) requests are going to two servers. Have you checked your firewall settings? It may be configured to deny

Re: [PHP] Re: PHP Warning: HTTP request failed -- BSD resource limit reached?

2008-11-20 Thread Nathan Rixham
Daniel P. Brown wrote: On Thu, Nov 20, 2008 at 11:50 AM, Rene Fournier [EMAIL PROTECTED] wrote: Don't think that can be it, since (a) the other processes are not being denied their http requests and (b) requests are going to two servers. Have you checked your firewall settings? It may be

Re: [PHP] Re: PHP Warning: HTTP request failed -- BSD resource limit reached?

2008-11-20 Thread Rene Fournier
On 20-Nov-08, at 9:56 AM, Daniel P. Brown wrote: On Thu, Nov 20, 2008 at 11:50 AM, Rene Fournier [EMAIL PROTECTED] wrote: Don't think that can be it, since (a) the other processes are not being denied their http requests and (b) requests are going to two servers. Have you checked

Re: [PHP] Re: PHP Warning: HTTP request failed -- BSD resource limit reached?

2008-11-20 Thread Rene Fournier
On 20-Nov-08, at 10:46 AM, Nathan Rixham wrote: Daniel P. Brown wrote: On Thu, Nov 20, 2008 at 11:50 AM, Rene Fournier [EMAIL PROTECTED] wrote: Don't think that can be it, since (a) the other processes are not being denied their http requests and (b) requests are going to two servers.

Re: [PHP] Re: PHP Warning: HTTP request failed -- BSD resource limit reached?

2008-11-20 Thread Daniel P. Brown
On Thu, Nov 20, 2008 at 2:41 PM, Rene Fournier [EMAIL PROTECTED] wrote: There is no firewall between any of the servers -- they are all on the same LAN. I read when you said that, but I must not have explained myself well enough before. Sorry. Linux, by default, has firewalls

Re: [PHP] Re: PHP Warning: HTTP request failed -- BSD resource limit reached?

2008-11-20 Thread Rene Fournier
On 20-Nov-08, at 12:44 PM, Daniel P. Brown wrote: On Thu, Nov 20, 2008 at 2:41 PM, Rene Fournier [EMAIL PROTECTED] wrote: There is no firewall between any of the servers -- they are all on the same LAN. I read when you said that, but I must not have explained myself well enough

Re: [PHP] Re: PHP Warning: HTTP request failed -- BSD resource limit reached?

2008-11-20 Thread Nathan Rixham
Rene Fournier wrote: On 20-Nov-08, at 12:44 PM, Daniel P. Brown wrote: On Thu, Nov 20, 2008 at 2:41 PM, Rene Fournier [EMAIL PROTECTED] wrote: There is no firewall between any of the servers -- they are all on the same LAN. I read when you said that, but I must not have explained

Re: [PHP] Re: PHP Warning: HTTP request failed -- BSD resource limit reached?

2008-11-20 Thread Rene Fournier
On 20-Nov-08, at 3:57 PM, Nathan Rixham wrote: Rene Fournier wrote: On 20-Nov-08, at 12:44 PM, Daniel P. Brown wrote: On Thu, Nov 20, 2008 at 2:41 PM, Rene Fournier [EMAIL PROTECTED] wrote: There is no firewall between any of the servers -- they are all on the same LAN. I read

[PHP] PHP Warning: HTTP request failed -- BSD resource limit reached?

2008-11-19 Thread Rene Fournier
(), with the error message: PHP Warning: file_get_contents(http://.../): failed to open stream: HTTP request failed! Sometimes it's a single failure, other times, it fails repeatedly for 30-60 seconds, then starts working again. Strange, no? At first, I thought maybe I've maxed out

[PHP] Re: PHP Warning: HTTP request failed -- BSD resource limit reached?

2008-11-19 Thread Nathan Rixham
on file_get_contents(), with the error message: PHP Warning: file_get_contents(http://.../): failed to open stream: HTTP request failed! Sometimes it's a single failure, other times, it fails repeatedly for 30-60 seconds, then starts working again. Strange, no? At first, I thought maybe

Re: [PHP] Re: PHP Warning: HTTP request failed -- BSD resource limit reached?

2008-11-19 Thread Rene Fournier
On 19-Nov-08, at 12:52 PM, Nathan Rixham wrote: Rene Fournier wrote: Hi, I have four identical command-line PHP scripts running, and each will frequently fetch some data from another server via file_get_contents(). By frequently, I mean on average, every second. Periodically, one of the

[PHP] Warning: libxml2 2.7.1

2008-09-04 Thread Colin Guthrie
Hi, I've not 100% confirmed this as a problem yet but I'm getting some fairly serious problems when parsing xml documents with this version of libxml2. I've reported it to the libxml guys, but if you are interested my test code is here: https://qa.mandriva.com/show_bug.cgi?id=43486 I'm

Re: [PHP] PHP Warning: imagettftext()

2008-07-25 Thread Lou Baccari
the same code on CentOS V5 with php-5.2.6, php-gd-5.2.6, gd-2.0.33-9.4, freetype-2.2.1-20 the same piece of code fails with the error: *[Mon Jul 21 13:13:11 2008] [error] [client 137.203.140.206] PHP Warning: imagettftext() [a href='function.imagettftext'function.imagettftext/a]: Could

Re: [PHP] PHP Warning: imagettftext()

2008-07-25 Thread Lou Baccari
of code fails with the error: *[Mon Jul 21 13:13:11 2008] [error] [client 137.203.140.206] PHP Warning: imagettftext() [a href='function.imagettftext'function.imagettftext/a]: Could not read font in /www/html/template/lou2.php on line 10 [Mon Jul 21 13:13:11 2008] [error] [client

Re: [PHP] PHP Warning: imagettftext()

2008-07-25 Thread Daniel Brown
On Mon, Jul 21, 2008 at 1:14 PM, Lou Baccari [EMAIL PROTECTED] wrote: Hello, I'm trying to move a site over to the V5 of CentOS and I having problems with php/gd/freetype. It looks like my older systems which is running php-4.3.8-1.1, gd-2.0.15-1, freetype-2.1.4-5 can execute the code

Re: [PHP] PHP Warning: imagettftext()

2008-07-25 Thread Lou Baccari
Thanks for the reply, I felt a little lonely since no one responded earlier. No one else that I've been in contact with have complained about date/time issues with my client and any emails. Yes I sent my first email on Monday, 7/21/08, and then I sent the last two messages today. The

Re: [PHP] PHP Warning: imagettftext()

2008-07-25 Thread Daniel Brown
On Fri, Jul 25, 2008 at 11:02 AM, Lou Baccari [EMAIL PROTECTED] wrote: Thanks for the reply, I felt a little lonely since no one responded earlier. No one else that I've been in contact with have complained about date/time issues with my client and any emails. Yes I sent my first email on

[PHP] PHP Warning: imagettftext()

2008-07-21 Thread Lou Baccari
with php-5.2.6, php-gd-5.2.6, gd-2.0.33-9.4, freetype-2.2.1-20 the same piece of code fails with the error: *[Mon Jul 21 13:13:11 2008] [error] [client 137.203.140.206] PHP Warning: imagettftext() [a href='function.imagettftext'function.imagettftext/a]: Could not read font in /www/html/template

Re: [PHP] Php warning message

2008-02-21 Thread Richard Lynch
On Wed, February 20, 2008 3:29 pm, Yuval Schwartz wrote: Hello and thank you, Another question, I get a message: *Warning*: feof(): supplied argument is not a valid stream resource in * /home/content/t/h/e/theyuv/html/MessageBoard.php* on line *52* ** And I've tried troubleshooting for a

Re: [PHP] Php warning message

2008-02-20 Thread Jason Pruim
On Feb 20, 2008, at 4:29 PM, Yuval Schwartz wrote: Hello and thank you, Another question, I get a message: *Warning*: feof(): supplied argument is not a valid stream resource in * /home/content/t/h/e/theyuv/html/MessageBoard.php* on line *52* ** And I've tried troubleshooting for a while;

Re: [PHP] Php warning message

2008-02-20 Thread Greg Bowser
*$boardFile = MessageBoard.txt; $boardFileHandle = fopen($boardFile,r); for ($counter = 1; !feof($boardFileHandle); $counter += 1) { $colorLine = fgets(boardFilehandle); if ($counter % 2 == 0) { echo font color='00ff00'$colorline/font; } else { echo $colorline; } }

[PHP] Php warning message

2008-02-20 Thread Yuval Schwartz
Hello and thank you, Another question, I get a message: *Warning*: feof(): supplied argument is not a valid stream resource in * /home/content/t/h/e/theyuv/html/MessageBoard.php* on line *52* ** And I've tried troubleshooting for a while; I'm pretty sure I'm opening the file handle correctly and

RE: [PHP] Php warning message

2008-02-20 Thread Andrés Robinet
-Original Message- From: Jason Pruim [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 20, 2008 4:39 PM To: Yuval Schwartz Cc: php-general@lists.php.net Subject: Re: [PHP] Php warning message On Feb 20, 2008, at 4:29 PM, Yuval Schwartz wrote: Hello and thank you

Re: [PHP] Php warning message

2008-02-20 Thread Chris
I may be showing my ignorance here... But on your if ($counter % 2 ==0) line what does the % do? Was that possibly a typo? % is the modulus operator, so basically that will alternate between a line having a font tag and not having a font tag. http://www.php.net/operators.arithmetic --

Re: [PHP] Php warning message

2008-02-20 Thread Daniel Brown
On Wed, Feb 20, 2008 at 4:38 PM, Jason Pruim [EMAIL PROTECTED] wrote: I may be showing my ignorance here... But on your if ($counter % 2 ==0) line what does the % do? Was that possibly a typo? If the line is divisible by 2. Also, it might be good to point out what line 52 is :)

Re: [PHP] Php warning message

2008-02-20 Thread tedd
At 11:29 PM +0200 2/20/08, Yuval Schwartz wrote: Hello and thank you, Here is my code if you're interested (it's so that I color every 2nd line in the text): Try something like this instead. In your html: tr class=row?php echo($j++ 1 );? In your css: .row0 {

Re: [PHP] Php warning message

2008-02-20 Thread Casey
On Feb 20, 2008, at 1:29 PM, Yuval Schwartz [EMAIL PROTECTED] wrote: Hello and thank you, Another question, I get a message: *Warning*: feof(): supplied argument is not a valid stream resource in * /home/content/t/h/e/theyuv/html/MessageBoard.php* on line *52* ** And I've tried

[PHP] Re: Php warning message

2008-02-20 Thread Shawn McKenzie
Yuval Schwartz wrote: Hello and thank you, Another question, I get a message: *Warning*: feof(): supplied argument is not a valid stream resource in * /home/content/t/h/e/theyuv/html/MessageBoard.php* on line *52* ** And I've tried troubleshooting for a while; I'm pretty sure I'm opening

Re: [PHP] Php warning message

2008-02-20 Thread Jochem Maas
Yuval Schwartz schreef: Hello and thank you, Another question, I get a message: *Warning*: feof(): supplied argument is not a valid stream resource in * /home/content/t/h/e/theyuv/html/MessageBoard.php* on line *52* ** And I've tried troubleshooting for a while; I'm pretty sure I'm opening the

Re: [PHP] warning message to hide

2007-04-20 Thread Richard Lynch
On Thu, April 19, 2007 6:05 pm, Roman Neuhauser wrote: Here's what happens without E_NOTICE: [EMAIL PROTECTED] ~ $ php -r 'var_dump($foo);' Notice: Undefined variable: foo in Command line code on line 1 Sorry. I meant *with* E_NOTICE Yeah, that's what I had posted. I think you

Re: [PHP] warning message to hide

2007-04-19 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2007-04-18 23:03:08 -0500: On Wed, April 18, 2007 2:21 am, Tijnema ! wrote: Hmm, this is what i get: ~# php -r 'var_dump($foo);' NULL ~# php -r 'var_dump(@$foo);' NULL PHP6 snapshot from a month ago. Your php.ini doesn't have error_reporting cranked up to

Re: [PHP] warning message to hide

2007-04-19 Thread Richard Lynch
On Thu, April 19, 2007 2:27 am, Roman Neuhauser wrote: No, I've been using php-recommended.ini for the last several years. It has that error_reporting = E_ALL by default, and that's one of the reasons I've been using it. I don't think your PHP CLI is using the php.ini that you think it's

Re: [PHP] warning message to hide

2007-04-19 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2007-04-19 17:28:42 -0500: On Thu, April 19, 2007 2:27 am, Roman Neuhauser wrote: No, I've been using php-recommended.ini for the last several years. It has that error_reporting = E_ALL by default, and that's one of the reasons I've been using it. I don't think your

Re: [PHP] warning message to hide

2007-04-19 Thread Richard Lynch
On Thu, April 19, 2007 5:47 pm, Roman Neuhauser wrote: # [EMAIL PROTECTED] / 2007-04-19 17:28:42 -0500: On Thu, April 19, 2007 2:27 am, Roman Neuhauser wrote: No, I've been using php-recommended.ini for the last several years. It has that error_reporting = E_ALL by default, and that's one

Re: [PHP] warning message to hide

2007-04-19 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2007-04-19 17:57:25 -0500: On Thu, April 19, 2007 5:47 pm, Roman Neuhauser wrote: # [EMAIL PROTECTED] / 2007-04-19 17:28:42 -0500: On Thu, April 19, 2007 2:27 am, Roman Neuhauser wrote: No, I've been using php-recommended.ini for the last several years. It has

Re: [PHP] warning message to hide

2007-04-18 Thread Tijnema !
On 4/17/07, Richard Lynch [EMAIL PROTECTED] wrote: On Sat, April 14, 2007 12:12 pm, Tijnema ! wrote: try putting an @ sign before this line. something like this: @$conn = pg_connect($conn_string); According to the manual: http://www.php.net/manual/en/language.operators.errorcontrol.php the

Re: [PHP] warning message to hide

2007-04-18 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2007-04-18 07:55:05 +0100: On 4/17/07, Richard Lynch [EMAIL PROTECTED] wrote: On Sat, April 14, 2007 12:12 pm, Tijnema ! wrote: try putting an @ sign before this line. something like this: @$conn = pg_connect($conn_string); According to the manual:

Re: [PHP] warning message to hide

2007-04-18 Thread Tijnema !
On 4/18/07, Roman Neuhauser [EMAIL PROTECTED] wrote: # [EMAIL PROTECTED] / 2007-04-18 07:55:05 +0100: On 4/17/07, Richard Lynch [EMAIL PROTECTED] wrote: On Sat, April 14, 2007 12:12 pm, Tijnema ! wrote: try putting an @ sign before this line. something like this: @$conn =

  1   2   3   4   >