Re: [PHP] Error compiling php 5.1.2

2006-02-25 Thread Paul Reinheimer
Thanks, I've subscribed to and posted to the instalation list. I'm going to try and stay off internals@ if I have a choice. thanks paul -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Error compiling php 5.1.2

2006-02-25 Thread Richard Lynch
On Sat, February 25, 2006 4:08 pm, Paul Reinheimer wrote: './configure' '--with-mysql=/usr/local/mysql' '--with-apxs=/etc/httpd/bin/apxs' '--with-gd' '--with-png' '--with-zlib-dir=/root/zlib-1.2.2' '--enable-gd-native-ttf' '--with-ttf' '--with-jpeg-dir=/usr/local/lib/jpeg-6b/'

Re: [PHP] Error compiling php 5.1.2

2006-02-25 Thread Paul Reinheimer
I posted the full output of make earlier in this thread, as well as the configure command i'm using, what are you looking for? The ./configure output lines that reference libxml say nothing out of the ordinary. paul On 2/25/06, Richard Lynch [EMAIL PROTECTED] wrote: On Sat, February 25,

Re: [PHP] error: Process limit exceeded for uid 10337 [25 = 24]

2005-12-28 Thread Curt Zirzow
On Wed, Dec 28, 2005 at 08:33:58AM -0500, Cesar Cruz wrote: This error happens in my Web http://www.millonarios.com.co/ Process limit exceeded for uid 10337 [25 = 24] as it can be the cause? This sounds like some sort of OS error, probably due to your uid not being able to go over a

[PHP] Re: php error message

2005-11-17 Thread Ben
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

[PHP] Re: php error message

2005-11-17 Thread Chuck Anderson
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

Re: [PHP] Re: php error message

2005-11-17 Thread Jasper Bryant-Greene
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

Re: [PHP] Error Messages, Windows, and Tequila

2005-11-16 Thread David Grant
Printing error messages to your output can be disabled with the display_errors directive in your php.ini file. To enable error printing, the directive should read: display_errors = On Cheers, Dave Jay Blanchard wrote: Hidy-ho good meighbors and neighborettes! I continue my, as yet

Re: [PHP] Error Messages, Windows, and Tequila

2005-11-16 Thread Richard Davey
Hi Jay, Wednesday, November 16, 2005, 4:36:25 PM, you wrote: Does anyone know (I have error reporting set so high it would make your head swim) why errors wouldn't be output to a browser window when they occur? For instance, I typed the following; Are you 100% Tequila-worm sure you've got

RE: [PHP] Error Messages, Windows, and Tequila

2005-11-16 Thread Jay Blanchard
[snip] Printing error messages to your output can be disabled with the display_errors directive in your php.ini file. To enable error printing, the directive should read: display_errors = On [/snip] You are correct sir, it is set to off by default. I will hike over to the data center and flick

Re: [PHP] Error Messages, Windows, and Tequila

2005-11-16 Thread Dan McCullough
Also check to make sure that its the right php.ini file, I have had a problem in the past when the installer has put the php.ini file in the WINDOWS directory and there is an existing one in the PHP directory as well. I would check phpinfo and see where the php.ini file is located. On 11/16/05,

Re: [PHP] Error Command failed for target 'ext/xml/xml.lo' during make process (Solaris 8)

