[PHP] phpPgAdmin - prior version available?

2007-03-18 Thread Bob Hartung

Hi all,
  I have been struggling with phpPgAdmin 4.1 - login failures.  There 
does not yet seem to be a fix.  Where can I find a prior version for FC6 
- rpm, tar.gz etc.


Thanks,

Bob

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] OOP Newbie - why does this not work?

2005-10-20 Thread Bob Hartung

Hi all,
  I'm trying to get started in OOP with PHP.  I have the following 
short code snipped.  I'f I comment out the 'class Test' definition and 
the following references to it, it prints

   This is outside the php code block

and

   Start defining the class here:

If I do not comment out the code as noted, then the page returned is 
totally blank.  It does this with or without using the constructor.

PHP 5 on apache.  Same behavior both on Win32 and FC4.

All help appreciated to get me going.

Code Snippet:




  PHP Class testing




  This is outside the php code block

" ;
/*class Test
  {

function __constructor()
 {
   var $saying ;
$saying = "Im in the Test Class" ;
 }

 function get()
 {
   return $saying ;

  }

  var $liveclass ;
  $liveclass = new Test ;
  echo $liveclass->get() ;
  echo "" ;
 echo "This is in the php code block" ;
*/
?>




--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] error reporting php-5.0.4-10.4 on FC4

2005-10-23 Thread Bob Hartung

Hi all,
  Slowly I'm progressing.
  Now how to turn error reporting on for a test apache server.

  I have made the following changes to /etc/php.ini:

  error_reporting = E_ALL
  display_errors = On
  error_log = /var/log/php_errors

  On errors I still have no in browser display nor is anything written 
to the log file.


  Any suggestions?

TIA

Bob

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] error reporting php-5.0.4-10.4 on FC4

2005-10-23 Thread Bob Hartung

Jasper
  If if make a file containing only
  
  I get what I expected.

  If I make a file containing


  I get NO output or errors in the browser window.  If I select "view 
source" it returns:

   

Eh?  Anyone with any other ideas

Tnx

Bob Hartung

Jasper Bryant-Greene wrote:
http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] error reporting php-5.0.4-10.4 on FC4

2005-10-23 Thread Bob Hartung

Jasper & Derek

  phpinfo() says:
configuration file path /etc/php.ini

  PHP Core
  DirectiveLocal Value   Master Value

display_errorsOff   Off
error_logno value  no value
log errorson on

Derek's idea sends nothing to the log but does send to the browser.

It seems that /etc/php.ini is not being parsed since it says:

  error_reporting  =  E_ALL
  display_errors = On
  display_startup_errors = On
  log_errors = On

error_log = /var/log/php_error

I'm not sure where to turn at this point, except to get some sleep and 
attach this problem again tomorrow night when I return home from work.


Thanks!  Update tomorrow

Bob

Jasper Bryant-Greene wrote:

On Sun, 2005-10-23 at 21:31 -0400, Bob Hartung wrote:


Jasper
  If if make a file containing only
  
  I get what I expected.

  If I make a file containing



Your error is here^^ (brackets shouldn't be there)

But PHP should tell you that by throwing a Fatal error. What are the
values of error_reporting and display_errors that display in the
phpinfo() output?

By the way, the "" is put there by your
browser, not PHP. PHP is actually outputting absolutely nothing in the
response-body.



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] error reporting php-5.0.4-10.4 on FC4 - RESOLVED!!

2005-10-23 Thread Bob Hartung

It wasn't what I was looking for but I enable it:
include_path = ".:/php/includes"

 This was commented out.  After uncommenting it all works as I expected 
except that my syntax in the class was wrong.  Now I can at least start 
to learn.


Thanks Jasper and Derek - you gave me a shove in the right direction.

Tnx

Bob



Jasper Bryant-Greene wrote:

On Sun, 2005-10-23 at 23:01 -0400, Bob Hartung wrote:


Jasper & Derek

  phpinfo() says:
configuration file path /etc/php.ini

  PHP Core
  DirectiveLocal Value   Master Value

display_errorsOff   Off
error_logno value  no value
log errorson on

Derek's idea sends nothing to the log but does send to the browser.

It seems that /etc/php.ini is not being parsed since it says:

  error_reporting  =  E_ALL
  display_errors = On
  display_startup_errors = On
  log_errors = On



/etc/php.ini *is* being parsed, it says so right there (above). However,
display_errors isn't. Do a search inside /etc/php.ini for
display_errors, see if there's more than one declaration for it. Make
sure it isn't commented out (sounds silly, but you never know)...

Oh, and check the permissions on /etc/php.ini, just in case.



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php