Re: Waiting for localhost

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 04/02/2015 06:17 AM, Richard wrote:



<snip>
Here are some hints....

service apache2 restart
[....] Restarting web server: apache2AH00558: apache2: Could not
reliably determine the server's fully qualified domain name, using
127.0.1.1. Set the 'ServerName' directive globally to suppress
this message
. ok


   using 127.0.1.1 OUCH

Added this as last line in  /etc/apache2/apache2.conf

ServerName localhost

root@meow:/var/www# service apache2 restart
[ ok ] Restarting web server: apache2

OK ...good

But ... I am still getting the same performance - TestConnect [the
code above] gives the same result, and HandleWeight hangs!!!


As I pointed out on the apache list, 127.0.1.1 != localhost. It's
not clear where all you've stapled that incorrect value in at this
point, but that will account for why apache gave you that error.

In the php code, you are not handling the output from
mysqli_fetch_array correctly. Read the documentation, there are many
examples -- including q/a responses that almost exactly match your
code.

You have shown no debugging effort on "HandleWeight", so we have no
way of providing any insights on it.

You additionally need to provide the version/release level
information for your installed versions of:

   - OS
   - apache
   - mysql
   - php

Richard -

Thanks.

<snip>
This is the top of the file.


			<strong>
			<div align='center'>
			  <h3>Handle Weight</h3>
			</div>
			</strong>
<?php

			global $cxn, $open_flag, $sale, $tax_rate, $plu ;

			error_reporting(E_ALL | E_NOTICE);
			ini_set('display_errors','1');

Restarted Apache.

Ran from browser.

The header never displays.

TIA

Ethan

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





[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux