Hi... my hosting providers has update there php vesion to 5.3.2 . now i am getting an error on my website user page in user profile as below i am using memht portel 4.0.1 Warning Errno: 2 File: /hsphere/local/home1/mydomain.com/pages/users/index.php Line: 836 Function: changeProfile Note: changeProfile(): 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 'America/New_York' for 'EDT/-4.0/DST' instead Can anyone please help me to fix this issue I have attached the user/ index.php
Thanks pudge..but i don't know where to find this php sring to change i search in the user index.php i couldn't find it
The variable $siteConfig might have something to do with it and its just a guess that you will find this variable in a config.php file, if you find it, post the details of that line so we can help you further... However you should note that this Warning message your getting is just a warning and php already made an alternative timezone suggestion which is most likely the servers timezone, so as long as everything is working you could turn off warning messages. // Turn off all error reporting error_reporting(0); PHP:
Its not good to turn of all error reporting if the site is still under development. Its better to turnoff warnings only by using ini_set function. Other wise any error occurs it make a blank page only.