I looked at the action script for the Web form, /home/adaq/public_html/halog/log/html/php/elog.php. It calls /home/adaq/halog/src/halognumber to get the next entry number. The number is stored in /home/adaq/halog/src/locks/LastLogNumber. That file had permission 0644 (only writable by owner), which may have caused trouble (last time stamp 22:44). I changed the permissions to 0666 (world-writable). Now the time stamp updates, but the log number still doesn't. But if I run halognumber by hand, it does increment. I am confused.
Will make one or two test entries to diagnose this further.