Re: [PHP] Error Message - Need help troubleshooting

2010-03-02 Thread Ashley Sheridan
On Tue, 2010-03-02 at 09:35 -0500, Rick Dwyer wrote: On Mar 2, 2010, at 8:48 AM, Ashley Sheridan wrote: How is $item_id created? You've not shown that in your PHP script examples. // parse item id from the url $refer=$_SERVER['HTTP_REFERER']; $thispage=$_SERVER['PHP_SELF'];

Re: [PHP] Error Message - Need help troubleshooting

2010-03-02 Thread Joseph Thayne
I do not know if the question has been answered, but how are you opening the session? Are you using session_start() or are you using session_register()? Rick Dwyer wrote: On Mar 2, 2010, at 8:48 AM, Ashley Sheridan wrote: How is $item_id created? You've not shown that in your PHP script

Re: [PHP] Error Message - Need help troubleshooting

2010-03-02 Thread Rick Dwyer
On Mar 2, 2010, at 9:35 AM, Ashley Sheridan wrote: I'm assuming then that both the Javascript an the PHP code you have above are both on the same page. The only way I can see your problem occurring would be if your javascript part was on a different page and you were attempting to output

Re: [PHP] Error Message - Need help troubleshooting

2010-03-02 Thread Rick Dwyer
On Mar 2, 2010, at 9:45 AM, Joseph Thayne wrote: I do not know if the question has been answered, but how are you opening the session? Are you using session_start() or are you using session_register()? Hi Joseph. It is created via: session_start(); --Rick -- PHP General Mailing List

Re: [PHP] RE: [Formaldehyde] The Most Basic Ajax - PHP Error Debugger

2009-09-14 Thread mm w
Noe that the debuger chapter is closed, and you actually did create a error tracker helper and try to return them client side, I can understand that you are frustrated by the poor php layer and support regarding exception handling, but on this point as a lot of people answer you we are doing that

Re: [PHP] RE: [Formaldehyde] The Most Basic Ajax - PHP Error Debugger

2009-09-14 Thread mm w
Hello Andrea, I did not mean to hurt you, my point was: beeing a Jerk when it's ending in void conflicts with people, if you don't like their comments, just don't answer to people. For my concern, a program cannot be debuged by itself (especially with a scripting language, we almost did a joke

Re: [PHP] RE: [Formaldehyde] The Most Basic Ajax - PHP Error Debugger

2009-09-14 Thread tedd
At 7:28 AM +0200 9/14/09, J DeBord wrote: In all fairness Tedd, your example is a bit of a joke. Send some JSON back and forth, do some database queries, and use a webservice all at the same time. Your AJAX calls won't be so simple then. Okay, so my work is a joke. Been there, done that

RE: [PHP] RE: [Formaldehyde] The Most Basic Ajax - PHP Error Debugger

2009-09-14 Thread Andrea Giammarchi
While it's a joke, in all fairness, it does work. only because you debugged before server side responses, and now, as I have said, you have an alternative to speed up that process. Finally, Formaldehyde JS had a typo so only today I realized it and I uploaded the version 1.01 of

RE: [PHP] RE: [Formaldehyde] The Most Basic Ajax - PHP Error Debugger

2009-09-14 Thread Andrea Giammarchi
While it's a joke, in all fairness, it does work. only because you debugged before server side responses, and now, as I have said, you have an alternative to speed up that process. Finally, Formaldehyde JS had a typo so only today I realized it and I uploaded the version 1.01 of

RE: [PHP] RE: [Formaldehyde] The Most Basic Ajax - PHP Error Debugger

2009-09-13 Thread Andrea Giammarchi
That I created some fresh air or something new? Sure, thanks Date: Sat, 12 Sep 2009 11:47:27 -0700 From: li...@cmsws.com To: an_...@hotmail.com CC: pa...@quillandmouse.com; php-general@lists.php.net Subject: Re: [PHP] RE: [Formaldehyde] The Most Basic Ajax - PHP Error Debugger Andrea

RE: [PHP] RE: [Formaldehyde] The Most Basic Ajax - PHP Error Debugger

2009-09-13 Thread Andrea Giammarchi
-general@lists.php.net Subject: Re: [PHP] RE: [Formaldehyde] The Most Basic Ajax - PHP Error Debugger On Sat, Sep 12, 2009 at 8:47 PM, Jim Lucas li...@cmsws.com wrote: Andrea Giammarchi wrote: something I cannot find in any other library or framework. This should tell you something

Re: [PHP] RE: [Formaldehyde] The Most Basic Ajax - PHP Error Debugger

2009-09-13 Thread Paul M Foster
On Sun, Sep 13, 2009 at 01:33:49PM +0200, Andrea Giammarchi wrote: snip This ML is a bit different from what I was expecting, snip P.S. I am certified Zend Engineer with 10 years of experience with PHP and dunno how many innovation awards in phpclasses.org ... so it was not just to