2005-11-16 Thread Curt Zirzow
On Tue, Nov 15, 2005 at 09:20:54PM +0100, Age Bosma wrote: Hi, I'm trying to compile php 4.4.1 on Solaris 8 but I'm getting the error Command failed for target 'ext/xml/xml.lo' during the make process. [snip] /nfs/dm11-fs22/work/training/dj365/php-4.4.1/ext/xml/xml.c:1582: `XML_Char'

Re: [PHP] Error in reading and writing bytes

2005-11-09 Thread Curt Zirzow
On Wed, Nov 09, 2005 at 08:23:04PM -0800, kumar kumar wrote: Hi i am new to PHP .I am facing some problems . Here is the code below Here the applet will send the files thru http . files from 30 bytes to 2 GB. ?php $getdata = fopen(php://input, r); ... while (strlen($data

Re: [PHP] error reporting php-5.0.4-10.4 on FC4

2005-10-24 Thread Jochem Maas
Bob Hartung wrote: Jasper If if make a file containing only ?php phpinfo() ; ? I get what I expected. take a good look at where php is reading its ini file from - it may not be where you expect If I make a file containing ?php phpinfo() ; // Now a simple class and a call to

Re: [PHP] error reporting php-5.0.4-10.4 on FC4

2005-10-23 Thread Jasper Bryant-Greene
On Sun, 2005-10-23 at 17:31 -0400, Bob Hartung wrote: Hi all, Slowly I'm progressing. Now how to turn error reporting on for a test apache server. I have made the following changes to /etc/php.ini: error_reporting = E_ALL display_errors = On error_log =

Re: [PHP] error reporting php-5.0.4-10.4 on FC4

2005-10-23 Thread Bob Hartung
Jasper If if make a file containing only ?php phpinfo() ; ? I get what I expected. If I make a file containing ?php phpinfo() ; // Now a simple class and a call to the class class Simple() { void __construct() { echo In the constructor ;

Re: [PHP] error reporting php-5.0.4-10.4 on FC4

2005-10-23 Thread Jasper Bryant-Greene
On Sun, 2005-10-23 at 21:31 -0400, Bob Hartung wrote: Jasper If if make a file containing only ?php phpinfo() ; ? I get what I expected. If I make a file containing ?php phpinfo() ; // Now a simple class and a call to the class class Simple() Your error

Re: [PHP] error reporting php-5.0.4-10.4 on FC4

2005-10-23 Thread Derek Williams
Bob Hartung wrote: Jasper If if make a file containing only ?php phpinfo() ; ? I get what I expected. If I make a file containing ?php phpinfo() ; // Now a simple class and a call to the class class Simple() { void __construct() { echo In the

Re: [PHP] error reporting php-5.0.4-10.4 on FC4

2005-10-23 Thread Bob Hartung
Jasper Derek phpinfo() says: configuration file path /etc/php.ini PHP Core DirectiveLocal Value Master Value display_errorsOff Off error_logno value no value log errorson

Re: [PHP] error reporting php-5.0.4-10.4 on FC4

2005-10-23 Thread Jasper Bryant-Greene
On Sun, 2005-10-23 at 23:01 -0400, Bob Hartung wrote: Jasper Derek phpinfo() says: configuration file path /etc/php.ini PHP Core DirectiveLocal Value Master Value display_errorsOff Off error_logno

Re: [PHP] error reporting php-5.0.4-10.4 on FC4 - RESOLVED!!

2005-10-23 Thread Bob Hartung
It wasn't what I was looking for but I enable it: include_path = .:/php/includes This was commented out. After uncommenting it all works as I expected except that my syntax in the class was wrong. Now I can at least start to learn. Thanks Jasper and Derek - you gave me a shove in the

Re: [PHP] Error with DOMDocument-saveXML()

2005-09-29 Thread Andy Pieters
Hi bFatal error/b: Method Document::__toString() must return a string value in b/srv/www/localhost/htdocs/db/index.php/b on line b140/bbr / That's just what it says, check your program flow. You overrided the tostring function and somewhere in that new function you jump out of it because

Re: [PHP] Error with DOMDocument-saveXML()

2005-09-29 Thread Stephen Leaf
On Thursday 29 September 2005 04:20 am, Andy Pieters wrote: Hi bFatal error/b: Method Document::__toString() must return a string value in b/srv/www/localhost/htdocs/db/index.php/b on line b140/bbr / That's just what it says, check your program flow. You overrided the tostring

Re: [PHP] Error with DOMDocument-saveXML()

2005-09-29 Thread Scott Fletcher
It is just that not many work with XML often enough to know well enough how to use it. I noticed many folks have different way of using XML that doesn't best fit our need. I have this same problem as well. So, you're not the only one here as I have this same problem as well. Stephen Leaf

Re: [PHP] Error with DOMDocument-saveXML()

2005-09-29 Thread Stephen Leaf
On Thursday 29 September 2005 09:37 am, Scott Fletcher wrote: It is just that not many work with XML often enough to know well enough how to use it. I noticed many folks have different way of using XML that doesn't best fit our need. It is a newer idea of how to do things. I have this same

Re: [PHP] Error with DOMDocument-saveXML()

2005-09-29 Thread Stephen Leaf
On Thursday 29 September 2005 12:26 pm, Stephen Leaf wrote: I have figured it out! My guess couldn't have been more _wrong_. Here is all you need to recreate the Error. There is only 1 value that is off. in the DOMDocument I gave it the wrong encoding type. uft-8 .. it should read utf-8.

Re: [PHP] error when open files

2005-09-28 Thread Emil Novak
If this isn't local webserver, you maybe have a problem with allow_url_fopen: http://www.php.net/manual/en/ref.filesystem.php#ini.allow-url-fopen Or if this is on your local server, you can try this: $fp = fopen(/A.zip, r); Your sincerely Emil NOVAK, Slovenia, EU

RE: [PHP] error message while mysqling on php

2005-09-14 Thread Michal Krezolek
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

RE: [PHP] error message while mysqling on php

2005-09-13 Thread Jay Blanchard
[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

RE: [PHP] error message while mysqling on php

2005-09-13 Thread Murray @ PlanetThoughtful
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

RE: [PHP] error message while mysqling on php

2005-09-13 Thread Alan Fullmer
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

Re: [PHP] Error #1136

2005-08-25 Thread Richard Lynch
On Wed, August 24, 2005 11:42 am, George B wrote: Column count doesn't match value count at row 1 What does that mean? I have an id auto_increment and it breaks everytime because of that error. This has never happend before... If you REALLY don't want to specify all the column names (as

Re: [PHP] Error #1136

2005-08-25 Thread Jochem Maas
Jay Blanchard wrote: [snip] Column count doesn't match value count at row 1 What does that mean? I have an id auto_increment and it breaks everytime because of that error. This has never happend before... [/snip] This is a MySQL problem and should be asked on a MySQL list, but having said

RE: [PHP] Error #1136

2005-08-24 Thread Jay Blanchard
[snip] Column count doesn't match value count at row 1 What does that mean? I have an id auto_increment and it breaks everytime because of that error. This has never happend before... [/snip] This is a MySQL problem and should be asked on a MySQL list, but having said that... You have

Re: [PHP] Error #1136

2005-08-24 Thread Stephen Johnson
Can you include the SQL statement that is creating the error? The error basically means you are trying to put more data into the dB then you have data cells for. For instance : Good sql statement: $sql = insert into table (name, address, city, state, zip) VALUES ('$name', '$address', '$city',

RE: [PHP] Error #1136

2005-08-24 Thread Jim Moseby
Can you include the SQL statement that is creating the error? The error basically means you are trying to put more data into the dB then you have data cells for. For instance : Good sql statement: $sql = insert into table (name, address, city, state, zip) VALUES ('$name',

Re: [PHP] Error checking on file upload

2005-08-19 Thread Steve Slotnick
In your php.ini there are settings for upload_max_filesize and also post_max_size. These would be causes for case 2. More information: http://us3.php.net/features.file-upload On 8/19/05, Peppy [EMAIL PROTECTED] wrote: I've been working on a script for uploading a file to a Unix server. I'm

Re: [PHP] Error checking on file upload

2005-08-19 Thread Steve Slotnick
Sorry, I meant case 1. - Steve On 8/19/05, Steve Slotnick [EMAIL PROTECTED] wrote: In your php.ini there are settings for upload_max_filesize and also post_max_size. These would be causes for case 2. More information: http://us3.php.net/features.file-upload On 8/19/05, Peppy [EMAIL

Re: [PHP] Error checking on file upload

2005-08-19 Thread Peppy
Steve, Thanks a bunch. Must have been dead brain today. I knew that as well as could look it up using phpinfo(). Althea In your php.ini there are settings for upload_max_filesize and also post_max_size. These would be causes for case 2. More information: http://us3.php.net/features.file-upload

Re: [PHP] Error Suppression with '@'

2005-08-02 Thread Torgny Bjers
Hello Justin, I would guess that this is mostly performance and memory related. When, for instance, trying to iterate an array, or a directory with files, using @ on all function calls, it will attempt to go through the array, attempting to allocate memory for each item, but when finding it

Re: [PHP] Error Suppression with '@'

2005-08-02 Thread Rory Browne
On 8/2/05, Justin Burger [EMAIL PROTECTED] wrote: Good Morning, I was having a discussion with a fellow PHP Developer this morning and he mentioned that he put's an '@' sign in front of all function calls, and every time he accesses an array; Any chance of revealing his identity - so that I

Re: [PHP] Error Suppression with '@'

2005-08-02 Thread Matt Darby
Justin Burger wrote: Good Morning, I was having a discussion with a fellow PHP Developer this morning and he mentioned that he put's an '@' sign in front of all function calls, and every time he accesses an array; I know that this is sloppy, and dangerous, but I don't know exactly what this

Re: [PHP] Error Suppression with '@'

2005-08-02 Thread John Nichel
Justin Burger wrote: Good Morning, I was having a discussion with a fellow PHP Developer this morning and he mentioned that he put's an '@' sign in front of all function calls, and every time he accesses an array; I know that this is sloppy, and dangerous, but I don't know exactly what this

Re: [PHP] Error Suppression with '@'

2005-08-02 Thread John Nichel
Justin Burger wrote: Does suppressing the error only suppress it from the screen, or does it ignore the error? ie: is the error still logged? Please reply to the list. I don't know if it still logs the error (assuming you have error logging turned on). -- John C. Nichel ÜberGeek

Re: [PHP] Error Suppression with '@'

2005-08-02 Thread Justin Burger
Does suppressing the error only suppress it from the screen, or does it ignore the error? ie: is the error still logged? On Aug 2, 2005, at 12:18 PM, John Nichel wrote: Justin Burger wrote: Good Morning, I was having a discussion with a fellow PHP Developer this morning and he

Re: [PHP] Error Suppression with '@'

2005-08-02 Thread Kristen G. Thorson
Example: I was working on a HORRIBLE piece of code for a cart app. The original programmer had a line like this: $result = mysql_query( SELECT * FROM user_logins WHERE cookie='.$cookie.' ); Where $cookie is a session id stored in a cookie (what else? ;). The problem was, he had some

Re: [PHP] Error Suppression with '@'

2005-08-02 Thread Jochem Maas
Justin Burger wrote: Good Morning, I was having a discussion with a fellow PHP Developer this morning and he mentioned that he put's an '@' sign in front of all function calls, and every time he accesses an array; I know that this is sloppy, and dangerous, but I don't know exactly what this

Re: [PHP] error checking woes

2005-08-01 Thread Kristen G. Thorson
Jack, Read below: Jack Jackson wrote: Hi, Now that the drop down is working properly (thanks!!), I am trying to validate, and having LOTS of trouble. After being ceaselessly derided last night on an irc channel for my dimwitedness, I am still not any closer. The code which works is

Re: [PHP] error checking woes

2005-08-01 Thread Jack Jackson
Kristen G. Thorson wrote: Thanks for the == ! But I had set $message global within the buld-checkbox function, so that part of it does work. . . . Jack, Read below: Jack Jackson wrote: Hi, Now that the drop down is working properly (thanks!!), I am trying to validate, and

Re: [PHP] error checking woes- SOLVED

2005-07-31 Thread Jack Jackson
I did the smart thing last night: nothing. I read some PHP books and then realized that the answer to my error checking was a lot less complex, once again, than I had initially suspected. I finally ended up with: //error checking foreach($_POST as $qname=$value) { if(empty($value)){

Re: [PHP] error checking woes

2005-07-30 Thread Jack Jackson
Okay, last attempt before I hit my head against wall. I thought perhaps to add the error check to the dropdown function itself: function GetQuestionsDropdown($cat){ //first get all the questions $sql = SELECT * FROM questions WHERE questions.q_cat=$cat AND questions.q_style=1; $result =

[PHP] Re: PHP error on form

2005-07-28 Thread Sonia
Hi First some of your $_POST array variables are written like $POST['var'], you need to change them to $_POST['var']. Then because you are not using the dot operator in your string variables and you are using a associative array you must enclose the array variable in {$arr['var']} tags! //

[PHP] Re: PHP error on form

2005-07-28 Thread Bruce Gilbert
I made the suggestions mentioned by Mike and don't get any error, but the form doesn't work properly. Check it out at http://www.inspired-evolution.com/Contact_Form_test.php the PHP form CODE I now have is: ? $form_block = FORM METHOD=\POST\ ACTION=\$PHP_SELF\ pstrongYour Name:/strong/p INPUT

RE: [PHP] Re: PHP error on form

2005-07-28 Thread Jay Blanchard
[snip] I made the suggestions mentioned by Mike and don't get any error, but the form doesn't work properly. Check it out at http://www.inspired-evolution.com/Contact_Form_test.php [/snip] You never sent the first 60 lines of code or so, and your origianl post doesn't have 58 lines in it. Please

RE: [PHP] error when trying to delete a record

2005-07-11 Thread Jay Blanchard
[snip] $query= DELETE FROM sheet1 WHERE id=$id; You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 [/snip] try... $query= DELETE FROM sheet1 WHERE id = '.$id.' ; Note the single quotes around

Re: [PHP] error when trying to delete a record

2005-07-11 Thread John Nichel
Ross wrote: I dunno if my text book is out of date or I have made a syntax error but I am trying to delete a record with $query= DELETE FROM sheet1 WHERE id=$id; $result= mysql_query($query); if($result){ echo it was deleted; } else echo mysql_error(); } and I get the followign

Re: [PHP] error when trying to delete a record

2005-07-11 Thread Mark Rees
Jay Blanchard [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] [snip] $query= DELETE FROM sheet1 WHERE id=$id; You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 [/snip] try... $query=

Re: [PHP] error when trying to delete a record

2005-07-11 Thread Paul Waring
On Mon, Jul 11, 2005 at 03:25:33PM +0100, Mark Rees wrote: with no single quotes round it. Putting quotes round integer values is counter-intuitive - is it necessary in some cases? If the field is a numeric type (e.g. INT) as opposed to numeric data being stored in a character field (e.g. a

RE: [PHP] error when trying to delete a record

2005-07-11 Thread Mike Johnson
From: Paul Waring [mailto:[EMAIL PROTECTED] On Mon, Jul 11, 2005 at 03:25:33PM +0100, Mark Rees wrote: with no single quotes round it. Putting quotes round integer values is counter-intuitive - is it necessary in some cases? If the field is a numeric type (e.g. INT) as opposed to

RE: [PHP] error when trying to delete a record

2005-07-11 Thread Jay Blanchard
[snip] Is the above statement true when the id field is numeric (which it surely is in this case)? I get the expected results (in mySQL) when using statements like SELECT name FROM table WHERE id=1 with no single quotes round it. Putting quotes round integer values is counter-intuitive - is it

Re: [PHP] Error checking

2005-05-23 Thread Philip Hallstrom
I'm using Apache and PHP4 under debian. in /etc/php4/apache, I have the setting error_reporting = E_ALL ~E_NOTICE but I don't get any errors - even when I've clearly used an undefined variable. What else might need to be set to get PHP to report errors for me? take a read through

Re: [PHP] Error checking

2005-05-23 Thread John Nichel
Michael Satterwhite wrote: I'm using Apache and PHP4 under debian. in /etc/php4/apache, I have the setting error_reporting = E_ALL ~E_NOTICE but I don't get any errors - even when I've clearly used an undefined variable. What else might need to be set to get PHP to report errors for

Re: [PHP] Error checking

2005-05-23 Thread Michael Satterwhite
John Nichel wrote: Michael Satterwhite wrote: I'm using Apache and PHP4 under debian. in /etc/php4/apache, I have the setting error_reporting = E_ALL ~E_NOTICE but I don't get any errors - even when I've clearly used an undefined variable. What else might need to be set to get PHP to

Re: [PHP] Error checking

2005-05-23 Thread Christophe Chisogne
Michael Satterwhite a écrit : in /etc/php4/apache, I have the setting I guess you mean /etc/php4/apache/php.ini error_reporting = E_ALL ~E_NOTICE You'll get all errors but warnings (ex unused var). What you want is error_reporting = E_ALL Ch. -- PHP General Mailing List

Re: [PHP] Error checking

2005-05-23 Thread Michael Satterwhite
Philip Hallstrom wrote: I'm using Apache and PHP4 under debian. in /etc/php4/apache, I have the setting error_reporting = E_ALL ~E_NOTICE but I don't get any errors - even when I've clearly used an undefined variable. What else might need to be set to get PHP to report errors for me?

Re: [PHP] Error checking - Fixed

2005-05-23 Thread Michael Satterwhite
But I have no idea how. I made a series of changes trying to figure out what I missed. Most of the changes didn't look like they'd do anything - but the error reporting started working. I then tried changing things back - at least I thought I did. The error checking continued to work. I

Re: [PHP] Error checking

2005-05-23 Thread Janet Valade
Michael Satterwhite wrote: Philip Hallstrom wrote: I'm using Apache and PHP4 under debian. in /etc/php4/apache, I have the setting error_reporting = E_ALL ~E_NOTICE but I don't get any errors - even when I've clearly used an undefined variable. What else might need to be set to get

Re: [PHP] error display problem

2005-05-13 Thread Richard Lynch
On Fri, May 13, 2005 6:49 pm, hima said: can any one plesae help me as I am a learner. I am working on a Mac OS x machine and I want to see the errors displayed to the browser. I had changed display_errors option On in the php.ini file but still cannot see them displayed. Did you re-start

Re: [PHP] error display problem

2005-05-13 Thread Jason Wong
On Saturday 14 May 2005 09:49, hima wrote: can any one plesae help me as I am a learner. I am working on a Mac OS x machine and I want to see the errors displayed to the browser. I had changed display_errors option On in the php.ini file but still cannot see them displayed. Did you restart

Re: [PHP] Error suppression operator (@)

2005-05-04 Thread Greg Donald
On 5/3/05, GamblerZG [EMAIL PROTECTED] wrote: I would like to know, whether using @ is a good practice. I try not to use it much, but when I do I back it up with checking to see if an error really occured. I use it for file handles, database handles, stuff that I really expect to break

Re: [PHP] Error suppression operator (@)

2005-05-04 Thread Jochem Maas
Greg Donald wrote: On 5/3/05, GamblerZG [EMAIL PROTECTED] wrote: I would like to know, whether using @ is a good practice. I try not to use it much, but when I do I back it up with checking to see if an error really occured. I use it for file handles, database handles, stuff that I really expect

Re: [PHP] Error suppression operator (@)

2005-05-04 Thread Colin Ross
Pretty much the only time i use it is form processing... so i don't get a bunch of errors when someone doesn't fill out a (non-required) field.. Also i use it to prefill form data is i have a session running, ie. input name=fname type=text value?php echo @$_SESSION['APP']['fname']; ? / like

Re: [PHP] Error en PHP

2005-04-26 Thread Jason Barnett
Pedro Luis Cruz Riguetti wrote: como puedo salir de sta lista q esta llenando mi correo. http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Error en PHP

2005-04-25 Thread Pedro Luis Cruz Riguetti
como puedo salir de sta lista q esta llenando mi correo. -- --- Banco de Crédito BCP - Dedicados a hacerte la Banca más simple. Visita nuestra Banca por Internet http://www.viabcp.com

Re: [PHP] Error en PHP

2005-04-25 Thread Richard Lynch
On Tue, April 19, 2005 4:54 pm, Patricio Reyes said: Tengo instalado WIN98SE PWS PHP 4.3.11 y cuando ejecuto el archivo *.php me sale el siguiente error: No habla Espanol. PHP Warning: Unknown(): Invalid library (maybe not a PHP library) 'msql.dll' PHP 4.1 - msql.dll != PHP 4.0 -

Re: [PHP] Error Handler

2005-04-22 Thread Richard Lynch
On Fri, April 22, 2005 3:10 pm, Pinoy Ako said: I use the example given at http://ph.php.net/manual/en/ref.errorfunc.php However, when I tried to call an undefined function, I get the normal Fatal Error message instead of the custom message I entered in the error handler function. As the

Re: [PHP] error handling

2005-04-13 Thread Petar Nedyalkov
On Wednesday 13 April 2005 08:46, Cima wrote: hi, im working with php 4 and postgresql 8 and i would like to know how to handle certain errors generated. in postgresql, i've written a stored function that selects a record from a table and in case no record is found i 'raise an exception'.

RE: [PHP] error handling

2005-04-13 Thread Stephen March
Personally, I create a custom error handler for all my apps (currently 4.3.* compliant). While I normally use Smarty and have separate error templates, here is a quick example. function errorHandler($errno, $errstr, $errfile, $errline ) { print Error #: $errno br/Error Message:

Re: [PHP] Error Generated but no error?

2005-03-30 Thread Burhan Khalid
Geoff Martin wrote: I have a page that receives data from a form. Using $_POST['foo'], I am able to use this data in the page but I continually receive an error notice (PHP Notice: Undefined index: foo in /Library/WebServer/Documents/.. etc). This happens to all three indices that are

Re: [PHP] error from 4.3.10: The specified procedure could not be found.

2005-03-06 Thread Tom Rogers
Hi, Monday, March 7, 2005, 4:55:01 AM, you wrote: JM Forgive me if this has been answered before, but all I was able to find JM was a bogus bug report on this issue that did not contain any useful JM information. When installing php 4.3.10 on a Win2k3 machine I'm getting JM the The specified

[PHP] Re: php error

2005-02-16 Thread Matthew Weier O'Phinney
* Stefan [EMAIL PROTECTED]: I've a strange problem When I try to send a form with method=POST to a php-file I always get an HTTP 404 error. I really don't know why, because the file exists on the server. What are you setting the action attribute to? Should be the path to your script. If the

Re: [PHP] error log

2005-01-28 Thread Jochem Maas
Richard Lynch wrote: Benson wrote: could anyone please help me on how to display all the errors to the browser, but not to file? I have tried modifying php.ini and httpd.conf (apache), but I am not sure how to modify... You would be MUCH MUCH MUCH better off to train yourself to use 'tail -f

Re: [PHP] error log

2005-01-27 Thread Richard Lynch
Benson wrote: could anyone please help me on how to display all the errors to the browser, but not to file? I have tried modifying php.ini and httpd.conf (apache), but I am not sure how to modify... You would be MUCH MUCH MUCH better off to train yourself to use 'tail -f

Re: [PHP] Error loading extension dlls in WindosXP for PHP4.3.10

2005-01-12 Thread James Lobley
Well Richard, I could able to solve it by copying all dlls into Windows\System32 directory. But still not sure why I need to copy all dlls into system32 directory though I have mentioned in php.ini file that extension_directory=c:\PHP4\extensions. regards, Ranjan Hi Ranjan, You might

Re: [PHP] Error loading extension dlls in WindosXP for PHP4.3.10

2005-01-12 Thread Richard Lynch
Well Richard, I could able to solve it by copying all dlls into Windows\System32 directory. But still not sure why I need to copy all dlls into system32 directory though I have mentioned in php.ini file that extension_directory=c:\PHP4\extensions. What does ?php phpinfo();? say about your

Re: [PHP] Error loading extension dlls in WindosXP for PHP4.3.10

2005-01-11 Thread Richard Lynch
Ranjan K. Baisak wrote: I am using PHP4.3.10 in WindowsXP. When I am trying to use extension dlls e.g. php_xmlrpc.dll and when trying to restart Apache2 Web Server, I am getting error message as UnKnows():Unable to load dynamic library './php_xmlrpc.dll.dll' - The specified module could not

Re: [PHP] Error loading extension dlls in WindosXP for PHP4.3.10

2005-01-11 Thread Ranjan K. Baisak
--- Richard Lynch [EMAIL PROTECTED] wrote: Some questions for you: Does it REALLY have an extra .dll on the end in the message? Perhaps somebody goofed up somewhere, but rip of the '.dll' in your php.ini and see what happens... Did the php_xmlrpc.dll you have COME WITH the EXACT

Re: [PHP] Error in foreach?

2005-01-10 Thread tg-php
Sounds like $_GET isn't populated or has been over-written. Try doing the classic print_r on $_GET to see what it contains before you do the foreach. If you are using a form (rather than an a_href link) to pass the GET data and you're using all checkboxes or something else that returns nothing

RE: [PHP] Error in foreach?

2005-01-10 Thread Jay Blanchard
[snip] I have encountered a very strange error on one of our customers sites. Their script returns the following error: Warning:Invalid argument supplied for foreach This is in response to the following line: foreach ($_GET as $key = $value) All I am trying to do is parse the querystring! Any

Re: [PHP] Error in foreach?

2005-01-10 Thread Matt M.
This is in response to the following line: foreach ($_GET as $key = $value) is $_GET an array? when in doubt, print it out try: print_r($_GET) or even check is_array($_GET) might be an earlier version of php http://us2.php.net/manual/en/reserved.variables.php#reserved.variables.get --

Re: [PHP] Error with system() when running convert

2004-12-21 Thread Richard Lynch
with anything else. Has anyone run across error 127 from system, or have any idea what's going on? For future reference, find a convenient way to look up 127 error code number in your OS. man errno is sort of okay in most Un*xes, except then you have to count 127 lines down to get the right

Re: [PHP] Error with system() when running convert

2004-12-21 Thread Jonathan Schwarz
There's a cool utility at: http://freespace.sourceforge.net/errno/index.html Of course, errno 127 is 'unknown error', so it wouldn't have been a huge help. On Tue, 21 Dec 2004 11:00:05 -0800 (PST), Richard Lynch [EMAIL PROTECTED] wrote: with anything else. Has anyone run across error 127

Re: [PHP] Error when I try to display 20 records per page

2004-11-15 Thread James Kaufman
On Mon, Nov 15, 2004 at 06:56:45PM -0600, Scott McWhite wrote: Hi, I'm using an HTML search form that passes the searchterm to a php file. In my case the searchterm can have 1000s of records in my database, so I implemented a limit which displays 20 records per page. The pagination

Re: [PHP] Error logging problem

2004-11-10 Thread Greg Donald
On Wed, 10 Nov 2004 10:49:29 -0500, Al [EMAIL PROTECTED] wrote: ini_set(error_log, /AutoSch/error.log); Looks like this might be a path relative to your domain or your vhost definition? I'd go with a full system path if that's the case. -- Greg Donald Zend Certified Engineer

Re: [PHP] Error logging problem

2004-11-10 Thread Al
Greg Donald wrote: On Wed, 10 Nov 2004 10:49:29 -0500, Al [EMAIL PROTECTED] wrote: ini_set(error_log, /AutoSch/error.log); Looks like this might be a path relative to your domain or your vhost definition? I'd go with a full system path if that's the case. Hey Greg, that did it. It's obvious

RE: [PHP] Error logging problem

2004-11-10 Thread Zareef Ahmed
-Original Message- From: Al [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 10, 2004 9:19 PM To: [EMAIL PROTECTED] Subject: [PHP] Error logging problem My site is on a virtual host and I'd like to log errors to a file while I'm debugging. Can't get it to work. Here is the code

Re: [PHP] Error Code Airhead

2004-11-02 Thread Greg Donald
On Tue, 02 Nov 2004 12:17:45 -0600, Jeff Oien [EMAIL PROTECTED] wrote: if ($Promotion_Sub == 'Checked' ($code != 'D04E' || $code != 'Y04KG')) { ($code != 'D04E' || $code != 'Y04KG') Since $code cannot equal two different values at once, this will always evaluate to true. Maybe you meant

RE: [PHP] Error Code Airhead

2004-11-02 Thread Pablo Gosse
[snip] I'm sure I'm missing something really obvious here but can't see it. There is a form where one of two promotional codes can be entered. I check for the these codes and give the user an error message if they enter the wrong code. First one doesn't work, second one does with only one

Re: [PHP] Error Code Airhead

2004-11-02 Thread Jennifer Goodie
-- Original message -- From: Jeff Oien [EMAIL PROTECTED] //always gives error message even if one of the two codes entered: if ($Promotion_Sub == 'Checked' ($code != 'D04E' || $code != 'Y04KG')) { If $code is D04K then it is not Y04KG making the statement true

Re: [PHP] Error with php

2004-09-28 Thread Jason Davidson
Can you show me an example.. wild guess without knowing what your doing, but, ? is the escape code to exit php.. so its possible thats what is happening.. but please post some code that cuases this problem. Jason Timothy Johnson [EMAIL PROTECTED] wrote: This is my first time using php on a

<    1   2   3   4   5   6   7   >