problem with time/date - Printable Version +- ispCP - Board - Support (http://www.isp-control.net/forum) +-- Forum: ispCP Omega Support Area (/forum-30.html) +--- Forum: System Setup & Installation (/forum-32.html) +--- Thread: problem with time/date (/thread-14147.html) |
problem with time/date - nhanct - 06-10-2011 02:08 PM hi all, i'v installed ispCP 1.0.6 OMEGA on vmware, i got an error : Quote:Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Asia/Bangkok' for 'ICT/7.0/no DST' instead in /var/www/ispcp/gui/admin/index.php on line 129who can help me fix this error ? Thanks a lots[/quote][/php] yeah, i fixed this problem. nano /var/www/fcgi/master/php5/php.ini find : ;date.timezone = Uncomment to look like this: date.timezone = date.timezone =Asia/Bangkok Restart Apache: service httpd restart hix, next, i got an error: Quote:Deprecated: Function split() is deprecated in /var/www/ispcp/gui/include/phpsysinfo/common_functions.php on line 169what can i do to fix this error? RE: problem with time/date - sumfvm - 06-10-2011 03:43 PM Thank you for the answer, it may help others RE: problem with time/date - kilburn - 06-10-2011 03:57 PM (06-10-2011 02:08 PM)nhanct Wrote: hix, next, i got an error: If the pattern is a plain string, use "explode()" instead. If it is a regular expression, then you will have to convert it to perl regular expresion syntax (pcre) and use "preg_spilt()" instead. RE: problem with time/date - nhanct - 06-10-2011 05:25 PM thanks all, but i have some error when i use tool filemanager, i get this error: Quote:Warning: ftp_mkdir() [function.ftp-mkdir]: PORT command successful in /var/www/ispcp/gui/tools/filemanager/includes/filesystem.inc.php on line 493 then when i use forum vbb i get this error : Quote:Deprecated: Assigning the return value of new by reference is deprecated in /var/www/virtual/test2.com/htdocs/upload/showthread.php on line 640 i think this error from php.ini but i don't know how to fix who can help me?? plz thanks all RE: problem with time/date - nhanct - 06-10-2011 11:45 PM hmm, i fix this error. +in first error, i changed line : display error = off on /var/www/fcgi/master/php5/php.ini -> restart apache + in error 2: when i install vbb ver 4.1.3 then the problem was resolved RE: problem with time/date - RatS - 06-11-2011 06:02 AM It would help to update your ispCP Omega to version 1.0.7. This version is fully compatible with PHP 5.3 |