Re: [PHP] RE: [Formaldehyde] The Most Basic Ajax - PHP Error Debugger

2009-09-13 Thread Eddie Drapkin
What does this offer that a real debugger, like xdebug, doesn't? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] RE: [Formaldehyde] The Most Basic Ajax - PHP Error Debugger

2009-09-13 Thread mm w
: jasdeb...@gmail.com Date: Sat, 12 Sep 2009 22:37:01 +0200 To: php-general@lists.php.net Subject: Re: [PHP] RE: [Formaldehyde] The Most Basic Ajax - PHP Error Debugger On Sat, Sep 12, 2009 at 8:47 PM, Jim Lucas li...@cmsws.com wrote: Andrea Giammarchi wrote: something I cannot find in any

RE: [PHP] RE: [Formaldehyde] The Most Basic Ajax - PHP Error Debugger

2009-09-13 Thread Andrea Giammarchi
Hello Andrea, I am developing with PHP since now 12 years (did a couple stuff in Zend Core), and was one of a few guy using and sharing about php when it was only an THE Apache mode in the world C++ CGI, I am not Zend Certified, I won't :), anyway those things make me smarter or give me

RE: [PHP] RE: [Formaldehyde] The Most Basic Ajax - PHP Error Debugger

2009-09-13 Thread Andrea Giammarchi
, that IS what I was expecting Date: Sun, 13 Sep 2009 13:52:11 -0400 From: oorza...@gmail.com To: pa...@quillandmouse.com CC: php-general@lists.php.net Subject: Re: [PHP] RE: [Formaldehyde] The Most Basic Ajax - PHP Error Debugger What does this offer that a real debugger, like xdebug, doesn't

Re: [PHP] RE: [Formaldehyde] The Most Basic Ajax - PHP Error Debugger

2009-09-13 Thread Eddie Drapkin
- PHP Error Debugger What does this offer that a real debugger, like xdebug, doesn't? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php _ Share your memories online

RE: [PHP] RE: [Formaldehyde] The Most Basic Ajax - PHP Error Debugger

2009-09-13 Thread Andrea Giammarchi
is not offered so far by your suggested one as well, and please tell me how quick could be an instant PHP error on screen during tests or debug rather than a log analysis but in any case, thanks for the feedback. This is the only serious analysis so far, and I am looking forward for others, if any. Best

RE: [PHP] RE: [Formaldehyde] The Most Basic Ajax - PHP Error Debugger

2009-09-13 Thread Andrea Giammarchi
Sorry, I meant environment ... plus you'll have 1:1 production/development application _ More than messages–check out the rest of the Windows Live™. http://www.microsoft.com/windows/windowslive/

Re: [PHP] RE: [Formaldehyde] The Most Basic Ajax - PHP Error Debugger

2009-09-13 Thread Eddie Drapkin
was a desirable thing. Things like xdebug, display_errors, inclued, etc. should be disabled for production and enabled for development. That simplicity is not offered so far by your suggested one as well, and please tell me how quick could be an instant PHP error on screen during tests or debug  rather

RE: [PHP] RE: [Formaldehyde] The Most Basic Ajax - PHP Error Debugger

2009-09-13 Thread Andrea Giammarchi
No, display_errors should be turned off (with log_errors turned on) and error_reporting should be set to whatever standard you're coding to (preferably, E_ALL | E_STRICT, but a lot of people like to ignore E_NOTICE's). yep, it should be a production environment So it's not zero

RE: [PHP] RE: [Formaldehyde] The Most Basic Ajax - PHP Error Debugger

2009-09-13 Thread tedd
At 10:49 PM +0200 9/13/09, Andrea Giammarchi wrote: I was expecting somebody that develop massive Ajax application, not a link with 3 pages and zero point about the reply. You asked if anyone did any ajax? So, I replied and provided you with an example. Who cares if my example only has

Re: [PHP] RE: [Formaldehyde] The Most Basic Ajax - PHP Error Debugger

2009-09-13 Thread J DeBord
On Mon, Sep 14, 2009 at 2:05 AM, tedd tedd.sperl...@gmail.com wrote: At 10:49 PM +0200 9/13/09, Andrea Giammarchi wrote: I was expecting somebody that develop massive Ajax application, not a link with 3 pages and zero point about the reply. You asked if anyone did any ajax? So, I replied

Re: [PHP] RE: [Formaldehyde] The Most Basic Ajax - PHP Error Debugger

2009-09-12 Thread kranthi
I dont think I understood you completely.. Javascript debugger: Something you use to debug javascript. but Formaldehyde dosent make any seance if xhr object is not used. PHP Debugger: We cant use Formaldehyde to debug errors in every single PHP script. I am talking about pages called directly via

Re: [PHP] RE: [Formaldehyde] The Most Basic Ajax - PHP Error Debugger

