Current time: 11-23-2024, 08:07 AM Hello There, Guest! (LoginRegister)


Post Reply 
problem with time/date
Author Message
nhanct Offline
Newbie
*

Posts: 7
Joined: Jun 2011
Reputation: 0
Post: #1
Smile problem with time/date
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 129
who can help me fix this error ? Big Grin
Thanks a lotsWink[/quote][/php]


yeah, i fixed this problem. Big Grin

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 169

Deprecated: Function split() is deprecated in /var/www/ispcp/gui/include/phpsysinfo/class.Linux.inc.php on line 116
what can i do to fix this error?
(This post was last modified: 06-10-2011 02:30 PM by nhanct.)
06-10-2011 02:08 PM
Find all posts by this user Quote this message in a reply
sumfvm Offline
Junior Member
*

Posts: 30
Joined: May 2011
Reputation: 0
Post: #2
RE: problem with time/date
Thank you for the answer, it may help others Wink
06-10-2011 03:43 PM
Find all posts by this user Quote this message in a reply
kilburn Offline
Development Team
*****
Dev Team

Posts: 2,182
Joined: Feb 2007
Reputation: 34
Post: #3
RE: problem with time/date
(06-10-2011 02:08 PM)nhanct Wrote:  hix, next, i got an error:
Quote:Deprecated: Function split() is deprecated in /var/www/ispcp/gui/include/phpsysinfo/common_functions.php on line 169

Deprecated: Function split() is deprecated in /var/www/ispcp/gui/include/phpsysinfo/class.Linux.inc.php on line 116
what can i do to fix this 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.
06-10-2011 03:57 PM
Visit this user's website Find all posts by this user Quote this message in a reply
nhanct Offline
Newbie
*

Posts: 7
Joined: Jun 2011
Reputation: 0
Post: #4
Smile RE: problem with time/date
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

Warning: ftp_mkdir() [function.ftp-mkdir]: CWD command successful in /var/www/ispcp/gui/tools/filemanager/includes/filesystem.inc.php on line 493

Warning: ftp_put() [function.ftp-put]: CWD command successful in /var/www/ispcp/gui/tools/filemanager/includes/filesystem.inc.php on line 1283

Warning: ftp_put() [function.ftp-put]: /htdocs//upload/admincp: File exists in /var/www/ispcp/gui/tools/filemanager/includes/filesystem.inc.php on line 1283

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 Big Grin
who can help me?? plz Big Grin
thanks all Big Grin
(This post was last modified: 06-10-2011 05:30 PM by nhanct.)
06-10-2011 05:25 PM
Find all posts by this user Quote this message in a reply
nhanct Offline
Newbie
*

Posts: 7
Joined: Jun 2011
Reputation: 0
Post: #5
RE: problem with time/date
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 Big Grin
06-10-2011 11:45 PM
Find all posts by this user Quote this message in a reply
RatS Offline
Project Leader
******

Posts: 1,854
Joined: Oct 2006
Reputation: 17
Post: #6
RE: problem with time/date
It would help to update your ispCP Omega to version 1.0.7. This version is fully compatible with PHP 5.3
06-11-2011 06:02 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)