Re: [PHP] Error in variable when looping

2003-01-13 Thread Rick Emery
so where is $rowe set? Show us code that calls this page - Original Message - From: menezesd [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, January 13, 2003 6:21 PM Subject: [PHP] Error in variable when looping Hello friends, I have made the following table of data and a button

[PHP] Error handling with multiple file uploads and sql

2003-01-06 Thread Jim
Hi, I have the following scenario: A user can login to my website (so I know their ID) and create a new 'item record' through a form. This item may have up to 10 images uploaded with it (pictures of the item). The structure of my DB is a main 'Items' table holding textual

Re: [PHP] Error handling with multiple file uploads and sql

2003-01-06 Thread Justin French
Why not split it into 2 forms? insert, then attach pictures to the record. Otherwise, decide what's the key issue (imho the a record can exist without pics, but not vice-versa), and focus on that first. Justin on 06/01/03 10:15 PM, Jim ([EMAIL PROTECTED]) wrote: Hi, I have the following

Re: [PHP] Error handling with multiple file uploads and sql

2003-01-06 Thread Jim
Why not split it into 2 forms? insert, then attach pictures to the record. Its just not user-friendly enough, I have thought about it though. I think I'd rather risk the script hitting an error than compromise the user-friendliness.after all, the chance of a file not saving is miniscule as

[PHP] error

2003-01-03 Thread Ysrael Guzmán
wFONT size=5FONT size=3FONT face=Courier NewhSPAN class=887075722-03012003at this error???/SPAN/FONT/FONT/FONT FONT face=Courier NewSPAN class=887075722-03012003/SPAN/FONTFONT color=#ffPHP has encountered an Access Violation at 012B7DE7/FONT/FONT Ysrael Guzmán Meza -- PHP General

[PHP] error on include_path=(''c:\php4\pear)

2003-01-01 Thread anand
hi friends i find some problem in installing this script it gives me same error in both IIS and apache server it is like below Fatal error: Failed opening required '/home/phpshop/etc/phpshop.cfg' (include_path=''c:\php4\pear) in c:\nusphere\apache\nsdocs\phpshop\bin\index.php on line 19 and in

[PHP] error when conecting to mysql

2003-01-01 Thread Paul Roberts
Hi my server started reporting an error when connecting to mysql Warning: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /path/to/web//login.php on line 35 it's happened a few times now and I'm wondering if it's me or a problem on the server (shared,

Re: [PHP] error when conecting to mysql

2003-01-01 Thread Michael J. Pawlowsky
Sound like your ISP is at fault. MySql is not acceptind any more connection perhaps. Mike *** REPLY SEPARATOR *** On 01/01/2003 at 4:28 PM Paul Roberts wrote: Hi my server started reporting an error when connecting to mysql Warning: Can't connect to local MySQL server

[PHP] PHP Error

2002-12-31 Thread Dale
I was able to successfully install the php on my win2k server. I am, however, getting an error any time I try to initialize a variable. This is the error I am getting: Notice: Undefined index: adv_auth in ...\mysql\lib.inc.php on line 132 I am not sure as to whether I forgot to do something when

Re: [PHP] PHP Error

2002-12-31 Thread Marek Kilimajer
This is just a notice, somewhere in the code is something like this if($array['index']=='something') do_something(); but $array['index'] is undefined. Should be if(is_array($array) array_key_exists('index',$array) $array['index']=='something') ... (which is quite long). Another option is to set

[PHP] Error loading PHP module in Apache 2

2002-12-23 Thread Andrew Schaefer
I have compiled and installed both the newest versions of Apache and PHP with support for modules so I can use PHP with Apache. When I try to start the Apache server I get an error which reads. Syntax error on line 230 of /usr/local/apache2/conf/httpd.conf: Cannot load

Re: [PHP] Error installing

2002-12-20 Thread Jason Wong
On Thursday 19 December 2002 23:48, Mako Shark wrote: Anybody have any bright ideas? Trying to install my own PHP on my own server. I'm getting the error Redirection limit for this URL exceeded. Unable to load the requested page. Not sure whether this is your problem, but one thing which can

Re: [PHP] Error installing

2002-12-20 Thread Michael Sweeney
If you are trying to load a PHP-Nuke site, your problem is that the page can't access your mysql server. Either the server is not running, or the hostname/username/password is not correct so the program is unable to successfully connect to the mysql server. ..michael.. On Fri, 2002-12-20 at

[PHP] Error installing

2002-12-19 Thread Mako Shark
Anybody have any bright ideas? Trying to install my own PHP on my own server. I'm getting the error Redirection limit for this URL exceeded. Unable to load the requested page. I'm using Apache 2 and php 4.2.3 and haven't loaded any extensions in PHP (yet).

Re: [PHP] Error 155 using exec - please help !

2002-12-17 Thread Marek Kilimajer
Take a look at http://cvs.php.net/co.php/php4/php.ini-dist The part that should you look at is Resource Limits (max_execution_time,memory_limit) and set up your php.ini accordingly. [EMAIL PROTECTED] wrote: Here is what i do to parse a file with a perl script from PHP to get a formatted output

Re[2]: [PHP] Error 155 using exec - please help !

2002-12-17 Thread ml
Take a look at http://cvs.php.net/co.php/php4/php.ini-dist The part that should you look at is Resource Limits (max_execution_time,memory_limit) and set up your php.ini accordingly. Nope i can't find any solution... It goes well with memory_limit=8M for a 12Ko file, but won't work for a 32K

[PHP] Error 155 using exec

2002-12-16 Thread ml
Here is what i do to parse a file with a perl script from PHP to get a formatted output from the file : error_reporting(E_ALL); $cmd=/pathto/dump.pl \.$HTTP_POST_VARS[filename].\ 21; $res=exec($cmd,$tab,$err); With small files all goes fine, but when parsing a big file i get the 155 error code

[PHP] Error 155 using exec

2002-12-16 Thread ml
Here is what i do to parse a file with a perl script from PHP to get a formatted output from the file : error_reporting(E_ALL); $cmd=/pathto/dump.pl \.$HTTP_POST_VARS[filename].\ 21; $res=exec($cmd,$tab,$err); With small files all goes fine, but when parsing a big file i get the 155 error code

[PHP] Error 155 using exec - please help !

2002-12-16 Thread ml
Here is what i do to parse a file with a perl script from PHP to get a formatted output from the file : error_reporting(E_ALL); $cmd=/pathto/dump.pl \.$HTTP_POST_VARS[filename].\ 21; $res=exec($cmd,$tab,$err); With small files all goes fine, but when parsing a big file i get the 155 error code

[PHP] Error: (8) Undefined variable:

2002-12-12 Thread Dubravko Kakarigi
Under what conditions would you see Error: (8) Undefined variable: when running a PHP script on the web? ...thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Error: (8) Undefined variable: - figured out

2002-12-12 Thread Dubravko Kakarigi
Due to my newbie PHP status I posted that question, but I now learned how to deal with it. Thanks to all who read it (no one responded, probably out of distaste for such a basic question :-) ...thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] Error using require_once