2009-09-12 Thread kranthi
@Andera May be you should consider using application/json as the content type instead of text/plain. The Response text given by  Formaldehyde cannot be understood manually (for example if I use jQuery.load()). Had the content type been application/json firebug parses it by default my

RE: [PHP] RE: [Formaldehyde] The Most Basic Ajax - PHP Error Debugger

2009-09-12 Thread Andrea Giammarchi
my english is not perfect, right ... but let me unsderline something. The subject: [Formaldehyde] The Most Basic Ajax -- - *PHP* *Error* *Debugger* It's a PHP Error Debugger specially suited for Ajax interactions. Secondly, The set_error_handler is not enough, write it even

RE: [PHP] RE: [Formaldehyde] The Most Basic Ajax - PHP Error Debugger

2009-09-12 Thread Andrea Giammarchi
: kranthi...@gmail.com Date: Sat, 12 Sep 2009 11:39:43 +0530 To: pa...@quillandmouse.com CC: php-general@lists.php.net Subject: Re: [PHP] RE: [Formaldehyde] The Most Basic Ajax - PHP Error Debugger I dont think I understood you completely.. Javascript debugger: Something you use to debug

RE: [PHP] RE: [Formaldehyde] The Most Basic Ajax - PHP Error Debugger

2009-09-12 Thread Andrea Giammarchi
as margin note, the project page changed name, hopefully less ambiguous: Formandehyde - Zero Config Ajax Based PHP Error Debugger Regards _ Drag n’ drop—Get easy photo sharing with Windows Live™ Photos. http://www.microsoft.com

RE: [PHP] RE: [Formaldehyde] The Most Basic Ajax - PHP Error Debugger

2009-09-12 Thread tedd
At 12:20 AM +0200 9/12/09, Andrea Giammarchi wrote: Date: Fri, 11 Sep 2009 12:37:30 -0400 To: an_...@hotmail.com; php-general@lists.php.net From: tedd.sperl...@gmail.com Subject: RE: [PHP] RE: [Formaldehyde] The Most Basic Ajax - PHP Error Debugger The only things that may go wrong

Re: [PHP] RE: [Formaldehyde] The Most Basic Ajax - PHP Error Debugger

2009-09-12 Thread Jim Lucas
Andrea Giammarchi wrote: something I cannot find in any other library or framework. This should tell you something then... -- Jim Lucas Some men are born to greatness, some achieve greatness, and some have greatness thrust upon them. Twelfth Night, Act II, Scene V by William

Re: [PHP] RE: [Formaldehyde] The Most Basic Ajax - PHP Error Debugger

2009-09-12 Thread J DeBord
On Sat, Sep 12, 2009 at 8:47 PM, Jim Lucas li...@cmsws.com wrote: Andrea Giammarchi wrote: something I cannot find in any other library or framework. This should tell you something then... If something like Formandehyde isn't useful, then why is Charles so popular (note: popular from my

[PHP] RE: [Formaldehyde] The Most Basic Ajax - PHP Error Debugger

2009-09-11 Thread tedd
At 11:35 PM +0200 9/10/09, Andrea Giammarchi wrote: Being something nobody thought before I was expecting some comment ... zero Ajax developers here? Andrea: No, I develop in ajax. Here's one of my demos: http://webbytedd.com/a/ajax-site/ Please note that the above site can be

RE: [PHP] RE: [Formaldehyde] The Most Basic Ajax - PHP Error Debugger

2009-09-11 Thread Andrea Giammarchi
...@hotmail.com; php-general@lists.php.net From: tedd.sperl...@gmail.com Subject: [PHP] RE: [Formaldehyde] The Most Basic Ajax - PHP Error Debugger At 11:35 PM +0200 9/10/09, Andrea Giammarchi wrote: Being something nobody thought before I was expecting some comment ... zero Ajax developers

RE: [PHP] RE: [Formaldehyde] The Most Basic Ajax - PHP Error Debugger

2009-09-11 Thread tedd
At 3:27 PM +0200 9/11/09, Andrea Giammarchi wrote: That's a finished production site ... how did you debug during its development? 'Cause Formaldehyde is for development, not for production ... I guess you have implented your own error manager/debugger, right? What's to debug? The site --

RE: [PHP] RE: [Formaldehyde] The Most Basic Ajax - PHP Error Debugger

2009-09-11 Thread Andrea Giammarchi
Basic Ajax - PHP Error Debugger At 3:27 PM +0200 9/11/09, Andrea Giammarchi wrote: That's a finished production site ... how did you debug during its development? 'Cause Formaldehyde is for development, not for production ... I guess you have implented your own error manager/debugger, right

RE: [PHP] RE: [Formaldehyde] The Most Basic Ajax - PHP Error Debugger

