[BlueOnyx:06068] Re: PHP Settings errors

User Ernie ernie at info.eis.net.au
Thu Dec 9 16:43:37 -05 2010


Tried, that. 
What's happend is variables have gone missing from the
php.ini file some how a day after the system was installed.
The file is there, but the lines with the veriables that the PHP settings
uses, are all missing from the file.

- Ernei.



> 
> do a yum clean all
> then yum update
> 
> so if that helps.
> 
> jimmy
> 
> -----Original Message-----
> From: blueonyx-bounces at blueonyx.it
> [mailto:blueonyx-bounces at blueonyx.it]On Behalf Of User Ernie
> Sent: Wednesday, December 08, 2010 8:55 PM
> To: blueonyx at blueonyx.it
> Subject: [BlueOnyx:06047] Re: PHP Settings errors
> 
> 
> Hi Michael,
> I tried those things before posting.
> 
> It did read php.ini sucessfully the other day after the install, but then a
> day later the variables seem empty.
> 
> The timestamp on the php.ini is:
> 
> -rw-r--r-- 1 root root 44598 Dec  7 15:57 /etc/php.ini
> 
> 
> I can do a reinstall from the CD again, but I would like to know what broke.
> 
> - Ernie.
> 
> 
> 
> 
> messages:Dec  6 01:01:55 localhost logger: ***** cce_construct:
> /usr/sausalito/constructor/base/vsite/import_php_ini_settings.pl
> messages:Dec  6 01:01:55 localhost cced(smd)[1786]: client 0:[0:1785]: SET
> / 21 allow_url_fopen = Off safe_mode_allowed_env_vars = PHP_
> / safe_mode_exec_dir = "" php_ini_location = "/etc/php.ini" open_basedir =
> / "/tmp/:/var/lib/php/session/" PHP_version = "5.1.6" disable_functions =
> / "exec,system,passthru,shell_exec,proc_open,proc_nice,ini_restore"
> / safe_mode_protected_env_vars = LD_LIBRARY_PATH safe_mode_gid = Off
> / register_globals = Off max_input_time = 60 safe_mode_include_dir = ""
> / disable_classes = "" max_execution_time = 30 safe_mode = On
> / allow_url_include = Off memory_limit = 128M post_max_size = 8M
> / upload_max_filesize = 2M
> 
> messages:Dec  7 12:58:55 onyx2 cced(smd)[1715]: client 0:[0:1714]: SET  21
> allow_url_fopen = "" safe_mode_allowed_env_vars = "" safe_mode_exec_dir = ""
> php_ini_location = "/etc/php.ini" open_basedir = "" PHP_version = "5.1.6"
> disable_functions = "" safe_mode_protected_env_vars = "" safe_mode_gid = ""
> register_globals = "" max_input_time = "" safe_mode_include_dir = ""
> disable_classes = "" max_execution_time = "" safe_mode = ""
> allow_url_include = Off memory_limit = "" post_max_size = ""
> upload_max_filesize = ""
> 
> messages:Dec  7 04:47:55 onyx2 logger: ***** cce_construct:
> /usr/sausalito/constructor/base/vsite/import_php_ini_settings.pl
> messages:Dec  7 04:47:56 onyx2 cced(smd)[1731]: client 0:[0:1730]: SET  21
> / allow_url_fopen = "" safe_mode_allowed_env_vars = "" safe_mode_exec_dir =
> / "" php_ini_location = "/etc/php.ini" open_basedir = "" PHP_version =
> / "5.1.6" disable_functions = "" safe_mode_protected_env_vars = ""
> / safe_mode_gid = "" register_globals = "" max_input_time = ""
> / safe_mode_include_dir = "" disable_classes = "" max_execution_time = ""
> / safe_mode = "" allow_url_include = Off memory_limit = "" post_max_size =
> / "" upload_max_filesize = ""
> 
> 
> 
> 
> 
> >
> > Hi Ernie,
> >
> > > Fresh install of BlyeOnyx with YUM updates, I go to Security -> PHP
> > > Settings and get a bunch of errors in the browser window.
> > >
> > > Warning: array_values() [function.array-values]: The argument should be
> an
> > > array in /usr/sausalito/ui/web/base/vsite/php_server.php on line 221
> > >
> > > [...]
> > >
> > > Any ideas?
> >
> > Weird. Is the box fully yum updated? If not, please run "yum update". If
> all
> > updates are (already) in, try to see if the following command fixes the
> > issues:
> >
> > /etc/init.d/cced.init restart
> >
> > I checked the error messages you've got there and I suspect that the page
> in
> > question wasn't able to determine some of your existing php.ini settings.
> > Usually CCE reads them in during restarts and stores that info into the
> CODB
> > database. But that info is apparently missing.
> >
> > --
> > With best regards
> >
> > Michael Stauber
> > _______________________________________________
> > Blueonyx mailing list
> > Blueonyx at blueonyx.it
> > http://www.blueonyx.it/mailman/listinfo/blueonyx
> >
> 
> 
> --
> "I Ping therefore I am."
> _______________________________________________
> Blueonyx mailing list
> Blueonyx at blueonyx.it
> http://www.blueonyx.it/mailman/listinfo/blueonyx
> 
> _______________________________________________
> Blueonyx mailing list
> Blueonyx at blueonyx.it
> http://www.blueonyx.it/mailman/listinfo/blueonyx
> 


-- 
"I Ping therefore I am."



More information about the Blueonyx mailing list