Re: [PHP-DB] Programs not running - Mystery SOLVED

2013-01-08 Thread tamouse mailing lists
On Tue, Jan 8, 2013 at 1:12 AM, Matt Pelmear mjpelm...@gmail.com wrote: I personally *never* set the error reporting level in the code, and during code reviews I reject code that does so. It is much cleaner to manage this in php.ini. I tend to agree -- settings like this are environment (dev,

Re: [PHP-DB] Programs not running

2013-01-07 Thread Karl DeSaulniers
On Jan 6, 2013, at 9:09 PM, tamouse mailing lists wrote: On Sun, Jan 6, 2013 at 2:14 PM, Karl DeSaulniers k...@designdrumm.com wrote: Unfortunately, I am still working on an old G4 Powerbook trying to finish a website of mine. Adobe GoLive was the program I imprinted on and it stuck. Sadly

[PHP-DB] Programs not running - Mystery SOLVED

2013-01-07 Thread Ethan Rosenberg, PhD
Dear list - Boy, Do I make STUPID MISTAKES! The show_errors was turned off in the program in question!! When I ran another program, that displayed errors, is threw the correct error message. My apologies for running everyone around numerous trees. Ethan -- PHP Database Mailing List

Re: [PHP-DB] Programs not running

2013-01-07 Thread Matt Pelmear
On 01/06/2013 07:09 PM, tamouse mailing lists wrote: Actually, you might find netbeans just all that for writing the HTML, CSS and JS stuff, too. I used Dreamweaver when it first came out and compared to the other sorts of things available at the time, it was pretty spiffy. But time has

Re: [PHP-DB] Programs not running - Mystery SOLVED

2013-01-07 Thread Matt Pelmear
This is a *very* common problem, so don't feel too bad :-) I personally *never* set the error reporting level in the code, and during code reviews I reject code that does so. It is much cleaner to manage this in php.ini. Glad you solved your problem. -Matt On 01/07/2013 08:49 AM, Ethan

Re: [PHP-DB] Programs not running

2013-01-06 Thread tamouse mailing lists
On Sun, Jan 6, 2013 at 1:21 AM, Karl DeSaulniers k...@designdrumm.com wrote: I likey.. :) Thanks! Best, Karl On Jan 5, 2013, at 10:05 PM, Bastien wrote: Get net beans. It's free and a great IDE with debuggers and other stuff Bastien Koert netbeans is pretty awesome; I haven't used it

Re: [PHP-DB] Programs not running

2013-01-06 Thread Karl DeSaulniers
On Jan 6, 2013, at 4:55 AM, tamouse mailing lists wrote: On Sun, Jan 6, 2013 at 1:21 AM, Karl DeSaulniers k...@designdrumm.com wrote: I likey.. :) Thanks! Best, Karl On Jan 5, 2013, at 10:05 PM, Bastien wrote: Get net beans. It's free and a great IDE with debuggers and other stuff

[PHP-DB] Programs not Running - SOLVED

2013-01-06 Thread Ethan Rosenberg, PhD
Dear List - Thanks to all for your help. The problem was in this piece of code: require '/var/www/pass.inc'; $db = Store; $cxn = mysqli_connect($host,$user,$password,$db); if ( !$cxn ) { die( 'connect error: '.mysqli_connect_error() ); } I

RE: [PHP-DB] Programs not Running - SOLVED

2013-01-06 Thread Brad
Permissions? -Original Message- From: Ethan Rosenberg, PhD [mailto:erosenb...@hygeiabiomedical.com] Sent: Sunday, January 06, 2013 8:18 PM To: PHP Database List Subject: [PHP-DB] Programs not Running - SOLVED Dear List - Thanks to all for your help. The problem was in this piece

Re: [PHP-DB] Programs not running

2013-01-06 Thread tamouse mailing lists
On Sun, Jan 6, 2013 at 2:14 PM, Karl DeSaulniers k...@designdrumm.com wrote: Unfortunately, I am still working on an old G4 Powerbook trying to finish a website of mine. Adobe GoLive was the program I imprinted on and it stuck. Sadly it has gone away now and Dreamweaver is the replacement. I

Re: [PHP-DB] Programs not running

2013-01-05 Thread tamouse mailing lists
On Sat, Jan 5, 2013 at 12:48 AM, Karl DeSaulniers k...@designdrumm.com wrote: On Jan 4, 2013, at 8:00 PM, tamouse mailing lists wrote: On Fri, Jan 4, 2013 at 6:09 PM, Matt Pelmear mjpelm...@gmail.com wrote: On 01/04/2013 01:40 PM, tamouse mailing lists wrote: One should be able to solve

Re: [PHP-DB] Programs not running