2009-09-11 Thread Andrea Giammarchi
me the scenario is totally different. Regards Subject: RE: [PHP] RE: [Formaldehyde] The Most Basic Ajax - PHP Error Debugger From: a...@ashleysheridan.co.uk To: tedd.sperl...@gmail.com CC: an_...@hotmail.com; php-general@lists.php.net Date: Fri, 11 Sep 2009 15:39:12 +0100 On Fri, 2009

RE: [PHP] RE: [Formaldehyde] The Most Basic Ajax - PHP Error Debugger

2009-09-11 Thread Ashley Sheridan
On Fri, 2009-09-11 at 10:35 -0400, tedd wrote: At 3:27 PM +0200 9/11/09, Andrea Giammarchi wrote: That's a finished production site ... how did you debug during its development? 'Cause Formaldehyde is for development, not for production ... I guess you have implented your own error

Re: [PHP] RE: [Formaldehyde] The Most Basic Ajax - PHP Error Debugger

2009-09-11 Thread Bipin Upadhyay
, 'cause here seems nobody i susing FirePHP or frameworks debuggers while numbers tell me the scenario is totally different. Regards Subject: RE: [PHP] RE: [Formaldehyde] The Most Basic Ajax - PHP Error Debugger From: a...@ashleysheridan.co.uk To: tedd.sperl...@gmail.com CC: an_

RE: [PHP] RE: [Formaldehyde] The Most Basic Ajax - PHP Error Debugger

2009-09-11 Thread Andrea Giammarchi
: muxical.g...@gmail.com To: an_...@hotmail.com CC: a...@ashleysheridan.co.uk; tedd.sperl...@gmail.com; php-general@lists.php.net Subject: Re: [PHP] RE: [Formaldehyde] The Most Basic Ajax - PHP Error Debugger I do use FirePHP and your project looks interesting to evaluate. Will check it out

RE: [PHP] RE: [Formaldehyde] The Most Basic Ajax - PHP Error Debugger

2009-09-11 Thread Andrea Giammarchi
Date: Fri, 11 Sep 2009 12:37:30 -0400 To: an_...@hotmail.com; php-general@lists.php.net From: tedd.sperl...@gmail.com Subject: RE: [PHP] RE: [Formaldehyde] The Most Basic Ajax - PHP Error Debugger The only things that may go wrong are in the data I am sending to the ajax routine

RE: [PHP] RE: [Formaldehyde] The Most Basic Ajax - PHP Error Debugger

2009-09-11 Thread Andrea Giammarchi
, and hopefully useful. Regards Date: Fri, 11 Sep 2009 10:43:23 -0700 Subject: Re: [PHP] RE: [Formaldehyde] The Most Basic Ajax - PHP Error Debugger From: bdun...@agentintellect.com To: tedd.sperl...@gmail.com CC: an_...@hotmail.com; php-general@lists.php.net Examine this: http://webbytedd.com

Re: [PHP] RE: [Formaldehyde] The Most Basic Ajax - PHP Error Debugger

2009-09-11 Thread Paul M Foster
On Sat, Sep 12, 2009 at 12:23:44AM +0200, Andrea Giammarchi wrote: Exactly Ben, except when PHP fails, even with a Fatal Error, the page has status 200, we need to understand which call failed between hundreds of potential calls in the debugger, and errors could pass silently. With

[PHP] RE: [Formaldehyde] The Most Basic Ajax - PHP Error Debugger

2009-09-10 Thread Andrea Giammarchi
code, libraries included. Enjoy (if any) http://code.google.com/p/formaldehyde/ From: an_...@hotmail.com To: php-general@lists.php.net Subject: [Formaldehyde] The Most Basic Ajax - PHP Error Debugger Date: Sat, 5 Sep 2009 19:41:53 +0200 Hi everybody, I'd love to receive your feedback about my

[PHP] [Formaldehyde] The Most Basic Ajax - PHP Error Debugger

2009-09-05 Thread Andrea Giammarchi
announcement: http://webreflection.blogspot.com/2009/09/formaldehyde-ajax-php-error-debugger.html I hope you'll appreciate the code, the concept, and the simplicity, but here I am to know your concerns, or generally speaking, your opinion. Best Regards, Andrea Giammarchi

[PHP] Error message

2009-09-05 Thread Bruce Dobson
Hi folks, I am new on this list and to php. I have just downloaded and gotten php 5.3.0 working with IIS on one computer but my efforts to install it on another computer come up with the error message: 14001 (0x36b1) Can anybody tell me what this relates to? Thanks Bruce

Re: [PHP] Error message

2009-09-05 Thread Tommy Pham
- Original Message From: Bruce Dobson bruce_...@yahoo.co.nz To: php-general@lists.php.net Sent: Saturday, September 5, 2009 4:19:29 PM Subject: [PHP] Error message Hi folks, I am new on this list and to php. I have just downloaded and gotten php 5.3.0 working with IIS on one

