This topic is locked

Getting Error

6/12/2011 3:20:52 AM
PHPRunner General questions
I
imthebest author

I am getting the following error message while clicking on "Print Selected" and "Export Selected" button on list page -
Warning: split() [function.split]: 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/Kolkata' for '5.5/no DST' instead in C:\Program Files\Zend\Apache2\htdocs\project2\include\commonfunctions.php on line 974
Please help me how to rectify this? One solution can be to go to commonfunctions.php and change the split() as that is depreciated. But the action should be somewhere from phprunner so that next time when we build the same error should not appear.
I am using phprunner 4.2
Thanks in advance.

Sergey Kornilov admin 6/12/2011

I guess your server runs PHP 5.3 where some old PHP functions were depreciated. You need to upgrade to PHPRunner 5.3 to resolve this issue.

I
imthebest author 6/13/2011



I guess your server runs PHP 5.3 where some old PHP functions were depreciated. You need to upgrade to PHPRunner 5.3 to resolve this issue.


Hi Admin,
Yes. You are right. My server runs PHP 5.3. However there can be two ways to overcome Deprecated messages -
1.) There is some settings in php.ini file t o suppress Deprecated messages. I tried to put ~E_DEPRECATED in Error Handling, but that did not work.

2.) As you suggested to upgrade to phprunner 5.3, this is a good option. Please let me know how to upgrade? I did not see any option in phprunner 4.2 which allows upgrade.
Thanks in advance.

Sergey Kornilov admin 6/13/2011