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

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

2012-02-01 Thread Darryle Steplight
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_MYSQL module.  I can verify that these modules exists by looking in 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

[PHP] PHP Warning

2010-09-17 Thread Floyd Resler
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_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR Thanks! Floyd

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

2008-11-19 Thread Rene Fournier
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 processes (command-line PHP scripts), will fail on file_get_contents()

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

[PHP] PHP Warning: imagettftext()

2008-07-21 Thread Lou Baccari
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 successfully. Now when I try to execute the same code on CentOS V5 with

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;

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

[PHP] PHP Warning: session_destroy

2007-01-20 Thread Andre Dubuc
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] http://localhost/logout.php";); } } ?> I'm testing on

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

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

2005-12-05 Thread James
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 Warning: imagettf

[PHP] PHP Warning. Anyone knows what it means?

2004-02-26 Thread vjove
Hi, the error_log file shows the following message: PHP Warning: Unknown(): Actual POST length does not match Content-Length, and exceeds 20 bytes in Unknown on line 0 and I have a php application not working properly and it looks like it may be caused by something related to this error. Th

[PHP] PHP Warning: InterBase: Error while trying to open file File too large

2003-07-23 Thread Honza Hubeny
Hello, I have this configuration: kernel 2.3.20, apache 1.3.27, with php 4.2.3 as apxs module with firebirdCS-1.0.3-64IO I have problems with firebird database files which are > 2GB. Till today everithing works good but, now one database file is > then 2 GB and I have this error message in my lo

Re: [PHP] php Warning help!

2003-02-26 Thread Sebastian
ED]> To: "PHP General" <[EMAIL PROTECTED]> Sent: Wednesday, February 26, 2003 5:13 PM Subject: [PHP] php Warning help! | Warning: Unknown(path/index.php): failed to create stream: Permission denied | in Unknown on line 0 | | Warning: Unknown(): Failed opening '/path/ind

[PHP] php Warning help!

2003-02-26 Thread Richard Baskett
Warning: Unknown(path/index.php): failed to create stream: Permission denied in Unknown on line 0 Warning: Unknown(): Failed opening '/path/index.php' for inclusion (include_path='.:/path/phpinc/') in Unknown on line 0 What in the world is going on here? I've set all my files to 777 just to test

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

[PHP] PHP Warning: ['xxxx']: Unable to initialize module

2002-05-30 Thread Steve G
Hello, I'm running Linux 7.2 and apache. Also PostgreSQL. After upgrading from 4.0.4 I receive all of these errors and I have no idea what API=xxx means. I followed the instructions for upgrading to 4.2.1 and everything apparently went well, but still have module errors. Also, phpinfo() still

[PHP] PHP Warning: Unable to load dynamic library

2001-10-04 Thread Edson Toshiya
Hi, I'm trying to load ming as a module of PHP, but I get an error when loading apache: PHP Warning: Unable to load dynamic library './php_ming.so' - ./php_ming.so: cannot open shared object file: No such file or directory in Unknown on line 0 Can someone help me ? Thanks, ET -- PHP Gene