Re: [PHP] Error when execute header('location: otherpage.php') after email been sent out. Any Workaround?

2009-08-28 Thread hack988 hack988
Some Php's tigger info output to client before you set header.try this code first --- ob_start();//first line write this code some code for your self header(location:index.php); ob_end_flush();

Re: [PHP] Error when execute header('location: otherpage.php') after email been sent out. Any Workaround?

2009-08-28 Thread Ashley Sheridan
On Fri, 2009-08-28 at 17:32 +0800, Keith wrote: I have a user sign up page that collects sign up information from user with form. This form will then be submitted to another process.php page for setting up the user account and send email to the user. After the email been sent out, the user

[PHP] Error when execute header('location: otherpage.php') after email been sent out. Any Workaround?

2009-08-28 Thread Keith
I have a user sign up page that collects sign up information from user with form. This form will then be submitted to another process.php page for setting up the user account and send email to the user. After the email been sent out, the user will be directed back to homepage with

Re: [PHP] Error when execute header('location: otherpage.php') after email been sent out. Any Workaround?

2009-08-28 Thread Floyd Resler
Another solution would be to use JavaScript. In your process.php script you could do this: printhere script language=javascript window.location.href=index.php /script here; Not strictly a PHP solution but it works. Take care, Floyd On Aug 28, 2009, at 5:34 AM, Ashley Sheridan wrote:

Re: [PHP] Error when execute header('location: otherpage.php') after email been sent out. Any Workaround?

2009-08-28 Thread Martin Scotta
On Fri, Aug 28, 2009 at 9:36 AM, Floyd Resler fres...@adex-intl.com wrote: Another solution would be to use JavaScript. In your process.php script you could do this: printhere script language=javascript window.location.href=index.php /script here; Not strictly a PHP solution but

Re: [PHP] Error when execute header('location: otherpage.php') after email been sent out. Any Workaround?

2009-08-28 Thread Ashley Sheridan
On Fri, 2009-08-28 at 10:34 -0300, Martin Scotta wrote: Actually there aren't a safe way to make a redirect We have 4 alternatives (correct me if I miss anything) to do a safe redirection. Erm wtf?! The best bet is always going with a header() redirect. The only time I've seen that

Re: [PHP] Error when execute header('location: otherpage.php') after email been sent out. Any Workaround?

2009-08-28 Thread Keith
Hi all, Yes, you are right, it was due to echo for testing purpose not been commented out prior to header(). However, there is hidden root cause too -- PHPMailer will echo invalid address to the screen. When I have tested with 1 valid email address and 1 invalid with someth...@locahost,

Re: [PHP] Error when execute header('location: otherpage.php') after email been sent out. Any Workaround?

2009-08-28 Thread Martin Scotta
On Fri, Aug 28, 2009 at 10:39 AM, Ashley Sheridan a...@ashleysheridan.co.ukwrote: On Fri, 2009-08-28 at 10:34 -0300, Martin Scotta wrote: Actually there aren't a safe way to make a redirect We have 4 alternatives (correct me if I miss anything) to do a safe redirection. Erm wtf?!

Re: [PHP] Error when execute header('location: otherpage.php') after email been sent out. Any Workaround?

2009-08-28 Thread Stuart
2009/8/28 Martin Scotta martinsco...@gmail.com: On Fri, Aug 28, 2009 at 10:39 AM, Ashley Sheridan a...@ashleysheridan.co.ukwrote: On Fri, 2009-08-28 at 10:34 -0300, Martin Scotta wrote: Actually there aren't a safe way to make a redirect We have 4 alternatives (correct me if I miss

Re: [PHP] Error when execute header('location: otherpage.php') after email been sent out. Any Workaround?

2009-08-28 Thread Ben Dunlap
Which format should I used for log file? *.log or *.txt? Doesn't matter to PHP -- but you do need to provide a local path, not a URL. [http://domain.com/log/logfile.*] or No... [C:\some_path\domain.com\log\logfile.*] or just Yes! Ben -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] Error when execute header('location: otherpage.php') after email been sent out. Any Workaround?

2009-08-28 Thread Ashley Sheridan
On Fri, 2009-08-28 at 09:28 -0700, Ben Dunlap wrote: Which format should I used for log file? *.log or *.txt? Doesn't matter to PHP -- but you do need to provide a local path, not a URL. [http://domain.com/log/logfile.*] or No... [C:\some_path\domain.com\log\logfile.*] or just

Re: [PHP] Error when execute header('location: otherpage.php') after email been sent out. Any Workaround?

2009-08-28 Thread Keith
Ash, Ben, Thanks! For my web server, I can access to: ./httpdocs ./httpsdocs all the http documents are stored inside httpdocs and SSL documents inside httpsdocs. The web root you mean here is referred to ./httpdocs and ./httpsdocs or the parent directory of them? If I put the logfile inside