2013-01-05 Thread Karl DeSaulniers
On Jan 5, 2013, at 8:52 AM, tamouse mailing lists wrote: On Sat, Jan 5, 2013 at 12:48 AM, Karl DeSaulniers k...@designdrumm.com wrote: On Jan 4, 2013, at 8:00 PM, tamouse mailing lists wrote: On Fri, Jan 4, 2013 at 6:09 PM, Matt Pelmear mjpelm...@gmail.com wrote: On 01/04/2013 01:40 PM,

Re: [PHP-DB] Programs not running

2013-01-05 Thread Karl DeSaulniers
I likey.. :) Thanks! Best, Karl On Jan 5, 2013, at 10:05 PM, Bastien wrote: Get net beans. It's free and a great IDE with debuggers and other stuff Bastien Koert On 2013-01-05, at 7:14 PM, Karl DeSaulniers k...@designdrumm.com wrote: On Jan 5, 2013, at 8:52 AM, tamouse mailing

Re: [PHP-DB] Programs not running

2013-01-04 Thread Jim Giner
On 01/03/2013 08:54 PM, Ethan Rosenberg, PhD wrote: = I can't answer because I do not understand. ?php phpinfo(); ? gives the correct output. Ethan - whatever do you mean the phpinfo gives the correct output? Do you mean that you compared every line and found them to match

Re: [PHP-DB] Programs not running

2013-01-04 Thread Jim Giner
Is the failing one a .php file? jg On Jan 3, 2013, at 11:54 PM, Ethan Rosenberg, PhD erosenb...@hygeiabiomedical.com wrote: On 01/03/2013 10:14 PM, Matt Pelmear wrote: In addition to Jim's comments, Have you checked to see whether the permissions on all files are appropriate on

Re: [PHP-DB] Programs not running

2013-01-04 Thread tamouse mailing lists
On Fri, Jan 4, 2013 at 12:37 AM, Matt Pelmear mjpelm...@gmail.com wrote: In my experience, the problem you are experiencing is caused by one of two issues: 1) A major parsing problem (sometimes no error is displayed-- you just get no output.) One should be able to solve parsing problems

Re: [PHP-DB] Programs not running

2013-01-04 Thread Matt Pelmear
On 01/04/2013 01:40 PM, tamouse mailing lists wrote: One should be able to solve parsing problems without resorting to using a web server. Every time I save a php file, I have my editor set to run it through php -l. Saves lots of angst when I get to the web testing stage. This is a good

Re: [PHP-DB] Programs not running

2013-01-04 Thread tamouse mailing lists
On Fri, Jan 4, 2013 at 6:09 PM, Matt Pelmear mjpelm...@gmail.com wrote: On 01/04/2013 01:40 PM, tamouse mailing lists wrote: One should be able to solve parsing problems without resorting to using a web server. Every time I save a php file, I have my editor set to run it through php -l. Saves

Re: [PHP-DB] Programs not running

2013-01-04 Thread Matt Pelmear
On 01/04/2013 06:00 PM, tamouse mailing lists wrote: On Fri, Jan 4, 2013 at 6:09 PM, Matt Pelmear mjpelm...@gmail.com wrote: On 01/04/2013 01:40 PM, tamouse mailing lists wrote: One should be able to solve parsing problems without resorting to using a web server. Every time I save a php file,

Re: [PHP-DB] Programs not running

2013-01-04 Thread Karl DeSaulniers
On Jan 4, 2013, at 8:00 PM, tamouse mailing lists wrote: On Fri, Jan 4, 2013 at 6:09 PM, Matt Pelmear mjpelm...@gmail.com wrote: On 01/04/2013 01:40 PM, tamouse mailing lists wrote: One should be able to solve parsing problems without resorting to using a web server. Every time I save a

[PHP-DB] Programs not running

2013-01-03 Thread Ethan Rosenberg, PhD
Dear List - I am running sid on my Lenovo desktop and squeeze on my Dell laptop. The php.ini files are the same. The programs are the same except foro the locatioln of the password file and of a file to be read for parameters. The programs run beautifully on the desktop, but refuse to run

Re: [PHP-DB] Programs not running

2013-01-03 Thread Matt Pelmear
In addition to Jim's comments, Have you checked to see whether the permissions on all files are appropriate on the environment where this doesn't work? Are you running this in a web environment or CLI? If web, are you 100% sure the web server configuration is correct? -Matt On 01/03/2013

Re: [PHP-DB] Programs not running

2013-01-03 Thread Matt Pelmear
Ethan, I'm not sure this conversation is appropriate for this mailing list. This question has probably been answered 1000 times on the general php list. In my experience, the problem you are experiencing is caused by one of two issues: 1) A major parsing problem (sometimes no error is