Small Problem...

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
duhasteme
Forum Commoner
Posts: 25
Joined: Fri Jun 29, 2007 4:24 am
Contact:

Small Problem...

Post 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 !
User avatar
McInfo
DevNet Resident
Posts: 1532
Joined: Wed Apr 01, 2009 1:31 pm

Re: Small Problem...

Post 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.
Post Reply