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
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
> "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"
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
>>
>>
>>
,
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
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
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
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
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
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
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
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
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
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
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
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
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
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(
#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]
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
<[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
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
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
> 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:/
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
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
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
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
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
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
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'
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
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
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 ---
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
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
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
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
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
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
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
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
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
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
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
./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
> -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
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:
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_
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
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
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
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) {
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
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
> -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
.
-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
> 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
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
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
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
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
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
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
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]
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
anyone got any inside info on waht this error means?
I changed one line of code.. and caboom..
- Peter
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(
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,
Hi,
How can I change this error message to my own message?
Warning: fopen("publico/d/bibliografia.html","w+") - No such file or directory
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
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
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
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
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
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
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
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)
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
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-
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
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
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
> 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
>
>
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
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
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
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
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
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
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
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
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
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
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
?
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
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
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
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
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
1001 - 1100 of 1149 matches
Mail list logo