[PHP] Error handling

2009-07-15 Thread Paul M Foster
This note shows up in the documentation for set_error_handler(): The following error types cannot be handled with a user defined function: E_ERROR, E_PARSE, E_CORE_ERROR, E_CORE_WARNING, E_COMPILE_ERROR, E_COMPILE_WARNING, and most of E_STRICT raised in the file where set_error_handler() is

[PHP] Error Trapping

2009-07-10 Thread Floyd Resler
I'm having a hard time getting my head around this problem. I have to connect to a FoxPro database using an ODBC driver. Sometimes when I connect I get an error. The error doesn't occur all the time and usually another connect attempt works. I can trap the error through an error

Re: [PHP] Error Trapping

2009-07-10 Thread Eddie Drapkin
On Fri, Jul 10, 2009 at 10:56 AM, Floyd Reslerfres...@adex-intl.com wrote: I'm having a hard time getting my head around this problem.  I have to connect to a FoxPro database using an ODBC driver.  Sometimes when I connect I get an error.  The error doesn't occur all the time and usually

Re: [PHP] Error Trapping

2009-07-10 Thread Floyd Resler
Eddie, Thanks for the tip. It suddenly occurred to me what I was doing wrong. I do use an error trap but I was telling my script to stop running after the error. So, now I ignore it and continue through the loop you suggested. I guess it was working exactly the way I had written it!

Re: [PHP] Error Trapping

2009-07-10 Thread Eddie Drapkin
On Fri, Jul 10, 2009 at 11:39 AM, Floyd Reslerfres...@adex-intl.com wrote: Eddie,        Thanks for the tip.  It suddenly occurred to me what I was doing wrong.  I do use an error trap but I was telling my script to stop running after the error.  So, now I ignore it and continue through the

[PHP] error in printer_open function

2009-04-27 Thread AYAN PAL
hi, i am using local server to print a simple text i config the php.ini file as ;extension=php_printer.dll added in the extension list and add [printer] printer.default_printer = Send To OneNote 2007 in this file and write a sim ple page as- Prabal Cable Network

Re: [PHP] error with hosting

2009-04-24 Thread Andrew Ballard
On Tue, Apr 21, 2009 at 1:20 PM, Jan G.B. ro0ot.w...@googlemail.com wrote: Do yourself a favour: * remopve that 1337 hax0r name - it makes you look like a dumbass This coming from someone whose e-mail address is ro0ot.w...@? Sounds a little ironic. ;-) Andrew -- PHP General Mailing

Re: [PHP] error with hosting

2009-04-24 Thread Jan G.B.
2009/4/24 Andrew Ballard aball...@gmail.com: On Tue, Apr 21, 2009 at 1:20 PM, Jan G.B. ro0ot.w...@googlemail.com wrote: Do yourself a favour: * remopve that 1337 hax0r name - it makes you look like a dumbass This coming from someone whose e-mail address is ro0ot.w...@? Sounds a little

Re: [PHP] error with hosting

2009-04-24 Thread 9el
On Fri, Apr 24, 2009 at 7:41 PM, Jan G.B. ro0ot.w...@googlemail.com wrote: 2009/4/24 Andrew Ballard aball...@gmail.com: On Tue, Apr 21, 2009 at 1:20 PM, Jan G.B. ro0ot.w...@googlemail.com wrote: Do yourself a favour: * remopve that 1337 hax0r name - it makes you look like a dumbass

[PHP] error with hosting

2009-04-21 Thread ®0L¥
I have a littli application in PHP that I do with appserv, in my local server work ok but when I upload de page.php to the hosting server don't work, the hosting say in your page that support php and the web server is apache because the directory is httpdocs, and why my page dond;t work in the

Re: [PHP] error with hosting

2009-04-21 Thread Jan G.B.
2009/4/21 ®0L¥ rol...@gmail.com: I have a littli application in PHP that I do with appserv, in my local server work ok but when I upload de page.php to the hosting server don't work, the hosting say in your page that support php and the web server is apache because the directory is httpdocs,

[PHP] Error on .htaccess

2009-04-01 Thread Igor Escobar
In all the servers i had tested my system i dont have any problem, but in this server the apache are displaying to me the error 500 Internal Server Error. Someone can say tome what is wront with my .htaccess? RewriteEngine On IfModule mod_rewrite.c RewriteCond %{REQUEST_FILENAME} !-f RewriteCond

Re: [PHP] Error on .htaccess

2009-04-01 Thread Daniel Brown
On Wed, Apr 1, 2009 at 10:39, Igor Escobar titiolin...@gmail.com wrote: In all the servers i had tested my system i dont have any problem, but in this server the apache are displaying to me the error 500 Internal Server Error. Someone can say tome what is wront with my .htaccess? This is

Re: [PHP] Error on .htaccess

