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

2012-02-01 Thread Darryle Steplight
I have version usr/lib64/mysql/libmysqlclient.so.18 instead of usr/lib64mysql//libmysqlclient.so.15 . I coped over the file into usr/lib64/libmysqlclient.so.18, because that file didn't exist in that path, I created the sym link but no luck. Few fixes are better than no fixes for sure. On Wed, Fe

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

2012-02-01 Thread Matijn Woudt
On Wed, Feb 1, 2012 at 6:56 PM, Darryle Steplight wrote: > Hello Everyone, >    My name is Darryle. I've installed PHP 5.3.9 on my CentOs box and > some numerous modules via yum. Some of those modules are  PDO, > PDO_MYSQL and PDO_SQLITE. However, my PHP configuration is not > recognizing my PDO_M

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 wrote: >> I'm getting the following warning when running PHP scripts from the command >> line: >> PHP Warning: Module 'mc

Re: [PHP] PHP Warning

2010-09-17 Thread Daniel Brown
On Fri, Sep 17, 2010 at 10:35, Floyd Resler 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 are: > error_reporting = E_COMP

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 em

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 firs

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

Re: [PHP] PHP Warning: imagettftext()

2008-07-25 Thread Lou Baccari
Sorry for the additional mail but I found the variable GDFONTPATH should be GD_FONTPATH, the example below works for me now. putenv('GD_FONTPATH=' . realpath('.')); Lou Baccari wrote: Hello, After reading Practical PHP Programing I came across a reference that said "On Unix machine

Re: [PHP] PHP Warning: imagettftext()

2008-07-25 Thread Lou Baccari
Hello, After reading Practical PHP Programing I came across a reference that said "On Unix machines, you may find PHP searches in /usr/share/fonts/truetype". Well I find that my php script executes successfully when I placing my arial.ttf file into /usr/share/fonts/truetype directory. So

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 troubleshootin

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

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: In your css: .row0 { background-color: #B3C6FF; /* blue */

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

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 wr

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 "$colorline"; > } else { > echo $colorline; > } > } > fclose($boardFileHand

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

2007-01-21 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2007-01-20 17:14:34 -0500: > To stop bots from accessing secured pages, I've added the following > code to a banner page that is called by every page. Furthermore, each > page starts with and includes the banner > page: > > 'top1.php' [banner page] > >if((eregi("((Y

Re: [PHP] PHP Warning: session_destroy

2007-01-20 Thread Jochem Maas
Andre Dubuc wrote: > Hi, > > To stop bots from accessing secured pages, I've added the following code to a > banner page that is called by every page. Furthermore, each page starts with > and includes the banner page: > > 'top1.php' [banner page] > >if((eregi("((Yahoo! Slurp|Yahoo! Sl

Re: [PHP] PHP Warning: session_destroy

2007-01-20 Thread Andre Dubuc
On Saturday 20 January 2007 05:33 pm, Paul Novitski wrote: > At 1/20/2007 02:14 PM, Andre Dubuc wrote: > >However, checking the live version, I get an secure-error_log entry: > > > >"PHP Warning: session_destroy() [ >href='function.session-destroy'>function.session-destroy]: Trying to > >destroy u

Re: [PHP] PHP Warning: session_destroy

2007-01-20 Thread Paul Novitski
At 1/20/2007 02:14 PM, Andre Dubuc wrote: However, checking the live version, I get an secure-error_log entry: "PHP Warning: session_destroy() [function.session-destroy]: Trying to destroy uninitialized session" Question is: didn't the session_start(); on the calling page take effect, or is th

Re: [PHP] PHP Warning: imagettftext() expects parameter 2 to be double

2005-12-08 Thread Jochem Maas
Jeffrey Sambells wrote: You've got 83px in you XML file for the fontsize. the 'px' is messing it up change it to just 83 in the XML file or cast the value to (float) which will extract the 83 and remove the px: well spotted Jeffery; James didn't I say to var_dump() the vars you create inside

Re: [PHP] PHP Warning: imagettftext() expects parameter 2 to be double

2005-12-07 Thread Jeffrey Sambells
You've got 83px in you XML file for the fontsize. the 'px' is messing it up change it to just 83 in the XML file or cast the value to (float) which will extract the 83 and remove the px: foreach ($xml->textblock as $text) { $fontsize=(float)$text->fontsize;

Re: [PHP] PHP Warning: imagettftext() expects parameter 2 to be double

2005-12-07 Thread James
Title: Re: [PHP] PHP Warning:  imagettftext() expects parameter 2 to be double Hi, Thank you for getting back to me, your the first. The array works fine – I have tested it using var_dump(). Attached are the two files – xml.test – this holds the array of the text blocks which is being parsed

Re: [PHP] PHP Warning: imagettftext() expects parameter 2 to be double

2005-12-07 Thread Jochem Maas
James wrote: Hi there, I have been using the GD functions from PHP5.0 on Mac OS X. I have a simple script that creates a PNG image with text on the image using fonts using FreeType 2. I am trying to use the imagettftext() function within a foreach loop ­ but I get the following error: PHP War

Re: [PHP] php Warning help!

2003-02-26 Thread Sebastian
apparently the path to an include is not correct.. Check you have the correct path for your include(); chmod 777 might not be the answer. warm regards, Sebastian - [BBR] Gaming Clan http://www.broadbandreports.com - Original Message - From: "Richard Baskett" <[EMAIL PROTECTED]> To: "PHP

RE: [PHP] PHP warning with 4.2

2002-08-09 Thread Ford, Mike [LSS]
> -Original Message- > From: PHP List [mailto:[EMAIL PROTECTED]] > Sent: 08 August 2002 19:14 > > Hi, after upgrading to 4.2, I seem to be getting this warning: > > PHP Warning: Call-time pass-by-reference has been deprecated > - argument passed by value; If you would like to pass it

Re: [PHP] PHP warning with 4.2

2002-08-08 Thread Nick Oostveen
You should be able to fix this by changing the function DECLARATION for the argument in question to take the variable by reference instead of by value (which is the default). So it should be something like: OCIFetchInto ( $var1, &$rvar2, $var3 ) What you are currently doing is specifying at