On 03/16/2015 12:08 AM, Karl DeSaulniers wrote:
Is this a weight that is entered in by your friend or a weight that is grabbed
from a database or a scale per chance?
If it is the latter, you don't need this form, just store the value some other
way and incorporate into your other script that directs to this form.
Also, I noticed you spelt weight wrong.
value= 'WEIGH'
Could that be it or just a keyboard error in your mail program?
Did you copy and paste that code?
Best,
Karl DeSaulniers
Design Drumm
http://designdrumm.com
On Mar 15, 2015, at 11:02 PM, Ethan Rosenberg erosenb...@hygeiabiomedical.com
wrote:
Jayson, Karl -
It could be a bad variable, or lack of access to an include file possibly? Put
some echo statements in right before and right after some major blocks of
code... It will help narrow down the problem since it will show you where it's
holding up. The. You can concentrate on fixing just that part instead of the
entire site.
Done that already. No luck
Also, if it is a matter of calling this script.
I have this in the program --
echo form method= 'post' action='HandleWeight.php';
echo centerstronginput type = 'submit' value= 'WEIGH'/strong/center;
echo /form;
I'm testing from a form, which previously worked perfectly -
TIA
Ethan
Karl -
Thanks to you and all others that have replied.
With a little bit of patience [which I should have used previously], I reran the the program both
with form and with the JavaScript. The program went to the next step [handleweight] BUT it took 5
min or more. So...Apache is slow. Any ideas??
TIA
Ethan
Some more info --
root@meow:/var/www# ps -ef | grep apache
root 11972 1 0 Mar15 ?00:00:04 /usr/sbin/apache2 -k start
www-data 14209 11972 0 Mar16 ?00:00:00 /usr/sbin/apache2 -k start
www-data 14210 11972 0 Mar16 ?00:00:00 /usr/sbin/apache2 -k start
www-data 14211 11972 0 Mar16 ?00:00:00 /usr/sbin/apache2 -k start
www-data 14212 11972 0 Mar16 ?00:00:00 /usr/sbin/apache2 -k start
www-data 14213 11972 0 Mar16 ?00:00:00 /usr/sbin/apache2 -k start
www-data 24762 11972 0 Mar17 ?00:00:00 /usr/sbin/apache2 -k start
www-data 25015 11972 0 00:25 ?00:00:00 /usr/sbin/apache2 -k start
root 25070 9285 0 00:35 pts/300:00:00 grep apache
root@meow:/var/www# /usr/sbin/apache2 -V
[Wed Mar 18 00:36:21.251080 2015] [core:warn] [pid 25081] AH00111: Config variable
${APACHE_LOCK_DIR} is not defined
[Wed Mar 18 00:36:21.251150 2015] [core:warn] [pid 25081] AH00111: Config variable
${APACHE_PID_FILE} is not defined
[Wed Mar 18 00:36:21.251167 2015] [core:warn] [pid 25081] AH00111: Config variable
${APACHE_RUN_USER} is not defined
[Wed Mar 18 00:36:21.251175 2015] [core:warn] [pid 25081] AH00111: Config variable
${APACHE_RUN_GROUP} is not defined
[Wed Mar 18 00:36:21.251193 2015] [core:warn] [pid 25081] AH00111: Config variable ${APACHE_LOG_DIR}
is not defined
[Wed Mar 18 00:36:21.266590 2015] [core:warn] [pid 25081] AH00111: Config variable ${APACHE_LOG_DIR}
is not defined
[Wed Mar 18 00:36:21.266721 2015] [core:warn] [pid 25081] AH00111: Config variable ${APACHE_LOG_DIR}
is not defined
[Wed Mar 18 00:36:21.266736 2015] [core:warn] [pid 25081] AH00111: Config variable ${APACHE_LOG_DIR}
is not defined
[Wed Mar 18 00:36:21.266788 2015] [core:warn] [pid 25081] AH00111: Config variable ${APACHE_LOG_DIR}
is not defined
[Wed Mar 18 00:36:21.266801 2015] [core:warn] [pid 25081] AH00111: Config variable ${APACHE_LOG_DIR}
is not defined
AH00526: Syntax error on line 74 of /etc/apache2/apache2.conf:
Invalid Mutex directory in argument file:${APACHE_LOCK_DIR}
Here is the /etc/apache2/apache2.conf file [pardon its length]
# This is the main Apache server configuration file. It contains the
# configuration directives that give the server its instructions.
# See http://httpd.apache.org/docs/2.4/ for detailed information about
# the directives and /usr/share/doc/apache2/README.Debian about Debian specific
# hints.
#
#
# Summary of how the Apache 2 configuration works in Debian:
# The Apache 2 web server configuration in Debian is quite different to
# upstream's suggested way to configure the web server. This is because Debian's
# default Apache2 installation attempts to make adding and removing modules,
# virtual hosts, and extra configuration directives as flexible as possible, in
# order to make automating the changes and administering the server as easy as
# possible.
# It is split into several files forming the configuration hierarchy outlined
# below, all located in the /etc/apache2/ directory:
#
# /etc/apache2/
# |-- apache2.conf
# | `-- ports.conf
# |-- mods-enabled
# | |-- *.load
# | `-- *.conf
# |-- conf-enabled
# | `-- *.conf
# `-- sites-enabled
# `-- *.conf
#
#
# * apache2.conf is the main configuration file (this file). It puts the pieces
# together