2009-04-01 Thread Virgilio Quilario
In all the servers i had tested my system i dont have any problem, but in this server the apache are displaying to me the error 500 Internal Server Error. Someone can say tome what is wront with my .htaccess? RewriteEngine On IfModule mod_rewrite.c RewriteCond %{REQUEST_FILENAME} !-f

[PHP] Error printer_open()

2009-03-27 Thread Gerardo Picotti
Hi. I'm trying to use the printer functions in my php development. I add the php_printer.dll in the c:/php/ext/ path. I add the line in the php.ini file like that: extension=php_printer.dll. But that doesn't work and gives the next error: Fatal error: Call to undefined function printer_open().

Re: [PHP] Error printer_open()

2009-03-27 Thread Bastien Koert
On Fri, Mar 27, 2009 at 8:37 AM, Gerardo Picotti gpico...@erio.com.arwrote: Hi. I'm trying to use the printer functions in my php development. I add the php_printer.dll in the c:/php/ext/ path. I add the line in the php.ini file like that: extension=php_printer.dll. But that doesn't work and

Re: [PHP] Error printer_open()

2009-03-27 Thread Gerardo Picotti
Yes, dll file exists in this folder: C:\PHP\EXT Bastien Koert escribió: On Fri, Mar 27, 2009 at 8:37 AM, Gerardo Picotti gpico...@erio.com.ar mailto:gpico...@erio.com.ar wrote: Hi. I'm trying to use the printer functions in my php development. I add the php_printer.dll in the

[PHP] Error with DOMDocument in php's functions

2009-03-10 Thread Mauricio Muriel
Hi Guys, I want to ask you about this problem: I have a FUNCTION where is a DOMDocument element, that DOMDocument element is Load from a string (With well formed XML structure) stored in a param, this is code: ?php function xml_match($columns,$text,$result) { ... /* Some code */ ... $doc =

[PHP] Error in Building an XML File

2009-03-09 Thread Joe Harman
Hello, I am using PHP to build an XML file, but I keep on getting an XML error when open the file in Google Chrome. - This page contains the following errors: error on line 30 at column 318: Entity 'iuml' not defined

Re: [PHP] Error in Building an XML File

2009-03-09 Thread Virgilio Quilario
I am using PHP to build an XML file, but I keep on getting an XML error when open the file in Google Chrome. - This page contains the following errors: error on line 30 at column 318: Entity 'iuml' not defined

RE: [PHP] Error in Building an XML File

2009-03-09 Thread Bob McConnell
From: Joe Harman I am using PHP to build an XML file, but I keep on getting an XML error when open the file in Google Chrome. - This page contains the following errors: error on line 30 at column 318: Entity

Re: [PHP] Error in Building an XML File

2009-03-09 Thread Joe Harman
On Mon, Mar 9, 2009 at 9:53 AM, Bob McConnell r...@cbord.com wrote: From: Joe Harman I am using PHP to build an XML file, but I keep on getting an XML error when open the file in Google Chrome. - This page

Re: [PHP] Error in Building an XML File

2009-03-09 Thread Nathan Rixham
Joe Harman wrote: On Mon, Mar 9, 2009 at 9:53 AM, Bob McConnell r...@cbord.com wrote: From: Joe Harman I am using PHP to build an XML file, but I keep on getting an XML error when open the file in Google Chrome.

Re: [PHP] Error in Building an XML File

2009-03-09 Thread Ashley Sheridan
On Mon, 2009-03-09 at 16:26 +, Nathan Rixham wrote: Joe Harman wrote: On Mon, Mar 9, 2009 at 9:53 AM, Bob McConnell r...@cbord.com wrote: From: Joe Harman I am using PHP to build an XML file, but I keep on getting an XML error when open the file in Google Chrome.

[PHP] error on using jar:http://localhost/clients/js/signedJar.jar!/editGrid.js

2009-02-12 Thread Manupriya
Hi, We are using PHP 5.0, Java Script and Apace HTTP Server. For Mozilla security reason, we have created a signed jar of all the js files being used in our application. We have put this jar in the js folder itself. We have successfully installed the certificate. Now from one of the php page,

Re: [PHP] error on usingjar:http://localhost/clients/js/signedJar.jar!/editGrid.js

2009-02-12 Thread Shawn McKenzie
() method is not defined. Please help.I think I am missing out on something important. Thanks, Manu O.K. so what is the PHP error? -- Thanks! -Shawn http://www.spidean.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] error on usingjar:http://localhost/clients/js/signedJar.jar!/editGrid.js

2009-02-12 Thread Manupriya
Actually there is no PHP error as such. But we get an error that java script method is not defined. So we think that we have either not correctly specified the url or we are not putting the jar file at the correct location. Our question is how to call a js in jar from php file? Thanks, Manu

Re: [PHP] error onusingjar:http://localhost/clients/js/signedJar.jar!/editGrid.js

2009-02-12 Thread Shawn McKenzie
Manupriya wrote: Actually there is no PHP error as such. But we get an error that java script method is not defined. So we think that we have either not correctly specified the url or we are not putting the jar file at the correct location. Our question is how to call a js in jar from php

[PHP] Php error

2009-01-24 Thread mattias
ERR_DB_NO_DB_PASS What will this meen? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Php error

2009-01-24 Thread Per Jessen
mattias wrote: ERR_DB_NO_DB_PASS What will this meen? No database password has been set in config. /Per Jessen, Zürich -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Php error

2009-01-24 Thread Carlos Medina
mattias schrieb: ERR_DB_NO_DB_PASS What will this meen? The Database is a foreign DB without passport Carlos -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] error flashing on redirect