2002-12-12 Thread enediel
I have a php files dependencies in this order: .../php/index php .../php/globals/db_connection.php .../php/globas/global_functions.php in db_connection.php I declared a variable with the connection to a postgreSQL database. on index.php, everything is fine ?

Re: [PHP] Error using require_once

2002-12-12 Thread Jason Wong
On Friday 13 December 2002 09:20, enediel wrote: when I make a call from index.php to a function defined on global_functions.php, the called function can not use the database connection referred before. Inside the function declare the variable you want to use as global, see manual for

[PHP] error on make

2002-12-09 Thread info
Hi PHP-List, after re-compiling my new and stable version of php-4.3.0-dev on a redhat 7.3 box I compilied this version in order to use the benefits of gd with the following compiling options: ./configure --prefix=/usr/local/php_stable7 ... --with-gd=/usr ... and when I run make I will get

[PHP] Error GD

2002-12-06 Thread info
Hi Paul, compiled PHP like that ./configure --with-config-file-path=/etc --enable-force-cgi-redirect --with-mysql -with-gd=/usr/local/gd2 --no-create --no-recursion Error Message: In file included from gd.c:83: gd_ctx.c: In function `_php_image_output_ctx': gd_ctx.c:70: structure has no member

Re: [PHP] Error GD

2002-12-06 Thread Tom Rogers
Hi, Saturday, December 7, 2002, 1:41:22 AM, you wrote: ithc Hi Paul, ithc compiled PHP like that ithc ./configure --with-config-file-path=/etc --enable-force-cgi-redirect --with-mysql -with-gd=/usr/local/gd2 --no-create --no-recursion ithc Error Message: ithc In file included from gd.c:83:

Re[2]: [PHP] Error GD

2002-12-06 Thread Tom Rogers
Hi, Saturday, December 7, 2002, 2:31:09 AM, you wrote: TR Hi, TR Saturday, December 7, 2002, 1:41:22 AM, you wrote: ithc Hi Paul, ithc compiled PHP like that ithc ./configure --with-config-file-path=/etc --enable-force-cgi-redirect --with-mysql -with-gd=/usr/local/gd2 --no-create

Re: Re[2]: [PHP] Error GD

2002-12-06 Thread info
Thank u Tom Oliver - Original Message - From: Tom Rogers To: Tom Rogers Cc: [EMAIL PROTECTED] ; [EMAIL PROTECTED] Sent: Friday, December 06, 2002 5:35 PM Subject: Re[2]: [PHP] Error GD Hi, Saturday, December 7, 2002, 2:31:09 AM, you wrote: TR Hi, TR Saturday

[PHP] Error in host server data stream

2002-12-05 Thread Daniel
my php code is working on one machine and not on another. I am now getting the error Warning: SQL error: [unixODBC][IBM][iSeries Access ODBC Driver]Error in host server data stream., SQL state S1000 in SQLExecDirect working machine: unixodbc 2.2.2-2 php-odbc4.1.2-7.2.4 non working:

[PHP] Error in retrieving a BLOB from DB.

2002-11-27 Thread Naif Al-Otaibi
Hi all, I use the following: 1) Win XP. 2) Oracle personal eddition 8.1.6.0.0. 3) IIS. 4) php-4.2.3-Win32 runs in cgi mode. When I retrieve a blob from my DB, I got the following error: Fatal error: Call to undefined function: load() in c:\inetpub\wwwroot\php1\ora52.php on line 6

Re: [PHP] Error in retrieving a BLOB from DB.

2002-11-27 Thread Faisal Abdullah
I've never used load() before, but I can't find it in the function list in php.net On Thu, 2002-11-28 at 11:05, Naif Al-Otaibi wrote: Hi all, I use the following: 1) Win XP. 2) Oracle personal eddition 8.1.6.0.0. 3) IIS. 4) php-4.2.3-Win32 runs in cgi mode. When I retrieve a blob from

[PHP] error handling

2002-11-17 Thread Mattia
When the display_errors is Off, and the output of the page comes all in the end, or when you're using some template engine or some output buffer function (ob_start()), no output is displayed to the screen! I would like to tell a message to the use in case of failure of the scripy, without giving

Re: [PHP] error handling

2002-11-17 Thread Rasmus Lerdorf
Try this. In your php.ini file: display_errors = Off log_errors = On track_errors = On Then in your code: $php_errormsg = false; ob_start(); ... your code ... if($php_errormsg) { ob_end_clean(); // Error - discard buffer echo An error occurred - webmaster notified; }

[PHP] Error uploading a file

2002-11-14 Thread Emiliano Marmonti
Hello all, when I try to upload a file I receive the following error: Warning: Max file size of 2 bytes exceeded - file [Archivo] not saved in Unknown on line I've looked into php.ini and it has the limit set to 2Mb. Have looked using phpinfo and everything looks OK. I'm sure this

Re: [PHP] Error uploading a file

2002-11-14 Thread BigDog
Are you sure that the size is specified correctly? I remember that i have but down 32 for mb when really it takes bytes as the number so i had 32 bytes which sucked for me... On Thu, 2002-11-14 at 20:36, Emiliano Marmonti wrote: Hello all, when I try to upload a file I receive the

[PHP] Error Message

2002-11-12 Thread Ben C .
I am receiving the following error on my change password form: Warning: Cannot send session cache limiter - headers already sent (output started at /home/httpd/vhosts/localhost/httpdocs/order/change_psswd.php:14) in /home/httpd/vhosts/localhost/httpdocs/order/change_psswd2.php on line 4 Does

Re: [PHP] Error Message

2002-11-12 Thread Adam Williams
are you using header() after you've already sent data to the browser (such as printing something to the user)? Adam On Tue, 12 Nov 2002, Ben C. wrote: I am receiving the following error on my change password form: Warning: Cannot send session cache limiter - headers

Re: Re: [PHP] Error Message

2002-11-12 Thread Ben C .
understand??? Thanks, Ben From: Adam Williams [EMAIL PROTECTED] Date: 2002/11/12 Tue PM 05:26:09 EST To: Ben C. [EMAIL PROTECTED] CC: [EMAIL PROTECTED] Subject: Re: [PHP] Error Message are you using header() after you've already sent data to the browser (such as printing something

Re: Re: [PHP] Error Message

2002-11-12 Thread Kevin Stone
: Re: Re: [PHP] Error Message I am using the require() function. - 1st require() includes the top portion of my page on every page. - 2nd require puts the following code in the middle: ? require(fns.php); session_start(); if (!filled_out($HTTP_POST_VARS)) { echo You have

Re: [PHP] Error Message

2002-11-12 Thread Ernest E Vogelsinger
At 23:23 12.11.2002, Ben C. said: [snip] I am receiving the following error on my change password form: Warning: Cannot send session cache limiter - headers already sent (output started at /home/httpd/vhosts/localhost/httpdocs/order/change_psswd.php:14)

[PHP] Error in code - Seems simple enough

2002-11-03 Thread vernon
I'm having trouble with the following code dispalying an error, which I don't understand because the code actually works (other than the error). Any ideas? ? if(!isset($HTTP_SESSION_VARS['svUserAccess'])){ echo td class='mainmenu' align='center' width='12.5%' style='cursor:hand'

RE: [PHP] Error in code - Seems simple enough

2002-11-03 Thread John W. Holmes
And the error is?? -Original Message- From: vernon [mailto:vernon;comp-wiz.com] Sent: Sunday, November 03, 2002 9:28 PM To: [EMAIL PROTECTED] Subject: [PHP] Error in code - Seems simple enough I'm having trouble with the following code dispalying an error, which I don't

Re: [PHP] Error in code - Seems simple enough

2002-11-03 Thread vernon
That's the thing, everything works but the error message keeps coming up? Runtime Error: Syntax Error -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Error in code - Seems simple enough

2002-11-03 Thread rija
This is rather problem about javascript than PHP - But I think that you need to use double quotes (escaped) to distinguish query and variables in your javascript query: Try out this, It work fine for me: if(!isset($HTTP_SESSION_VARS['svUserAccess'])){ echo td class='mainmenu' align='center'

[PHP] error connecting to oracle.

2002-10-28 Thread Subodh Gupta
Hi all, I get the following error while trying to connect to oracle. Please help me. Fatal error: Call to undefined function: ora_logon() in c:\program files\apache group\apache\htdocs\one.php on line 5 Subodh Gupta Tata Consultancy Services. -- PHP General Mailing List

RE: [PHP] error connecting to oracle.

2002-10-28 Thread Faisal Abdullah
;seepz.tcs.co.in] Sent: Monday, October 28, 2002 5:18 PM To: [EMAIL PROTECTED] Subject: [PHP] error connecting to oracle. Hi all, I get the following error while trying to connect to oracle. Please help me. Fatal error: Call to undefined function: ora_logon() in c:\program files\apache group

RE: [PHP] error connecting to oracle.

2002-10-28 Thread Subodh Gupta
] ix.com.mycc: Subject: RE: [PHP] error connecting to oracle. 28/10/2002

RE: [PHP] error connecting to oracle.

2002-10-28 Thread Faisal Abdullah
// change this to whatever your extention directory is. Regards, Faisal -Original Message- From: Subodh Gupta [mailto:Subodh.Gupta;seepz.tcs.co.in] Sent: Monday, October 28, 2002 5:35 PM To: Faisal Abdullah; [EMAIL PROTECTED] Subject: RE: [PHP] error connecting to oracle. I checked up

RE: [PHP] error connecting to oracle.

2002-10-28 Thread Gerald Roehrbein/Pctdmn
Hello, at Solaris and Windows NT it's first necessary to install the Oracle Client software and then to configure PHP properly the way it is documented! I've done until know only three PHP installations with Oracle support but all three installations where very simple! Remember you have to

RE: [PHP] error connecting to oracle.

2002-10-28 Thread Faisal Abdullah
: Faisal Abdullah [mailto:faisal;magnifix.com.my] Sent: Monday, October 28, 2002 6:13 PM To: Subodh Gupta; [EMAIL PROTECTED] Subject: RE: [PHP] error connecting to oracle. Where was it listed? In the 'configure command' section? Or the 'configuration' section? If its available in the 'configure

RE: [PHP] error connecting to oracle.

2002-10-28 Thread Subodh Gupta
] ix.com.mycc: Subject: RE: [PHP] error connecting to oracle. 28/10/2002

RE: [PHP] error connecting to oracle.

2002-10-28 Thread Faisal Abdullah
- From: Subodh Gupta [mailto:Subodh.Gupta;seepz.tcs.co.in] Sent: Monday, October 28, 2002 5:56 PM To: Faisal Abdullah; [EMAIL PROTECTED] Subject: RE: [PHP] error connecting to oracle. There is no entry of oracle in any section. The rest of things which you have pointed out are already

FW: [PHP] error connecting to oracle.

2002-10-28 Thread Faisal Abdullah
-Original Message- From: Gerald Roehrbein/Pctdmn [mailto:groehrbein;bigfoot.com] Sent: Monday, October 28, 2002 10:50 AM To: Subodh Gupta Cc: [EMAIL PROTECTED] Subject: RE: [PHP] error connecting to oracle. Hello, at Solaris and Windows NT it's first necessary

RE: [PHP] error connecting to oracle.

2002-10-28 Thread Subodh Gupta
], faisal@magnif[EMAIL PROTECTED] ix.com.mycc: Subject: RE: [PHP] error connecting to oracle

Re: [PHP] error connecting to oracle.

2002-10-28 Thread Maxim Maletsky
] ix.com.mycc: Subject: RE: [PHP] error connecting to oracle. 28/10/2002

RE: [PHP] error connecting to oracle.

2002-10-28 Thread Ford, Mike [LSS]
-Original Message- From: Faisal Abdullah [mailto:faisal;magnifix.com.my] Sent: 28 October 2002 09:51 To: Subodh Gupta; [EMAIL PROTECTED] Subject: RE: [PHP] error connecting to oracle. -Original Message- From: Subodh Gupta [mailto:Subodh.Gupta;seepz.tcs.co.in] Sent: Monday

Re: [PHP] error connecting to oracle.

2002-10-28 Thread Maxim Maletsky
When one uncomments oci8 extension in PHP.INI, then restarts apache, you get an error on Apache's start-up which will mean your dll is not forund, or there are no oci.h lib (wrong $ORACLE_HOME dir, or there is no client at all... whichever) but, if no errors on Apache start were given to you, just

Re: [PHP] error connecting to oracle.

2002-10-28 Thread Maxim Maletsky
Ford, Mike [LSS] [EMAIL PROTECTED] wrote... : Look out! You've got your Oracle libraries in a twist. The oci8 library supports the OCI* functions; the oracle library supports the ora_* functions. OCI is generally considered to be a better interface, and should probably be

[PHP] Error?

2002-10-27 Thread Steve Jackson
I get the following error and I don't know why this is the code: if($new) { $details = get_product_details($new); if($details[catid]) $target = show_cat.php?catid=.$details[catid]; //line 55 is the bracket below. } $path = $PHP_SELF; $path = str_replace(show_cart.php, ,

RE: [PHP] Error?

2002-10-27 Thread John W. Holmes
/array_count_values ---John Holmes... -Original Message- From: Steve Jackson [mailto:steve;webpage.co.uk] Sent: Sunday, October 27, 2002 9:00 AM To: [EMAIL PROTECTED] Subject: RE: [PHP] Error? here are the 3 files. the main problem i have is to adjust a shopping cart using a form field

RE: [PHP] Error?

2002-10-27 Thread Tony Crockford
if($new) { $details = get_product_details($new); if($details[catid]) $target = show_cat.php?catid=.$details[catid]; //line 55 is the bracket below. } $path = $PHP_SELF; $path = str_replace(show_cart.php, , $path); Error: Warning: Can only count STRING and

[PHP] Error disabling

2002-10-04 Thread Davíð Örn Jóhannsson
I need to be able to disable error reporting on one page with php, I just don’t remember how to do this, if I remember correctly I could call some function in the begining of a php doc and tell it not to disply any errors that occur while parsing the doc.

Re: [PHP] Error disabling

2002-10-04 Thread John Wards
A quickie woudl be put an before every function that would report an error like mysql_query etc John On Friday 04 Oct 2002 11:51 am, Davíð Örn Jóhannsson wrote: I need to be able to disable error reporting on one page with php, I just don’t remember how to do this, if I remember correctly I

Re: [PHP] Error disabling

2002-10-04 Thread Maxim Maletsky
Error Reporting : php.net/error_reporting looks like this: error_reporting(0); // for outputting nothing error_reporting(55); // PHP4's default error_reporting(E_ALL | E_NOTICE); // for anything PHP can complain of Maxim Maletsky [EMAIL PROTECTED] www.PHPBeginner.com // where PHP

Re: [PHP] Error disabling

2002-10-04 Thread Holger Heinze, Portalmeister GmbH
Jóhannsson [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, October 04, 2002 12:51 PM Subject: [PHP] Error disabling I need to be able to disable error reporting on one page with php, I just don't remember how to do this, if I remember correctly I could call some function in the begining

[PHP] error in php script

2002-09-30 Thread prasanna shetye
Hello I have downloaded am email client named twiggi for linux . It has a configuration file which creates database and generates a config.php file . After running this file site starts to work . But when I surfed the index.php file or test.php file of site it gives error .. warning :

[PHP] error notice - valid code

2002-09-30 Thread Pablo Oliva
Notice: Use of undefined constant year - assumed 'year' in c:\apache\htdocs\jotr\includes\globalFooter.php on line 3 ?php $year = getdate(); $print_year = $year[year]; ? Is this not valid code? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

RE: [PHP] error notice - valid code

2002-09-30 Thread Martin Towell
This is what you're really after - quoting the index ?php $year = getdate(); $print_year = $year[year]; ? -Original Message- From: Pablo Oliva [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 01, 2002 1:03 PM To: [EMAIL PROTECTED] Subject: [PHP] error notice - valid code Notice: Use

Re: [PHP] error notice - valid code

2002-09-30 Thread Tom Rogers
Hi, Tuesday, October 1, 2002, 1:02:46 PM, you wrote: PO Notice: Use of undefined constant year - assumed 'year' in PO c:\apache\htdocs\jotr\includes\globalFooter.php on line 3 PO ?php PO $year = getdate(); PO $print_year = $year[year]; ? PO Is this not valid code? No It should be

Re: Re: [PHP] error in php script

2002-09-30 Thread prasanna shetye
Hi Thanks but the path is set . Othere php scripts are running well . My problem is as it is . Have a nice time! On Tue, 01 Oct 2002 Lejanson C. Go wrote : Hello, I guess you forgot to edit your php.ini file. Append to the include_path the path to where your index.php is located. For

[PHP] error suppresion

2002-09-29 Thread Gary
I have a form, the action is PHP_SELF. When the form is submitted it prints the info lower on the page. The problem, the errors for the empty fields are printed until the form is submitted. What would be the best way of suppressing these error? TIA Gary -- PHP General Mailing List

RE: [PHP] error suppresion

2002-09-29 Thread John W. Holmes
I have a form, the action is PHP_SELF. When the form is submitted it prints the info lower on the page. The problem, the errors for the empty fields are printed until the form is submitted. What would be the best way of suppressing these error? The best way to suppress your errors is to fix

Re: [PHP] error suppresion

2002-09-29 Thread Gary
John W. Holmes wrote: I have a form, the action is PHP_SELF. When the form is submitted it prints the info lower on the page. The problem, the errors for the empty fields are printed until the form is submitted. What would be the best way of suppressing these error? The best way to

RE: [PHP] error suppresion

2002-09-29 Thread John W. Holmes
Just reduce the error_reporting() level while you display the form, then. Set it so it does not show NOTICES. ---John Holmes... -Original Message- From: Gary [mailto:[EMAIL PROTECTED]] Sent: Sunday, September 29, 2002 2:29 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] error

Re: [PHP] error suppresion

2002-09-29 Thread Jean-Christian Imbeault
Gary wrote: They are not really errors they are reporting that the form fields are empty until the form is submitted. Notice: Undefined index: That means your code is not doing any checking of the incoming data. You should always check that the data coming is what you expect it to be.

Re: [PHP] error suppresion

2002-09-29 Thread Gary
Jean-Christian Imbeault wrote: Gary wrote: They are not really errors they are reporting that the form fields are empty until the form is submitted. Notice: Undefined index: That means your code is not doing any checking of the incoming data. You should always check that the data

[PHP] error compiling apache2 on cobalt libgdbm error

2002-09-24 Thread electroteque
libtool: link: warning: library `/usr/lib/libgdbm.la' was moved. libtool: link: warning: library `/usr/lib/libgdbm.la' was moved. make[1]: Leaving directory `/home/src/httpd-2.0.40' what could be the problem -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

RE: [PHP] error compiling apache2 on cobalt libgdbm error

2002-09-24 Thread Jesse Cablek
electroteque mailto:[EMAIL PROTECTED] scribbled; libtool: link: warning: library `/usr/lib/libgdbm.la' was moved. libtool: link: warning: library `/usr/lib/libgdbm.la' was moved. make[1]: Leaving directory `/home/src/httpd-2.0.40' what could be the problem It looks like a gdb issue. It

Re: [PHP] error compiling apache2 on cobalt libgdbm error

2002-09-24 Thread Rasmus Lerdorf
Note that gdbm is not threadsafe, so you should only run Apache2 in prefork mode (or simply stick with Apache 1.3). But what does this have to do with PHP? On Tue, 24 Sep 2002, electroteque wrote: libtool: link: warning: library `/usr/lib/libgdbm.la' was moved. libtool: link: warning:

