Upgrade issues

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
xjb2003x
New Member
New Member
Posts: 2
Joined: Fri Jul 25, 2008 7:24 pm

Upgrade issues

Post by xjb2003x »

I just upgraded from 1.2.1 to 1.3.1 today.  I copied my config.php to another place, blew out my old CMS directory, extracted the new version, deleted the install directory, removed the SITEDOWN, and finally moved my config.php back.  That went smooth, all my info was there.  The only problem I came across is with the timezone.  Below is the error:

Warning: 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 had to select 'UTC' because your platform doesn't provide functionality for the guessing algorithm in /opt/coolstack/apache2/htdocs/lib/content.functions.php(675) : eval()'d code on line 5

I remember running into this whenever I initially installed CMSMS, but I can't remember - and haven't found info - on how to resolve the issue.  At last resort, I was hoping to get some help from this forum.

Thanks in advance.
Pierre M.

Re: Upgrade issues

Post by Pierre M. »

Hello,

I wouldn't use an old config.php on a new version. I'd rather it be managed by install/upgrade.php or regenerated by the install wizard (not recreating the db tables to keep your content). Of course you may need to retune it by end hand (edit:typo) at the end of the upgrade process.

Pierre M.
Last edited by Pierre M. on Wed Jul 30, 2008 6:59 pm, edited 1 time in total.
xjb2003x
New Member
New Member
Posts: 2
Joined: Fri Jul 25, 2008 7:24 pm

Re: Upgrade issues

Post by xjb2003x »

I did your recommendation and upgraded everything rather than using the old configuration.  That didn't work though.  I was able to fix it by adding the following line to my php.ini file:

date.timezone = "America/New_York"

Once I restarted apache, the timezone messages disappeared.

Thanks for your help though
Post Reply

Return to “CMSMS Core”