RE: [PHP] Client side fatal PHP error

2001-12-25 Thread James Cox
Yeah, I know it's executed client side, but if the buffer fills up because you have a lot to send to the client (and the network connection is saturated), then it might fail, since it cannot do the test. it is unlikely, but possible. Also, that code you quoted is (out of context) inefficient, so

Re: [PHP] Client side fatal PHP error

2001-12-25 Thread LaserJetter
Is there a utility out there that checks for typos, like a spell check but for code? They are the most annoying things ever and probably the hardest of errors to find in scrips. Something simple, even command line would be handy. Also, its interesting that only one user of the script got the erro

Re: [PHP] Client side fatal PHP error

2001-12-25 Thread Philip Olson
> "Call to unsupported or undefined function srtoupper() in on line 82." srt != str (typo). > if (strtoupper(substr($xmbrcode,11,1)) != "B" && > strtoupper(substr($xmbrcode,11,1)) != "P" && > srtoupper(substr($xmbrcode,11,1)) != "H" && > srtoupper(substr($xmbrcode,11,1)) != "O"

Re: [PHP] Client side fatal PHP error

2001-12-25 Thread jjt
ext* would help. > >Regards, > >James Cox > >> -Original Message- >> From: jjt [mailto:[EMAIL PROTECTED]] >> Sent: Tuesday, December 25, 2001 6:36 PM >> To: [EMAIL PROTECTED] >> Subject: [PHP] Client side fatal PHP error >> >> >>

RE: [PHP] Client side fatal PHP error

2001-12-25 Thread James Cox
, James Cox > -Original Message- > From: jjt [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, December 25, 2001 6:36 PM > To: [EMAIL PROTECTED] > Subject: [PHP] Client side fatal PHP error > > > A visitor to my site repeatedly receives a fatal error in one of > my sc

[PHP] Client side fatal PHP error

2001-12-25 Thread jjt
A visitor to my site repeatedly receives a fatal error in one of my scripts. He is using a Compaq PC with IE 6; Windows 98. He gets this error message: "Call to unsupported or undefined function srtoupper() in on line 82." Line 82 is a compound IF statement which uses strtoupper(). As best I

[PHP] Fatal PHP error on client computer

2001-12-25 Thread jjt
A visitor to my site repeatedly receives a fatal error in one of my scripts. He is using a Compaq PC with IE 6; Windows 98. He gets this error message: "Call to unsupported or undefined function srtoupper() in on line 82." Line 82 is a compound IF statement which uses strtoupper(). As best I

Re: [PHP] Error while calling a function--Thanks

2001-12-20 Thread J.F.Kishor
Hi pals, Thanks a lot for all the PHP pals , I have recoded my script an' now itz working fine. cheers an' regards, - JFK kishor Nilgiri Networks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-m

Re: [PHP] Error while calling a function

2001-12-18 Thread J.F.Kishor
the closing "" tag. > > Jim > - Original Message - > From: "J.F.Kishor" <[EMAIL PROTECTED]> > To: "PHP Mailing List" <[EMAIL PROTECTED]> > Sent: Tuesday, December 18, 2001 5:26 AM > Subject: [PHP] Error while calling a funct

Re: [PHP] Error while calling a function

2001-12-18 Thread Fred
Steve is right on the money. Your function definitions are inside a conditional if statement which means that they may or may not be parsed. Your call to the function, on the other hand, is not within that same conditional if statement. That means your functions is getting called unconditionall

Re: [PHP] Error while calling a function

2001-12-18 Thread Jim Lucas
Try putting a closing "?>" php tag just before the final HTML. Jim - Original Message - From: "J.F.Kishor" <[EMAIL PROTECTED]> To: "PHP Mailing List" <[EMAIL PROTECTED]> Sent: Tuesday, December 18, 2001 5:26 AM Subject: [PHP] Error while cal

Re: [PHP] Error while calling a function

2001-12-18 Thread Steve Cayford
I don't know all the details about how PHP compiles a program, but having your function definitions in an if-else statement that may not be executed looks suspicious to me. You've got if(!$Phone) { do something } else { function is_phone() { ...blah, blah...} } is_phone($Phone); If

[PHP] Error while calling a function

2001-12-18 Thread J.F.Kishor
hi all, I have got a problem, when I execute the following script it gives a Fatal error, could any one tell me why is it ?, If this is a silly problem please execuse me but, plz do reply me. The script is - Telephone Number : } else { function is_allnu

Re: [PHP] Error handling

2001-12-18 Thread Neil Freeman
What warnings are you receiving? Many can be avoided by doing various checks: e.g. if (!isset($some_variable)) ...some error code else ...all is well others which may be useful: function_exists() file_exists() HTH Neil Yoel Benitez Fonseca wrote: > Hi! > > There is in PHP some way

[PHP] Error handling

2001-12-17 Thread Yoel Benitez Fonseca
Hi! There is in PHP some way to handle errors like in other languages, I mean, something like this: . . . try to do ... if error then do ... . . . I'm tired of reciving warnings :-( -- Yoel Benitez Fonseca -- PHP General Mailing List (http://www.php.net/) To unsu

[PHP] RE: mysql php error

2001-12-17 Thread LaserJetter
try to see if there's any clues in there make sure the mysql daemon is running (not sure how to do this) see if you can connect using the MySQL client (not PHP). If you can then MySQL is running ok It sounds like the mysql exetension is damaged of missing. Check its in the right folder etc and

[PHP] mysql php error

2001-12-17 Thread Jeremiah Jester
im trying to run phpMyAdmin but everytime i try to pull the index.php file or any other associated with the MyAdmin program i get the following error in my browser: cannot load MySQL extension, please check PHP Configuration. I'm guessing this means mysql is not installed properly or the php.ini

[PHP] error with php 4.1

2001-12-11 Thread Jan Grafström
Hi! My webhost has just updated to PHP 4.1 and now this loggin script does not work. I get "page can´t be found..." --- if ( (!isset($PHP_AUTH_USER)) || ! (($PHP_AUTH_USER == $st_LOGIN) && ($PHP_AUTH_PW == "$st_PASSWORD" )) ) { header("WWW-Authenticate: Basic entrer=\"Admin Basta\""); header(

Re: [PHP] error handling and __LINE__

2001-11-27 Thread SafeV
#x27;is_object($obj)'); > > and write your error handler code or use mine :) > or am i missing something? > > Papp Gyozo > - [EMAIL PROTECTED] > > - Original Message - > From: "SafeV" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]

[PHP] error on update

2001-11-25 Thread Peter Lavender
Hi everyone, I'm connecting to a SQL SVR 2000 database and get an error that I haven't been able to resolve. The following code generates an error Incorrect syntax near 'longer'; SQL state 3700 in SQLExecDirect I read some where that it might be due to a reserved word in column names, but this

Re: [PHP] error handling and __LINE__

2001-11-22 Thread Papp Gyozo
<[EMAIL PROTECTED]> Sent: Thursday, November 22, 2001 4:15 PM Subject: [PHP] error handling and __LINE__ | Hi, | I wonder if there's a way to find the line number of the calling script | from a function, like the error messages PHP generates. An example: | | In an included

[PHP] error handling and __LINE__

2001-11-22 Thread SafeV
Hi, I wonder if there's a way to find the line number of the calling script from a function, like the error messages PHP generates. An example: In an included file I have a function and want to do something similar to: function foo($obj) { if (!is_object($obj)) { echo "Error: suppli

[PHP] Error Code for fsockopen()??? What it mean?

2001-11-20 Thread Scott Fletcher
Hi! I use this script and I recieve an error code, what does this mean in english? I can understand the "0" or the "1", but "2" fsockopen (HOSTNAME, &$errno, &$errstr) or die("$errno: $errstr"); Thanks, Scott -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-m

Re: [PHP] Error running ./configure (c++ error)

2001-11-19 Thread Roy Sigurd Karlsbakk
> Do you have appropriate permissions in the directory you are runnning > configure in for the user running configure?? Yes. I'm r00t -- Roy Sigurd Karlsbakk, MCSE, MCNE, CLS, LCA Computers are like air conditioners. They stop working when you open Windows. -- PHP General Mailing List (http:/

Re: [PHP] Error running ./configure (c++ error)

2001-11-18 Thread David Robley
On Sun, 18 Nov 2001 23:55, Roy Sigurd Karlsbakk wrote: > Hi all > > I try to ./configure php to run on a just-upgraded rh72 box, but it > tells me c++ cannot create executables. > > ./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-msql \ > --enable-inline-optimization --enable-ftp

[PHP] Error running ./configure (c++ error)

2001-11-18 Thread Roy Sigurd Karlsbakk
Hi all I try to ./configure php to run on a just-upgraded rh72 box, but it tells me c++ cannot create executables. ./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-msql \ --enable-inline-optimization --enable-ftp check... check... check... checking for c++... c++ checking whet

Re: [PHP] Error with Netscape 6.2

2001-11-14 Thread Phil Driscoll
On Wednesday 14 November 2001 5:10 pm, Michael Stearne wrote: > That is not an error you get from a browser, that is an error generated > by the server. Netscape or IE are just reporting that. Are you sure > the app works in IE (try Shift+Refresh on IE and Shift+Reload on NS). > It sounds like

Re: [PHP] Error with Netscape 6.2

2001-11-14 Thread Michael Stearne
That is not an error you get from a browser, that is an error generated by the server. Netscape or IE are just reporting that. Are you sure the app works in IE (try Shift+Refresh on IE and Shift+Reload on NS). It sounds like there is a problem in your code. Michael Anthony wrote: > I ge

[PHP] Error with Netscape 6.2

2001-11-14 Thread Anthony
I get a CGI error whenever I view my php app under Netscape 6. The error is: CGI Error The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are: My question is, what are the headers that I need to send, where can I find more info

Re: [PHP] Error control and the like

2001-11-08 Thread GB Clark II
On Thursday 08 November 2001 11:25, Sam Masiello wrote: > What database engine are you using? > > Sam Masiello > Software Quality Assurance Engineer > Synacor > (716) 853-1362 X289 > [EMAIL PROTECTED] Hi, I'm using PostgreSQL. GB > Subject: Re: [PHP] Error

Re: [PHP] Error control and the like

2001-11-08 Thread CC Zona
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Gb Clark II) wrote: > Let me give you an example of what I'm wanting in pseudo-code. > > connect to database > > exec query > > error in query > > catch error > > rollback database > > It is almost like exceptions. Exception handling isn'

[PHP] Error: Can't redeclare already declared function (PHP 3.0.15)

2001-10-26 Thread Patrick Dunford
I have a script (let's call it a.php3) that brings in another script b.php3 with the include or require call. In script b.php3 there is an include or require call to bring in script c.php3. Script a.php3 after making one and only one include (the include is not repeated anywhere in a.php3) then

[PHP] Error management

2001-10-26 Thread iuhi hkj
How can I know the line and the file from where a function has called. I already know __FILE__ and __LINE__, but I don't want to transmit them in arguments. Exemple : --- toto.php --- 1 : include("test.inc") 2 : 3 : test("bidule"); 4 : --- test.inc --- 1

[PHP] Error management

2001-10-26 Thread iuhi hkj
How can I know the line and the file from where a function has called. I already know __FILE__ and __LINE__, but I don't want to transmit them in arguments. Exemple : --- toto.php --- 1 : include("test.inc") 2 : 3 : test("bidule"); 4 : --- test.inc ---

[PHP] error compiling LDAP support into PHP, causes Apache to crash.

2001-10-25 Thread Scott Singleton
Could someone glance at my situation and the enclosed PHP error log snippet and give me an idea as to where to procede? I'm pretty stuck. Stats: OS: Linux (RH 7.1) Apache 3.19 Have latest openLDAP and Berkeley DB 3 Installed with no build errors (/usr/local;/usr/local/BerkeleyDB.3.3) M

[PHP] Error: 1 is not a valid mysql link resource

2001-10-24 Thread Rafael Steil
Hi all. With php version 4.0.1, I made a database class. I use a function called connect() to open database connection to mysql, and the link resource is stored in $GLOBALS["CONNETION_ID"] global variable. All of code work perfectly, with no any problems.. But when I upgraded

Re: [PHP] Error POP3 Class

2001-10-23 Thread Andrew Brampton
see) So we will have to wait for sockets to work on Windows, or move to Linux Andrew - Original Message - From: "Aku" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, October 23, 2001 5:25 AM Subject: [PHP] Error POP3 Class > Hello, > > I try pop

[PHP] Error POP3 Class

2001-10-22 Thread Aku
Hello, I try pop3 class to access pop3 server, why error result like, "Fatal error: Maximum execution time of 30 seconds exceeded in c:\new\sample\oh\pop3.php on line 23" before finish. file: pop3.php /* Private methods - DO NOT CALL */ Function GetLine(){ for($line="";;){ if(feof($t

RE: [PHP] Error on session_start()

2001-10-22 Thread Dave Watkinson
r. Header() MUST be the vert first thing sent to the browser. Hope this puts you on the right track Dave -Original Message- From: Zavier Sheran [mailto:[EMAIL PROTECTED]] Sent: 19 October 2001 23:13 To: [EMAIL PROTECTED] Subject: [PHP] Error on session_start() When I try to start a

Re: [PHP] Error on session_start()

2001-10-19 Thread p.whiter
ROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, October 19, 2001 11:13 PM Subject: [PHP] Error on session_start() : When I try to start a session or authenticate with HTTP headers, I get the : following error: : : Warning: Cannot send session cache limiter - headers already sent (output : sta

[PHP] Error on session_start()

2001-10-19 Thread Zavier Sheran
When I try to start a session or authenticate with HTTP headers, I get the following error: Warning: Cannot send session cache limiter - headers already sent (output started at /usr/local/etc/httpd/vhosts/gar/english/login/login_2.php:1) in /usr/local/etc/httpd/vhosts/gar/english/login/login_2.ph

[PHP] Error compiling pdflib extension

2001-10-19 Thread Eric Thelin
I recently tried to recompile PHP-4.0.6 and my pdflib extension stopped working. I was building it in directly but the module wasn't being listed on phpinfo() and of course the pdf functions didn't work. So after many attempts I decided to try another approach and build it as a shared module. I

[PHP] Error: Unable to open *\index.php in Unknown on line 0

2001-10-03 Thread Garth Dahlstrom
On a *nix based system this type of error is caused by the file permissions being wrong (like -rw- that is only the owner can read the file, usually its set to -rw-r--r-- so group and world can read the file too) I don't know about IIS but you might investigate wheither or not your everyone

[PHP] Error: Unable to open *\index.php in Unknown on line 0

2001-10-03 Thread Scott Fletcher
Hi ya all! I'm having some trouble with PHP on IIS. Yes, I know IIS suck! When I have one website, I have no problem. But when I have more than one website on IIS. This is when I have problem with PHP. I looked up on php.ini to make sure the line, "doc root = " is left blank and the othe

Re: [PHP] Error compiling PHP

2001-09-27 Thread Markus Bertheau
On Thu, 2001-09-27 at 10:56, Alberto wrote: > /usr/bin/ld: cannot find -lpq this is the PostgreSQL client library. It is needed when you configure with "--with-pgsql". If you don't need PostgreSQL Support remove it, otherwise you have to install a package named sth like postgres-client and postgre

[PHP] Error compiling PHP

2001-09-27 Thread Alberto
./configure --with-mysql --with-apxs=/usr/local/apache/bin/apxs --prefix=/us r/local/php --enable-ftp --with-gd --with-pgsql Works OK then Make and I get: /bin/sh /home/soft/src/php-4.0.5/libtool --silent --mode=compile gcc -I. -I/home/soft/src/php-4.0.5/ -I/home/soft/src/php-4.0.5/main -I/home

RE: [PHP] error message

2001-09-22 Thread Mark Roedel
> -Original Message- > From: Peter [mailto:[EMAIL PROTECTED]] > Sent: Saturday, September 22, 2001 12:10 PM > To: [EMAIL PROTECTED] > Subject: [PHP] error message > > > I was wondering does anyone know what this particular error > message means: > > W

[PHP] error message

2001-09-22 Thread Peter
Hi, I was wondering does anyone know what this particular error message means: Warning: Use of undefined constant submit - assumed 'submit' in /usr/local/apache/htdocs/mm2/mymarket/privatedirectory/db/newthread.php on line 110 But I already defined submit button as shown in the php script here:

[PHP] error about sk_new_null with apache/php lib

2001-09-12 Thread Tom Eicher
Hi, in our case the error message > Syntax error on line 239 of /home/mmulsy/apache/etc/httpd.conf: > Cannot load /home/mmulsy/apache/libexec/libphp4.so into server: > ld.so.1: /home/mmulsy/apache/bin/httpd: fatal: relocation error: file > /home/mmulsy/apache/libexec/libphp4.so: symbol sk_new_

[PHP] error with socket

2001-09-08 Thread sagar
hi, I'm using win98/apache/php4 But it's giving an error saying undefined function when i use socket() function. On advice of some one i've also tried socket_create(). but in vain. I think that i dont have the socket libs in my php. where can i get them. do u think that i'm correct ? pl help as

[PHP] Error handling and the usage of "@"

2001-09-07 Thread Seb Frost
Could someone give me an example of the sort of error handling you put in your php scripts? Cheers. Should I be preceding every command with @? Anything where this would be harmful? Just looking for some pointers really :-) - seb --- Outgoing mail is certified Virus Free. Checked by AVG anti-v

[PHP] Error Handler

2001-09-07 Thread \[Intent A/S\] Tais M. Hansen
Hi, Does anyone know why the custom error handler (set_error_handler) doesn't catch all errors? Some still falls through to PHP's standard error handler. Bug? (PHP/4.0.4pl1) -- Thanks, Tais M. Hansen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED

[PHP] Error while saving attachments (jpegs)

2001-09-05 Thread Daniel Reichenbach
Hy, i wrote a little cron job which fetches mails from a pop account and saves all contained jpeg attachments to disc. I use the following code: --- snap --- // determine attachment encoding $atty = imap_fetchbody($mbox, $i, $b); switch($att_ency) {

[PHP] Error trapping

2001-09-03 Thread Tim Ward
t existed. In this case a valid html page (containing the php error) is returned. The problem seems to be that as far as Apache is concerned there isn't an error. I haven't found anything in php that allows me to trap errors like this. Error reporting levels aren't helpful as I sti

RE: [PHP] Error while passing parameters as path

2001-08-27 Thread Jaxon
07 AM > To: Anas Mughal > Cc: [EMAIL PROTECTED] > Subject: RE: [PHP] Error while passing parameters as path > > > > Actually, I need to run as CGI because I have customized > extensiont to PHP > > that my hosting company will not imbed in their PHP-Apache module. I am &g

RE: [PHP] Error while passing parameters as path

2001-08-26 Thread Rasmus Lerdorf
> -Original Message- > From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]] > Sent: Sunday, August 26, 2001 9:07 AM > To: Anas Mughal > Cc: [EMAIL PROTECTED] > Subject: RE: [PHP] Error while passing parameters as path > > > > Actually, I need to run as CGI because I have

RE: [PHP] Error while passing parameters as path

2001-08-26 Thread Anas Mughal
. -Original Message- From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]] Sent: Sunday, August 26, 2001 9:07 AM To: Anas Mughal Cc: [EMAIL PROTECTED] Subject: RE: [PHP] Error while passing parameters as path > Actually, I need to run as CGI because I have customized extensiont to PHP > that my h

RE: [PHP] Error while passing parameters as path

2001-08-26 Thread Rasmus Lerdorf
> Actually, I need to run as CGI because I have customized extensiont to PHP > that my hosting company will not imbed in their PHP-Apache module. I am > totally fine with that. Why don't you just dl() your extension into the module version? > Bottom line is that I need to run PHP as CGI. > > Is

RE: [PHP] Error while passing parameters as path

2001-08-25 Thread Anas Mughal
in that mode? -Original Message- From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]] Sent: Sunday, August 26, 2001 2:14 AM To: Anas Mughal Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Error while passing parameters as path Are you running PHP 3 as a CGI? Things work/don't work

Re: [PHP] Error while passing parameters as path

2001-08-25 Thread Rasmus Lerdorf
Are you running PHP 3 as a CGI? Things work/don't work a bit differently in CGI mode. -Rasmus On Sun, 26 Aug 2001, Anas Mughal wrote: > All, > I read the article by John Coggeshall on building search engine friendly > pages. Now, I trying to pass my script parameters as path (instead of > "?pa

[PHP] Error while passing parameters as path

2001-08-25 Thread Anas Mughal
All, I read the article by John Coggeshall on building search engine friendly pages. Now, I trying to pass my script parameters as path (instead of "?param=value¶m2=value2"). However, for some reason I keep on getting the following error: Fatal error: Unable to open /home/mydomain/public_html/tr

Re: [PHP] Error

2001-08-25 Thread Martin Kampherbeek
001 9:32 AM Subject: RE: [PHP] Error > > On 25-Aug-2001 Martin Kampherbeek wrote: > > I still get this error. Can someone help me to solve this? > > MySQL Query Failed. Error 1030: Got error -1 from table handler > > > > > > $query = "SELECT * FROM que

RE: [PHP] Error

2001-08-25 Thread Don Read
On 25-Aug-2001 Martin Kampherbeek wrote: > I still get this error. Can someone help me to solve this? > MySQL Query Failed. Error 1030: Got error -1 from table handler > > > $query = "SELECT * FROM question WHERE answer<>'1' AND id>250 ORDER BY id"; > > $result = mysql_query($query) or die('My

[PHP] Error

2001-08-24 Thread Martin Kampherbeek
I still get this error. Can someone help me to solve this? MySQL Query Failed. Error 1030: Got error -1 from table handler $query = "SELECT * FROM question WHERE answer<>'1' AND id>250 ORDER BY id"; $result = mysql_query($query) or die('MySQL Query Failed. Error '.mysql_errno().': '.mysql_error

[PHP] error in source !

2001-08-19 Thread nafiseh saberi
my problem solved, because of not match in {}. thanks. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] error in source !

2001-08-19 Thread nafiseh saberi
hi. I write it with php to relationship with databasein database server (with postgres). to update on field of one special row. $up = pg_exec($conn,"update personel set exit_m ='now' where name= '$ID' and date='now' "); what is the error in it?? thanks. -- PHP General Mailing List

[PHP] error: input in flex scanner failed

2001-08-18 Thread PeterOblivion
anyone got any inside info on waht this error means? I changed one line of code.. and caboom.. - Peter

Re: [PHP] error

2001-08-15 Thread Renze Munnik
On Wed, Aug 15, 2001 at 02:08:39PM +0200, Alexander Wagner wrote: > Eduardo Kokubo wrote: > > Hi, > > How can I change this error message to my own message? > > Warning: fopen("publico/d/bibliografia.html","w+") - No such file or > > directory > > There are two possibilities: > 1) Use @fopen(

Re: [PHP] error

2001-08-15 Thread Alexander Wagner
Eduardo Kokubo wrote: > Hi, > How can I change this error message to my own message? > Warning: fopen("publico/d/bibliografia.html","w+") - No such file or > directory There are two possibilities: 1) Use @fopen() instead of fopen(). This will supress the error-output. If fopen returns false,

[PHP] error

2001-08-15 Thread Eduardo Kokubo
Hi, How can I change this error message to my own message? Warning: fopen("publico/d/bibliografia.html","w+") - No such file or directory

[PHP] Error Handling: How to handle fatal errors?

2001-08-06 Thread Darius Ivanauskas
Hello, I have red all about Error handling but there isn't mentionet that user cant handle fatal errors :( I'm writing some application and need to hide all fatal errors from user and do some hidden reporting/logging such errors. But the handler function set by set_error_handler() din't get contr

[PHP] error trapping

2001-07-27 Thread Phil Spitler
I am wondering the best way to handle error trapping with PHP. I am farmiliar with languages, ColdFusion being one, that you can use TRY and CATCH statements. Any info would be appreciated. THANKS! - Phil Spitler [Vice President] Web Hut Design, Inc. c 704-451-1324

[PHP] error with exec ?!

2001-07-26 Thread hooger
Hi! I had a php page which uses exec function to run an exe : addgroup. The exe addgroup create a folder on the server. The code : ... $command="C:/WebEdu/PHP/PHPTest2/addgroup.exe test1"; exec($command, $list, $ret); ... My problem is that when I run the php page, it returns me : $list = "Er

[PHP] error trapping

2001-07-26 Thread Phil Spitler
I am wondering the best way to handle error trapping with PHP. I am farmiliar with languages, ColdFusion being one, that you can use TRY and CATCH statements. Any info would be appreciated. THANKS! - Phil Spitler [Vice President] Web Hut Design, Inc. c 704-451-1324

RE: [PHP] error using imagecreate function

2001-07-24 Thread John Steele
I don't think posting code is required here, the error message tells exactly what is going on. He either needs to have GD support compiled with his version of PHP, or if on windows adding a dl() call to the GD library functions before the call to any GD functions: dl('php_gd.dll') Even b

RE: [PHP] error using imagecreate function

2001-07-24 Thread Kurt Lieber
It would help if you can post the code you're using, rather than just the error message. > -Original Message- > From: venomous [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, July 24, 2001 5:17 PM > To: [EMAIL PROTECTED] > Subject: [PHP] error using imagecreate function

[PHP] error using imagecreate function

2001-07-24 Thread venomous
Can some one help me When i try tu use imagecreate i get an fatal error message (shown below) Fatal error: Call to undefined function: imagecreate() in c:\website\draw.php on line 4 does any body know why this error accurs. Thanx Venomous -- PHP General Mailing List (http://www.php.n

[PHP] error reporting

2001-07-23 Thread Justin French
Hi, On my local test server (PHP4.0.1, FreeBSD, MySQL), when I get a general error (bad code) it reports "error on on line 1". It allways says "line 1", even if it's line 4028. I've had experience with this happening if there is a structure problem with { brackets } missing (on any server)

[PHP] error on mail.....cjk

2001-07-17 Thread Constantine Koulis
hello all. i configured my php 4.0.5 with the following command on a REDHAT linux 7.0. #./configure --with-apache=../apache_1.3.20 --with-mysql --enable-trackvar --with-ftp. Now i am trying to install/configure a NEWSLETTER php program and i have the following message : Warning: mail() is not su

[PHP] Error compiling apache / php --with-t1lib

2001-07-17 Thread Sverre Johan Tøvik
Hi, I'm having trouble compiling php with t1lib support. Actually, php compiles fine, it stops when compiling apache. ./configure make make install php works fine. ./configure apache works. But when I make apache, I get: gcc -DLINUX=22 -I/usr/src/network/php-4.0.0 -I/usr/src/network/php-

RE: [PHP] Error Message with sessoin variables [solved]

2001-07-13 Thread Johnny Nguyen
Thanks. c:\temp took care of it. now if i can only get the extensions to work. -Original Message- From: Inércia Sensorial [mailto:[EMAIL PROTECTED]] Sent: Friday, July 13, 2001 4:39 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Error Message with sessoin variables. Windows plataform

Re: [PHP] Error Message with sessoin variables.

2001-07-13 Thread Inércia Sensorial
Windows plataform? I was getting this error and solved by creating a dir named 'tmp', so create: c:\tmp That's where the session files will be stored... I think it's configurable in php.ini. -- Julio Nobrega. You're asking me will my love grow, I don't know. "Johnny Nguyen" <[EMAIL PRO

[PHP] Error Message with sessoin variables.

2001-07-13 Thread Johnny Nguyen
I place at the top of my page and get this Warning: open(/tmp\sess_4821f31846678b2eda49a625b76ca14c, O_RDWR) failed: m (2) in w:\apache\loginform.php on line 1 Can somebody help? Do I need to make any changes to php.ini to get sessions working? Regards, Johnny -- PHP General Mailing List (htt

[PHP] error compiling php4.0.6 with apache

2001-07-12 Thread intiroch
> Jorge Inti Benites RocheHi! > i'm trying to compile php4.0.6 for it i do: > > ./configure --with-zlib --with-mm --with-mysql --with-mcal=../libmcal --with > -ldap --with-imap=/usr/lib --with-gettext --enable-ftp --with-db3=/usr/loc al > /BerkeleyDB.3.2 --with-apache=../apache --with-mcrypt > >

[PHP] Error Handling

2001-07-01 Thread ReDucTor
Hey, A Site one of my sites is hosted on(H4P), with it's php, when there is an error, it just doesn't display the page, any one ever had this problem? I tried it on another server, removed the error works on both now, but i don't want to have to switch just to test it, so does any one kn

[PHP] error in running apache while --with-apxs is a config option

2001-06-27 Thread Yamin Prabudy
i got this error Syntax error on line 205 of /usr/local/apache/conf/httpd.conf: Cannot load /usr/local/apache/libexec/libphp4.so into server: /usr/local/apache/libexec/libphp4.so: Undefined symbol "alloc_globals" can anybody help me fix it i used php4.05 with apache 1.3.20 with ./configure --w

Re: [PHP] Error messages

2001-06-22 Thread enygma
A lot of times, it will tell you what kind of error it isif it's a parse error, the first thing to look for is a missing semi-colon or something. Other than that, braces and parens are the ones that I miss the most. It's just a limitation of the PHP debugger right now. It might be fixed in lat

[PHP] Error messages

2001-06-22 Thread Coughlan, Andy-HQ
Title: Error messages Hi Guys and Gals, Whilst developing various php pages I noticed that occasionally when I get an error in a page the parser won't tell me which line the error is on, and just shows "error on line 1" even if the error is on line 93.  It isn't every page that does it, alth

[PHP] Error Running PHP4 Under NES 3.6 SP3

2001-06-20 Thread Daryl DuLong
Hi All, I've searched through the archives for an answer to this error and I can't seem to come up with one. I am trying to run PHP4 under Netscape Enterprise Server 3.6 SP3 on an IRIX box. It compiled correctly, and, yes, I did remember to include "--enable-libgcc" to the configuration process

Re: [PHP] Error: Supplied argument is not a valid MySQL result resource

2001-05-24 Thread Miles Thompson
db_connect doesn't exist. Try mysql_connect, or better yet, mysql_pconnect() Online manual at www.php.net. You can get quick results for any function by entering http://www.php.net/name_of_function and it is automatically searched for. Miles At 03:15 PM 5/24/01 +0100, Internaut wrote: >Hello

[PHP] Error: Supplied argument is not a valid MySQL result resource

2001-05-24 Thread Internaut
Hello I am in the process of learning php by following the examples out of the book, as I try to run this script an error message appears with the following: Warning: Supplied argument is not a valid MySQL result resource in /home/httpd/vhtdocs/tosh/php/show_more_db.php on line 10 Here is the s

[PHP] Error logging in PHP-4pl1 and Apache 1.3.19 w/ output buffering

2001-05-03 Thread Simon Stewart
I've an installation of PHP4pl1 running under Apache 1.3.19. Without output buffering enabled, the error logging is fine (going to Apache's error_log as expected) The problem is that when I turn on output buffering (to enable me to send cookies when I feel like it ;) the error logging stops being

[PHP] error reporting

2001-05-02 Thread BigVeggie
Is there any way to see my errors on he screen. The server has error reporting turned off. Ive tried setting error_reporting()function setting it to E_ALL etc. It still does not work. Does any one know what I can do? Clint -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-m

[PHP] error reporting/handling

2001-04-26 Thread Jack Dempsey
manesh, its in your php.ini file under error handling and logging... seek and ye shall find... -jack -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL

[PHP] Error Handling

2001-04-24 Thread Boget, Chris
Is there a good write up out there or can anyone offer some insight to the rest of us as to how error handling should be properly implemented? Yes, PEAR has some error handling routines, but it doesn't have any kind of information as to how it should be "properly" implemented. I've just finished

Re: [PHP] PHP Error

2001-04-23 Thread Plutarck
? Thanks for suggesting an alternative. Maxim Maletsky www.PHPBeginner.com -Original Message- From: Jochen Kaechelin [mailto:[EMAIL PROTECTED]] Sent: Monday, April 09, 2001 6:49 PM To: Maxim Maletsky Subject: RE: [PHP] PHP Error > it says that on line 15 of settings.php there

RE: [PHP] PHP Error

2001-04-23 Thread jessica
sky Subject: RE: [PHP] PHP Error > it says that on line 15 of settings.php there's an output. > > you need to set cookies BEFORE any output. > that's not quiet right! you can use the output buffering functions such as ob_start() to avoid this problem! -- phpArbeitsgru

RE: [PHP] Error Handling class

2001-04-12 Thread Taylor, Stewart
the PEAR library has an error class -Stewart. -Original Message- From: Boget, Chris [mailto:[EMAIL PROTECTED]] Sent: 12 April 2001 16:19 To: Php (E-mail) Subject: [PHP] Error Handling class I've looked around but haven't really found one... Does anyone know where I can fi

[PHP] Error Handling class

2001-04-12 Thread Boget, Chris
I've looked around but haven't really found one... Does anyone know where I can find a class (or a set of functions) that handles errors gracefully? I'm about to write something to do this but would rather not reinvent the wheel. thnx, Chris

RE: [PHP] PHP Error

2001-04-09 Thread Maxim Maletsky
sky Subject: RE: [PHP] PHP Error > it says that on line 15 of settings.php there's an output. > > you need to set cookies BEFORE any output. > that's not quiet right! you can use the output buffering functions such as ob_start() to avoid this problem! -- phpArbeitsgru

<    6   7   8   9   10   11   12   >