Web Design Discussion > General Web Design Discussion

Apache: PHP Warnings / Notices

(1/1)

yakra:
from Apache's error_log


--- Quote ---PHP Notice:  Undefined index: create_time in /var/www/html/lib/tmphpfuncs.php on line 368 <- #317
--- End quote ---
This one's already been fixed. Noting that the other Undefined index notices may be similar case sensitivity issues.


--- Quote ---PHP Warning:  file_get_contents(/var/www/html/shields/template_eure_wide.svg): failed to open stream: No such file or directory in /var/www/html/shields/shieldgen.php on line 331 <- #261
--- End quote ---
I think this already has a mention on the forum or GitHub. Not looking it up ATM. Edit: Fixed.


--- Quote ---PHP Warning:  Division by zero in /var/www/html/hb/index.php on line 290
PHP Notice:  Undefined variable: inOptGroup in /var/www/html/lib/tmphpfuncs.php on line 157
PHP Notice:  Undefined variable: nobigheader in /var/www/html/lib/tmheader.php on line 4
PHP Notice:  Undefined index: abbrev in /var/www/html/user/system.php on line 323 366 <-- ca0f281
PHP Notice:  Undefined index: clinchedMileage in /var/www/html/stat.php on line 82
PHP Notice:  Undefined index: clinchedMileage in /var/www/html/stat.php on line 97
PHP Notice:  Undefined index: percentage in /var/www/html/stat.php on line 84
PHP Notice:  Undefined index: percentage in /var/www/html/stat.php on line 99
PHP Notice:  Undefined index: traveler in /var/www/html/stat.php on line 81
PHP Notice:  Undefined index: traveler in /var/www/html/lib/tmphpfuncs.php on line 382 <- 8f78502 09a176f
--- End quote ---
Wondering if some of these may be affecting the differences in table sorting that I'd previously written off as "Oh hey look, CentOS and FreeBSD are doing things differently."


--- Quote ---PHP Notice:  Undefined index: status in /var/www/html/user/region.php on line 360 <- 4dfc9bd
--- End quote ---
Should this be 'level' instead?

Jim:

--- Quote from: yakra on July 10, 2019, 01:54:40 pm ---

--- Code: ---PHP Notice:  Undefined index: status in /var/www/html/user/region.php on line 360
--- End code ---
Should this be 'level' instead?

--- End quote ---

Looks like it.  Want to make that fix with your current changes?

yakra:
Tried it out on lab2. Still getting
PHP Notice:  Undefined index: level in /var/www/html/user/region.php on line 360
If I view source on either lab2 or noreaster, I see
<tr onClick="window.open('/user/system.php?u=yakra&sys=cantch&amp;rg=MB')" class="status-">

I'd ask if we need to CREATE INDEX, but OTOH, I've not seen any errors about pointName in waypoints.js.php on line 129.
Looking here; seeing what I can learn.
Edit: Got it!

Navigation

[0] Message Index

Go to full version