Re: [PHP] error compiling apache2 on cobalt libgdbm error

2002-09-24 Thread electroteque
excuse me sorry wrong list i have many open i havent even begun with the php install yet Rasmus Lerdorf [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Note that gdbm is not threadsafe, so you should only run Apache2 in prefork mode (or simply stick with Apache

Re: [PHP] Error with file upload: No file uploaded in Unknown online 0

2002-09-24 Thread Marek Kilimajer
Turn off notice logging in your php.ini, just keep warnings and errors. Jason Young wrote: I have some code that a user can set a description about an item to be posted, and then add some image files of the item. Its a 3x3 frame of input type=file fields, along with an 'include' line for

Re: [PHP] Error with file upload: No file uploaded in Unknown on

2002-09-24 Thread Jason Young
Thanks for your reply... However, is that the ONLY way? Shouldn't this be something that is not reported as an error to begin with? But even so, what about the other Notices I might receive in regards to other debugging.. I have to get rid of all that, too? Basically I'm asking if this is

Re: [PHP] Error with file upload: No file uploaded in Unknown on

2002-09-24 Thread Marek Kilimajer
Basically yes, unless you want to patch php sources and recompile. You could use error_reporting(), but the notice is issued befor you script gets to run, so that would not help. Jason Young wrote: Thanks for your reply... However, is that the ONLY way? Shouldn't this be something that is

[PHP] Error during complie of 4.2.3

2002-09-24 Thread David Busby
List, I'm trying to insstall PHP 4.2.3 on my RH73 box with Apache 2.0.40. My Configure script and my results are posted below, the error I'm getting that I can't figure out is: libtool: link: warning: library `/usr/lib/libxml2.la' was moved. stub.lo: file not recognized: File

[PHP] PHP error starting Apache 2.0.40

2002-09-24 Thread David Busby
List, Cannot load /opt/httpd/modules/libphp4.so into server: /opt/httpd/modules/libphp4.so: undefined symbol: mbstr_treat_data I'm getting this trying to start Apache 2.0.40 with PHP 4.2.3, can anyone point to where I should start looking? I looked at google but only found a few results.

[PHP] Error with file upload: No file uploaded in Unknown on line 0

2002-09-23 Thread Jason Young
I have some code that a user can set a description about an item to be posted, and then add some image files of the item. Its a 3x3 frame of input type=file fields, along with an 'include' line for each one.. only selecting a file with the 'Browse' button, or entering a website manually will

[PHP] error with php and pdflib

2002-09-22 Thread Thoenen, Peter Mr. EPS
Hello everybody, Getting the following error when trying to generate a pdf file. Fatal error: PDFlib error: function 'PDF_set_info' must not be called in 'object' scope in E:\php\pdf.php on line 6 From what I can tell (google and php manual online) this error is caused when your webserver (IIS

[PHP] ERROR

2002-09-21 Thread Georgie Casey
I'm getting a: Parse error: parse error, unexpected $ in /home/virtual/site264/fst/var/www/html/include/paypal.php on line 126 in my script. the script only has 126 lines, and I cant find any $ that might be causing it. But there's a lot of loops to close in the script so I'm thinking one of

[PHP] error handling

2002-09-12 Thread Mattia
I'm writing a web app with php, and would like to do the following: when an error occures (a php/apache error or an application error) the error is logged to a log file. The user is displayed a page that says 500 internal server error, and nothig more. I have access to .htacces and no access to

[PHP] error: loading extensions / php_xslt.dll on win32

2002-09-12 Thread Marco Siegl
hi there @php.net, please, can you help me enabling the extensions in php? i tried for hours to accomplish the right settings, but it seems, the solution is out of reach. you'll find a mini screenshot of my error message so you'll see exactly what i mean. machine details: php v4.2.3, apache

[PHP] Error when going to PHP page

2002-09-09 Thread FlipinMonkeyPie
I started off, with my php program in c:/PHP and it worked fine, but i wanted to rearrange aa few things, so i moved it to c:/usr/php, i edited my apache config files to the new dir, when i go to a php file, it says 404 cannot find file, even if i go to the directory index and click on it, it

[PHP] error message when run /usr/share/pear

2002-08-16 Thread Ryan
What's wrong ? I am using RH7.3. I manually compile the php and install it before. But later I install using the rpm. Thx for reply ! Content-type: text/html PHP Warning: imap: Unable to initialize module Module compiled with module API=20010901, debug=0, thread-safety=0 PHPcompiled with

Re: [PHP] error message when run /usr/share/pear

2002-08-16 Thread Adam Williams
when running the ./configure for PHP did you use --with-mysql Adam On Fri, 16 Aug 2002, Ryan wrote: What's wrong ? I am using RH7.3. I manually compile the php and install it before. But later I install using the rpm. Thx for reply ! Content-type: text/html PHP

Re: [PHP] error message when run /usr/share/pear

2002-08-16 Thread Ryan
Yes, I do use --with-mysql now i am using the rpm version of php. Adam Williams wrote: when running the ./configure for PHP did you use --with-mysql Adam On Fri, 16 Aug 2002, Ryan wrote: What's wrong ? I am using RH7.3. I manually compile the php and install it

[PHP] Error

2002-08-15 Thread Christian Ista
Hello, Could you tell me the signification of this error : Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in d:\inetpub\wwwroot\TEST\test3\act_language_fr.php on line 20 Bye -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Error

2002-08-15 Thread Gijs Herpers
What is the code on that line? Gr Gijs - Original Message - From: Christian Ista [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, August 15, 2002 9:54 PM Subject: [PHP] Error Hello, Could you tell me the signification of this error : Parse error: parse error, unexpected

Re: [PHP] Error

2002-08-15 Thread Miles Thompson
Havn't the foggiest idea what it means, but what has usually happened is that I missed a ; on an earlier line. MT At 09:54 PM 8/15/2002 +0200, Christian Ista wrote: Hello, Could you tell me the signification of this error : Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in

RE: [PHP] Error

2002-08-15 Thread Christian Ista
Havn't the foggiest idea what it means, but what has usually happened is that I missed a ; on an earlier line. That's happen when I include a page. But the strange this, I include the same page earlier and without any problem. The content of this page is a lot of variable (string), like that

RE: [PHP] Error

2002-08-15 Thread Jay Blanchard
[snip] That's happen when I include a page. But the strange this, I include the same page earlier and without any problem. The content of this page is a lot of variable (string), like that (a small part) : [/snip] How large is the page, can you send more? If not, can ou put line numbers on the

Re: [PHP] Error

2002-08-15 Thread Gijs Herpers
And send your original code beacuse this is hard to understand, at least I don't get it :) - Original Message - From: Christian Ista [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, August 15, 2002 10:08 PM Subject: RE: [PHP] Error Havn't the foggiest idea what it means

<    4   5   6   7   8   9   10   11   12   >