Page 1 of 1

Small Problem...

Posted: Mon Apr 20, 2009 2:10 pm
by duhasteme
Hello there is a new problem which is cropping up at my local server...

I installed Appserv...and I have never had problems with it...

Now I am running a script and this is what I am getting...

Strict Standards: date() [function.date]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable 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/Calcutta' for '5.5/no DST' instead in C:\AppServ\www\upload\include\class_kernel.php on line 159

Line No :159 of that file is...

Code: Select all

$this->vars['page_struct']['system_date_year'] = date( "Y", UNIX_TIME );
There is another error or Fatal error which is cropping up...

Fatal error: Call to undefined function set_magic_quotes_runtime() in C:\AppServ\www\upload\global.php on line 81

I have used the same scripts on Appserv on another machine and it was working fine.

Can anyone help please..

Thanks a million in advance !

Re: Small Problem...

Posted: Mon Apr 20, 2009 4:11 pm
by McInfo
Here are some resources that are relevant to your issues.

For the timezone problem:
For the magic quotes problem:
Edit: This post was recovered from search engine cache.