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
ph
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 s
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 ins
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
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
Have you tried saving the pages with a .phps extension and looking at them
in a browser? That usually uncovers syntactical errors quite quickly.
Miles
At 10:08 PM 8/15/2002 +0200, Christian Ista wrote:
> > Havn't the foggiest idea what it means, but what has usually happened
>is
> > that I misse
-Original Message-
From: Christian Ista [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 15, 2002 3:17 PM
To: 'Jay Blanchard'
Subject: RE: [PHP] Error
> How large is the page, can you send more? If not, can ou put line
numbers
> on the lines?
Not a of lines 20 fo
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&
[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 l
> 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 t
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
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
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: http://www.php.net/unsub.ph
start your file with :
error_reporting(E_ALL);
Op woensdag 14 augustus 2002 20:09, schreef Georgie Casey:
> rite,
>
> without access to the php.ini file, how can i get php to print all errors
> on my web server. it runs linux
> --
> Regards,
> Georgie Casey
> [EMAIL PROTECTED]
>
> ***
rite,
without access to the php.ini file, how can i get php to print all errors on
my web server. it runs linux
--
Regards,
Georgie Casey
[EMAIL PROTECTED]
***
http://www.filmfind.tv
Online Film Production Directory
***
--
PHP General Mailing L
I've searched the entire archives and google for a solution to this. There
are plenty of references to the "Unable to fork" error.. most having to do
with a bug in PHP 4.02. I writing the script for a remote Windows server
running PHP 4.21 so the bug shouldn't be a problem.. I can only assume I
that error appears many times to me...you can show some code so we all can
see what's wrong, but i've solved it adding a }, as i told you, manny times
it has appear to me, and that's the way i've solved it :D
>From: Shiloh Madsen <[EMAIL PROTECTED]>
>To: [EMAIL
Hi all. Im getting the above mentioned error: *Parse error*: parse
error, unexpected $ in *c:\program files\apache
group\apache\htdocs\login.php* on line *38* when I try to view the page
I just created. As a forewarning, I am very new to PHP, so I may have
done something stupid, and if it matt
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: 22 June 2002 15:19
> when I try and view stat.php I get this error:
>
> Parse error: parse error, expecting `T_STRING' or
> `T_VARIABLE' or `T_NUM_STRING' in C:\TecEco(Converting To
> PHP)\includes\stat.
> The only data returned by a browser in a "Cookie" header is the
> name/value pairs. So, your example would not pose a threat of any
sort.
> The "Referer" and "User-Agent" are separate headers, but like all data
> from the client, they should also not be trusted.
>
> If you have magic quotes ena
The only data returned by a browser in a "Cookie" header is the
name/value pairs. So, your example would not pose a threat of any sort.
The "Referer" and "User-Agent" are separate headers, but like all data
from the client, they should also not be trusted.
If you have magic quotes enabled, you
now.
>
> ----- Original Message -
> From: "1LT John W. Holmes" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
> Sent: Sunday, June 23, 2002 2:11 PM
> Subject: Re: [PHP] Error(Newbie)
>
>
> >$query = "INSERT INTO `sta
d I gather info
from?
Thanks,
JJ Harrison
[EMAIL PROTECTED]
www.tececo.com
BTW I have fixed the error now.
- Original Message -
From: "1LT John W. Holmes" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Sunday, June 23, 2002 2:11 PM
Subj
Do NOT do it that way! That may work now, but it may not in the future!
The correct way is to append. Like ".$_COOKIE['tececo_stats']."
(include the quotes). Do it the same way for the others.
1LT John W. Holmes wrote
>
>Try using $_COOKIE[tececo_stats] instead...without the single quotes
>$query = "INSERT INTO `stats` (`vid`, `id`, `vn`, `time`, `host`, `referrer`,
>`browser`) VALUES ('', '$id', '$_COOKIE
>['tececo_stats']', '$time', '$_SERVER['REMOTE_HOST']', '$_SERVER['HTTP_REFERER']',
>'$_SERVER
>['HTTP_USER_AGENT']'); ";
I hope you are using addslashes on your $_COOKIE and
#x27;]',
>'$_SERVER
>['HTTP_USER_AGENT']'); ";
Try using $_COOKIE[tececo_stats] instead...without the single quotes (for the other
vars, too).
You don't need all of those backticks in your query, either...
---John Holmes...
- Original Message ---
Both the below are in the same dir.
The meta.array_create.php file works fine
elsewhere
when I try and view stat.php I get this
error:
Parse error: parse error, expecting `T_STRING' or
`T_VARIABLE' or `T_NUM_STRING' in C:\TecEco(Converting To PHP)\includes\stat.php
on line 7
What doe
Ed,
Read the rest of the email. The problem WASN'T to do with what CLIENT was
reading the page at the time, it was to do with what SERVER was running the
PHP code.
Saving his text files onto the Mac, and then trying to run them produced
"Error on line 1", whilst saving and running the code on W
Why would this be the case? PHP is server-side and client independent...
> -Original Message-
> Your problem is undoubtably to do with the difference in line
> endings on
> mac/pc/unix.
>
This message is int
Try the error_reporting function, which is also
a PHP directive in php.ini
http://www.php.net/manual/en/features.error-handling.php
http://www.php.net/error_reporting
Although you should just fix the errors ;)
Regards,
Philip Olson
On Wed, 19 Jun 2002, Shashwat Nagpal wrote:
> Hi! I did
Hi! I did some code, and I am getting warning messages everywhr, I know thr
is a code for it, can u help me? I forgot that msg.
keep in mind, I don't have the xs to php.ini... pls. tell me the settings
for the code file itself..
thanks.
--
_
Shashwat Nag
It's nothing you have to worry about, but you need to edit your php.ini
file and change the error reporting settings. Find the error_reporting
directives (there will be several, all but one commented out) and
uncomment the one that looks like:
error_reporting = E_ALL & ~E_NOTICE & ~E_WARNING
i've seen this quite often and in my case, it always happens when you
have en error in an "if" or similar sentence. then it always tells me
theres an error on line 1 (ie 5.2 on mac os x).
chris
Am Dienstag den, 18. Juni 2002, um 17:12, schrieb Kevin Ruiz:
> I'm sorry...I think I was unclear.
Your problem is undoubtably to do with the difference in line endings on
mac/pc/unix.
Basically, when PHP parses your file, it see's it all as one line, and is
finding the error on LINE 1, which is correct.
When the same file is saved on a unix or pc system, the line endings are
different, and P
I'm sorry...I think I was unclear.
Even if my script has an error on say line 42 it still tells me that the
error is on line 1. I've done some debugging and now that there's only one
error on the page but it always tells me that the error is on line 1.
Thanks.
in article 1024412641.2218.2.cam
Software http://www.openlinksw.com
Universal Data Access & Virtuoso Universal Server
-Original Message-
From: Kevin Ruiz [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 18, 2002 9:58 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Error Reporing Questions with Mac
I'm running php 4
Perhaps it was a typo, but "parse error on line 1" does state the line
number.
tyler
On Tue, 2002-06-18 at 09:57, Kevin Ruiz wrote:
> I'm running php 4 on a unix server and am experiencing a problem with error
> reporting I'm getting on my mac.
>
> When I get a parse error it won't tell me what
I'm running php 4 on a unix server and am experiencing a problem with error
reporting I'm getting on my mac.
When I get a parse error it won't tell me what line the error is on...it
simply says "parse error on line 1". When I test the page on a pc I get an
error message that I can use... "parse
Hello folks,
When i tried to install php.My make command stops with the following error
gd.c:95: conflicting types for `gdIOCtx'
/usr/local/include/gd_io.h:18: previous declaration of `gdIOCtx'
gd.c: In function `php_if_imagecreatefromgif':
gd.c:1209: `gdImageCreateFromGif' undeclared (first use
I am getting this error with a new install of PHP4.2.1 and Zend
Optimizer 1.3.1:
The file '/tmp/phpr4WYQY' must be in the database directory or be
readable by all
I just updated PHP and the Zend Optimizer, and it had worked previously
with PHP4.1.2,
Any ideas??
Thanks
--
PHP General Mail
On Monday 10 June 2002 09:42, Scott 'INtense!' Reismanis wrote:
> Hey all,
>
> I recently installed Apache2, PHP4.2 on my win2k box as a module. It
> works fine however say a script has a syntax error all that happens is a
> blank screen is displayed. No errors are shown and thus it is very hard
>
Hey all,
I recently installed Apache2, PHP4.2 on my win2k box as a module. It
works fine however say a script has a syntax error all that happens is a
blank screen is displayed. No errors are shown and thus it is very hard
to debug when I don't know what the error is, and what line it occurs
on.
I got an error handler setup, and Im using trigger_error() to do certain
things.
function errorhandler($type, $msg, $file, $line)
{
switch ($type)
{
/*
case E_NOTICE:
$exit = FALSE;
break;
*/
case E_USER_WARNING:
pretty_error_display($msg);
Hi everybody,
I hope u can help me with this. This file should give me an error msg
that there is time-out coz of the loop. But it's not giving me anything.
What could be the problem?
Thx a lot
FATAL [$errno] $errstr\n";
echo " Fatal error in line ".$errline." of file ".$errfile;
echo
s what ur error message would suggest ... try looking on the php site
.
>
> -Original Message-
> From: Michael P. Carel [mailto:[EMAIL PROTECTED]]
> Sent: Friday, 24 May 2002 1:49 PM
> To: Peter
> Subject: Re: [PHP] error in compling with oracle support
>
>
> so
t; > ummm ur answer is in your question !!
> > >
> > > -Original Message-----
> > > From: Michael P. Carel [mailto:[EMAIL PROTECTED]]
> > > Sent: Friday, 24 May 2002 12:56 PM
> > > To: php
> > > Subject: [PHP] error in compling with oracle
> > From: Michael P. Carel [mailto:[EMAIL PROTECTED]]
> > Sent: Friday, 24 May 2002 12:56 PM
> > To: php
> > Subject: [PHP] error in compling with oracle support
> >
> >
> > Hi to All,
> >
> > Is there anyone know's why im receiving this
that's what ur error message would suggest ... try looking on the php site .
-Original Message-
From: Michael P. Carel [mailto:[EMAIL PROTECTED]]
Sent: Friday, 24 May 2002 1:49 PM
To: Peter
Subject: Re: [PHP] error in compling with oracle support
so you mean php does'nt supp
can i now where and why? pls
> ummm ur answer is in your question !!
>
> -Original Message-
> From: Michael P. Carel [mailto:[EMAIL PROTECTED]]
> Sent: Friday, 24 May 2002 12:56 PM
> To: php
> Subject: [PHP] error in compling with oracle support
>
>
>
ummm ur answer is in your question !!
-Original Message-
From: Michael P. Carel [mailto:[EMAIL PROTECTED]]
Sent: Friday, 24 May 2002 12:56 PM
To: php
Subject: [PHP] error in compling with oracle support
Hi to All,
Is there anyone know's why im receiving this error in compilin
Hi to All,
Is there anyone know's why im receiving this error in compiling PHP-4.2.1
with oracle support in AIX. Im using oracle 7.3.4.0.0 .
Im having an configure error: Unsupported Oracle version!
Here's my config script:
./configure --with-apache=../apache_1.3.24 \
--with-enable-track-vars -
Hi,
I'm getting errors when trying to install PHP 4.2.1 on Solaris 2.8 with as
a Dynamic module and as a Static module.
The error for the Static Module creation is:
configure: error: Invalid Apache directory - unable to find httpd.h under
/usr/l
ocal/apache/include
The thing is, it does exist
Hello everyone.
I have been using PHP since version 4.0.6 and always
compile from source. I have not had a single problem
until now. I'm trying to upgrade from php-4.1.2 to
php-4.2.1, and when i make install php-4.2.1, *any*
PHP page i access throws off a ton of errors that
i've never seen befo
: <[EMAIL PROTECTED]>
Sent: Thursday, May 09, 2002 4:00 PM
Subject: [PHP] error-catching
> Hi!
>
> When I open a database connection and i. e. the db-server is down,
> I get a very long, long error message telling me that the server is down.
>
> What I want to do is just echo
> really nice error message. I put it below. Is this a PHP
> function/mode/config option or where these things written by
> the people who maintain PHP on that site?
> MySQL Error : Connection Error
> Error Number: 1045 Access denied for user: 'icon@localhost'
[etc]
A little of both I wo
Ferry,
I think this is a fairly standard error message suggesting that the
password information being passed to the underlying database is
incorrect.
It would be the settings to connect to the database that need to be
altered in this case.
Michael Egan
> Warning: Access denied for user: 'icon@
Hey there,
I just came across a really busy site due to the murder on Pim Fortuyn in
the Netherlands.
Anyways, this site gives a really nice error message. I put it below. Is
this a PHP function/mode/config option or where these things written by the
people who maintain PHP on that site?
It look
I just finished recompiling PHP, and attempt to start the webserver
agian, but i get the following error:
Setting up Web Service: Syntax error on line 58 of
/etc/httpd/conf/httpd.conf:
Cannot load /etc/httpd/modules/libphp4.so into server:
/etc/httpd/modules/libphp4.so: undefined symbol: uncomp
Im trying to connect to a mssql server but i results a could not
connect to server error.
The server is Win2000 IIS running MSSQL 2000.
PHP 4.1.2
Server API CGI
mssql config:
mssql
MSSQL Support
enabled
Active Persistent Links
0
Active Links
0
Library version
7.0
Directive
Local Valu
It does not work. Can somebody to help me!?!?!?
Each time I try to write with ming it does not work. I have Popup: The
instruction At "0x00b907fc" referenced memory At "0x00abc000". The memory
could not Be "written".
I maked a file .mdb by my self (if the file would not be portable...) I
u
On Thursday, April 18, 2002, at 08:53 AM, Julio Nobrega Trabalhando
wrote:
> Anyone recommend a good one? I am in need of the following features:
>
> 1) Catch any type of errors,
> 2) Actions like: Show on the screen, log on a file or database, or
> email,
> 3) Different actions for each er
Anyone recommend a good one? I am in need of the following features:
1) Catch any type of errors,
2) Actions like: Show on the screen, log on a file or database, or email,
3) Different actions for each error level/warning type, etc..
I have searched Hotscripts, but only found classes to cont
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] says...
> Hi Tyler,
>
> Thank you,
> I checked the permissions and the ownership, all ok, but by inserting
> the absolute path
> in the page, the code is running and get the expected output from the
> script. I realized that
> I made the same mi
gt;it's owned by root).
>
>Good luck,
>Tyler Longren
>Captain Jack Communications
>www.captainjack.com
>[EMAIL PROTECTED]
>
>- Original Message -
>From: "Andrew Schoenherr" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Saturday, Ap
#x27;s owned by root).
Good luck,
Tyler Longren
Captain Jack Communications
www.captainjack.com
[EMAIL PROTECTED]
- Original Message -
From: "Andrew Schoenherr" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, April 13, 2002 12:54 AM
Subject: [PHP] Error
Hello,
PHP Version: 4.1.0, Apache Version: 1.3.12, Server: Linux 7.0
Class name: class.Htpasswd.php3
Thanks to Jason Wong for pointers on posting to the list, the parse
error was a simple omission of a quotation mark on my part.
This is the error I am getting...
Warning: Failed opening 'class.
Hi there,
How can I determine if a script is terminated normally or with an error
(execution time out, memory limit exceeded, etc.)?
I'm writing a new PHP extension, and I need to generate an alert if the
script is terminted due to a timeout error or memory limit exceeded error.
However, I canno
Did you compile in ftp support? It's not there unless you do.
http://www.php.net/manual/en/ref.ftp.php
- Original Message -
From: "Chris Kay" <[EMAIL PROTECTED]>
> Would any one know why when I run command line php I get the following?
>
> [root@*** ]# /usr/bin/php /data/web/root/
Would any one know why when I run command line php I get the following?
[root@*** ]# /usr/bin/php /data/web/root/***/getdata.php
X-Powered-By: PHP/4.1.2
Content-type: text/html
Fatal error: Call to undefined function: ftp_connect() in
/data/web/root/***/getdata.php on line 16
---
C
At our web hosting facillity we have several developers (each who recieve a seperate
email when an error occurs on the site there working on) and we would like to have
extra
data included in the log files which are written (such as the $_POST, $_GET, $_ENV, and
$_SERVER arrays), this would help u
On Friday 22 March 2002 00:29, Richard Fox wrote:
> When I try to configure PHP 4.1.1 I get the following error:
> configure: error: Cannot find header files under /usr/include/mysql
>
> The command line I'm using to configure:
>
> ./configure --with-mysql=/usr/include/mysql
./configure --wi
When I try to configure PHP 4.1.1 I get the following error:
checking whether to include ming support... no
checking for mnoGoSearch support... yes
checking for mnoGoSearch version... 3.1.19
checking for mSQL support... no
checking for Muscat support... no
checking for MySQL support... yes
config
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] says...
> I want errors reported on a page when the mail()
> function for any reason fails to send emails. FOr
> example, if there is a malformed email address or
> anything, and the mail is not sent, how can i catch
> the Error and Display it on
On Tue, 12 Mar 2002, Thomas Edison Jr. wrote:
> I want errors reported on a page when the mail()
> function for any reason fails to send emails. FOr
> example, if there is a malformed email address or
> anything, and the mail is not sent, how can i catch
> the Error and Display it on the page?
t
I want errors reported on a page when the mail()
function for any reason fails to send emails. FOr
example, if there is a malformed email address or
anything, and the mail is not sent, how can i catch
the Error and Display it on the page?
Thanks,
T. Edison Jr.
=
Rahul S. Johari (Director)
/www.php.net/manual/en/function.error-reporting.php
>
> Dan
>
> -Original Message-
> From: S.Murali Krishna [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, March 09, 2002 6:43 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Error Handler Problem
>
>
> Hi All,
MAIL PROTECTED]]
Sent: Saturday, March 09, 2002 6:43 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Error Handler Problem
Hi All,
I tell my requierment first. Just in short I want to capture a
error of "Undefined Function .so and so..." .
I set Error Handler to
E_ALL
Hi All,
I tell my requierment first. Just in short I want to capture a
error of "Undefined Function .so and so..." .
I set Error Handler to
E_ALL & ~E_ERROR and I set my own Error Handler to capture errors
then I called a Non-Existent Function intentionally.
in this case
On Saturday 09 March 2002 17:25, Kancha . wrote:
> what does this error mean. What should i do to make it
> portable to future version of php. I'm using version
> 4.1.0
>
> Warning: Call-time pass-by-reference has been
> deprecated - argument passed by value; If you would
> like to pass it by refe
what does this error mean. What should i do to make it
portable to future version of php. I'm using version
4.1.0
Warning: Call-time pass-by-reference has been
deprecated - argument passed by value; If you would
like to pass it by reference, modify the declaration
of [runtime function name](). If
You have to check your php.ini and set a valid tmp directory for storing
session data. Look for the session section.
William.
El vie, 01-03-2002 a las 02:52, mm fernandez escribió:
> hi. i get this error message whenever i open my page (except during the
> first time i open it). Can someone
hi. i get this error message whenever i open my page (except during the
first time i open it). Can someone tell me what this means?
Warning: open(/tmp\sess_4ed4219513a84c54eba4c1117756c572, O_RDWR) failed: m
(2) in C:\apache\htdocs\rs_alumni\alumni.php on line 2
Here is the beginning of my cod
Anyone know why someone would get a 405 Resource not allowed error while
trying to input to a PHP script from a form, using Windows XP, IIS 5 and PHP
1.1.1 (CGI Ver.)
_
Get your FREE download of MSN Explorer at http://explorer.msn.
4.1.1/TSRM -O3 -march=i686
-o php -export-dynamic stub.lo libphp4.la
/usr/bin/ld: cannot find -l--library=gmp
collect2: ld returned 1 exit status
make[1]: *** [php] Error 1
make[1]: Leaving directory
`/data/software/php/php-4.1.1'
make: *** [all-recursive] Error 1
Please hel
I am getting the following error after upgrading from PHP4.0.3 to PHP4.1.1
on Apache 1.3.9 and RedHat Linux 6.1. Complied as a dynamic module.
Cannot load /usr/modules/libphp4.so into server: /usr/modules/libphp4.so:
undefined symbol: ssl_onceonlyinit
Could anyone indicate why I may possibly be
Hi,
everytime I request a phpscript form my Apache I got an segmentation fault 11 in
apaches errorlog.
System is:
Apache 1.3.22, PHP 4.1.1, SuSE Linux 7.2 (2.2.19)
The backtrace:
(gdb) run -X
Starting program: /usr/local/apache/bin/httpd -X
Program received signal SIGSEGV, Segmentation fault.
When trying to load Zend optimizer, the following error gets logged:
Failed loading /var/www/lib/ZendOptimizer.so: ld.so.1: \
/opt/apache/bin/httpd: fatal: relocation error: file \
/var/www/lib/ZendOptimizer.so: symbol _erealloc: referenced \
symbol not found
I
On Thursday 24 January 2002 17:57, Mårten Andersson wrote:
> var_dump(printer_list(PRINTER_ENUM_LOCAL | PRINTER_ENUM_SHARED));
>
> When I try to run this the following errormessage occurs:
> Fatal error: Call to undefined function: infophp() in D:\Program
> Files\Apache Group\Apache\htdocs/index.p
var_dump(printer_list(PRINTER_ENUM_LOCAL | PRINTER_ENUM_SHARED));
When I try to run this the following errormessage occurs:
Fatal error: Call to undefined function: infophp() in D:\Program
Files\Apache Group\Apache\htdocs/index.php on line 61
Undefined function? What does that mean?
//M.
ng());
> -Original Message-
> From: Dan McCullough [mailto:[EMAIL PROTECTED]]
> Sent: January 21, 2002 11:22 AM
> To: PHP General List
> Subject: [PHP] Error notification and pretty error page
>
>
> How can i include error notification, like if an MySQL error
> o
Hi Dan,
> How can i include error notification, like if an MySQL error occurs,
> to notify me of the offending page and what the error was, while
> having the page die quietly or nicely, like an message saying that
> the webmaster will be notified please continue?
you can make a generic function
How can i include error notification, like if an MySQL error occurs, to notify me of
the offending
page and what the error was, while having the page die quietly or nicely, like an
message saying
that the webmaster will be notified please continue?
=
dan mccullough
-
On Tuesday, January 8, 2002, at 09:37 AM, Dean Ouellette wrote:
> Hi I am learning php with Sams leanr php in 24 hours.
>
> This is one example
>function addNums($firstnum, $secondnum)
> {
> $result = $firstnum + $secondnum;
> return $result;11:
Hi I am learning php with Sams leanr php in 24 hours.
This is one example
When I run it get error line 13
any ideas?
--
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 administra
Hey there,
I'm playing around with the logging options in the php.ini file.
I set this:
display_errors = Off
Because I don't want to visitors to see any errors (besides the errors I
define myself in the PHP script, which is exactly what this does... I only
print out things like can't open data
Andrew
- Original Message -
From: "jjt" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, December 26, 2001 1:53 AM
Subject: Re: [PHP] Client side fatal PHP error
> Ah yes... that would do it. How embarrassing! But another respondent
brought
> up an inte
or "P", the error
will never happen.
Also, if your if statement isn't always reached, then the error will not happen.
Finally, not all users will report the error when they get it. But you can deal with
that by looking at your PHP error log file.
I believe there is a way to call P
> Ah yes... that would do it. How embarrassing! But another respondent brought
> up an interesting question. Why does this error not show up every time? As
> written, it is a basic syntactical error. I tested this thing up and down; I
> test it in production every day.
This error will happen ever
> 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.
It's good to program with error_reporting turned all the wa
Ah yes... that would do it. How embarrassing! But another respondent brought
up an interesting question. Why does this error not show up every time? As
written, it is a basic syntactical error. I tested this thing up and down; I
test it in production every day.
Ah it's always something th
901 - 1000 of 1149 matches
Mail list logo