2008-12-17 Thread Stut
2008/12/17 Terion Miller webdev.ter...@gmail.com: I am working on the login script I have been troubling over, and when I hit submit it throws an error and even though I have error reporting E_All on because its on a redirect or something I can see the error for only a split second so I can't

Re: [PHP] error flashing on redirect

2008-12-17 Thread ceo
Change php.ini (or .htacces or ini_set) so that display_errors is OFF and log_errors is ON and log them to some file you do this to, all day, every day: tail -f /var/log/httpd/error_log You'll definitely need this as you get more complex site interaction, particularly with Ajax calls that

[PHP] error flashing on redirect

2008-12-17 Thread Terion Miller
I am working on the login script I have been troubling over, and when I hit submit it throws an error and even though I have error reporting E_All on because its on a redirect or something I can see the error for only a split second so I can't catch it to figure it out (does this make sense?) how

Re: [PHP] error messaages - $DOXPath Wrong

2008-12-05 Thread Maciek Sokolewicz
ddg2sailor wrote: Hi Here are the error messages: Warning: move_uploaded_file(C: mpp\htdocs\dox/th_dsc_076.jpg) [function.move-uploaded-file]: failed to open stream: Invalid argument in C:\xampp\htdocs\dox.php on line 40 Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to

RE: [PHP] error messaages - $DOXPath Wrong

2008-12-05 Thread Boyd, Todd M.
-Original Message- From: Maciek Sokolewicz [mailto:[EMAIL PROTECTED] Sent: Friday, December 05, 2008 2:07 AM To: php-general@lists.php.net; [EMAIL PROTECTED] Subject: Re: [PHP] error messaages - $DOXPath Wrong ddg2sailor wrote: Hi Here are the error messages: Warning

Re: [PHP] error messaages - $DOXPath Wrong

2008-12-05 Thread ddg2sailor
First I would like to thank everyone who reponded to this thread. Your all Great! I took your advice and made these changes //Just the relevant lines not in order $DOXPATH = 'C:\\xampp\\htdocs\\dox\\' // New DOXPATH if (!move_uploaded_file($file['tmp_name'], '$DOXPATH\$file[name]'))

[PHP] error messaages - $DOXPath Wrong

2008-12-04 Thread ddg2sailor
Hi Here are the error messages: Warning: move_uploaded_file(C: mpp\htdocs\dox/th_dsc_076.jpg) [function.move-uploaded-file]: failed to open stream: Invalid argument in C:\xampp\htdocs\dox.php on line 40 Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move

Re: [PHP] error messaages - $DOXPath Wrong

2008-12-04 Thread ddg2sailor
This is line 40 if (!move_uploaded_file($file[tmp_name], $DOXPATH/$file[name])) Sailor -- View this message in context: http://www.nabble.com/error-messaages---%24DOXPath-Wrong-tp20848918p20848948.html Sent from the PHP - General mailing list archive at Nabble.com. -- PHP General Mailing

Re: [PHP] error warning while connecting to posgreSQL

2008-09-30 Thread Adrian Videnie
Nilesh Govindrajan wrote: Yeah that's true. Placing an @ before the function is a bad idea. Instead use error_reporting(E_NONE) OR error_reporting(0) You should never use error_reporting(E_NONE), not even in production mode. The correct options are: error_reporting(E_ALL | E_STRICT);

RE: [PHP] error warning while connecting to posgreSQL

2008-09-29 Thread Richard Lynch
-Original Message- i try to understand the error_reporting statement and to avoid all warning or error messages. for example i stop the postgresql service and i try to connect to it. when error_reporting is set to E_ALL, i get the following warning : *Warning*: pg_connect()

Re: [PHP] error warning while connecting to posgreSQL

2008-09-29 Thread Nilesh Govindrajan
On Monday 29 September 2008 10:02:06 pm Richard Lynch wrote: -Original Message- i try to understand the error_reporting statement and to avoid all warning or error messages. for example i stop the postgresql service and i try to connect to it. when error_reporting is set to

<    1   2   3   4   5   6   7   8   9   10   >