[BlueOnyx:20087] 5209R: getting error text "above" the regular content on the - Server Management | Security | PHP Settings page

webmaster webmaster at oldcabin.net
Fri Sep 9 22:23:52 -05 2016


5209R

The problem:  I went to change some server wide php settings in the GUI.

Server Management | Security | PHP Settings


1) When the PHP Settings page loads I get ERROR TEXT "ABOVE" the regular 
stuff on the PHP Settings page
(%% error text snip at bottom of this post  %%  )

also

2) In the GUI the other thing I noticed is the
Max execution time:  Select/Drop-down is blank. -* No choices to select


The rest of the page's fields are ok and have values in them.


Via the GUI I looked at the /etc/php.ini file and there was no entry for 
"max_execution_time"

Below is a snip from my /etc/php.ini

##########################################################

;;;;;;;;;;;;;;;;;;;
; Resource Limits ;
;;;;;;;;;;;;;;;;;;;

; Maximum execution time of each script, in seconds
; http://php.net/max-execution-time
; Note: This directive is hardcoded to 0 for the CLI SAPI
; Maximum amount of time each script may spend parsing request data. 
It's a good
; idea to limit this time on productions servers in order to eliminate 
unexpectedly
; long running scripts.
; Note: This directive is hardcoded to -1 for the CLI SAPI
; Default Value: -1 (Unlimited)
; Development Value: 60 (60 seconds)
; Production Value: 60 (60 seconds)
; http://php.net/max-input-time
max_input_time = 900

; Maximum input variable nesting level
; http://php.net/max-input-nesting-leve

############################################################





So using vi manually I added "max_execution_time = 30" to my /etc/php.ini



@@@@@@@@@@@@@@@@@@@@@@@@@@

;;;;;;;;;;;;;;;;;;;
; Resource Limits ;
;;;;;;;;;;;;;;;;;;;

; Maximum execution time of each script, in seconds
; http://php.net/max-execution-time
; Note: This directive is hardcoded to 0 for the CLI SAPI
; Maximum amount of time each script may spend parsing request data. 
It's a good
; idea to limit this time on productions servers in order to eliminate 
unexpectedly
max_execution_time = 30
; long running scripts.
; Note: This directive is hardcoded to -1 for the CLI SAPI
; Default Value: -1 (Unlimited)
; Development Value: 60 (60 seconds)
; Production Value: 60 (60 seconds)
; http://php.net/max-input-time
max_input_time = 900

; Maximum input variable nesting level

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@



1) restarted the web server

2) restarted the admin server

3) Went back to the GUI Server Management | Security | PHP Settings page

Problem is still happening

a) Errors at the top of the PHP Settings page
    ( error text snip at bottom of this post  %%  )

b) Max execution time:  Dropdown is blank.    No choices to select


4 ) opened up /etc/php.ini again and my addition of "max_execution_time 
= 30"    was gone





%%%%%%%%%%%%%%%%%% ERROR HAPPENING AT TO OF PHP Settings page above rest 
of page %%%%%%%%%%%%%%%

A PHP Error was encountered

Severity: Notice

Message: Undefined variable: max_execution_time_choices

Filename: controllers/phpconfig.php

Line Number: 606
A PHP Error was encountered

Severity: Warning

Message: array_values() expects parameter 1 to be array, null given

Filename: controllers/phpconfig.php

Line Number: 606
A PHP Error was encountered

Severity: Notice

Message: Undefined variable: id

Filename: uifc/MultiChoice.php

Line Number: 706
A PHP Error was encountered

Severity: Notice

Message: Undefined variable: id

Filename: uifc/MultiChoice.php

Line Number: 706
A PHP Error was encountered

Severity: Notice

Message: Undefined variable: id

Filename: uifc/MultiChoice.php

Line Number: 706

%%%%%%%%%%%%%%%%%% END %% ERROR HAPPENING AT TO OF PHP Settings page 
above rest of page %%%%%%%%%%%%%%%


*** Haven't yum'd in a while but haven't seen this mentioned in the 
group so I don't think that is an issue on this one?



Thanks

--Tim







More information about the Blueonyx mailing list