Wednesday, January 20, 2010

You are *required* to use the date.timezone setting or the date_default_timezone_set() function.

warning: strtotime(): 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 'EST/-5.0/no DST' instead in /var/www/html/drupal-6.15/modules/node/node.module on line 802.
If you get an error something like this. Do not worry. Just edit your /etc/php.ini file (the location of yours may differ) and add an entry for the date.timezone that should look something like this:
date.timezone = "America/New_York"
Then restart your webserver:
service httpd restart
Of course, your commands for restarting your webserver may be different depending on your lifestyle. But, no more errors from php functions trying to figure out what time it is.

Hope that helps.

Monday, January 04, 2010

Solution: Cannot create a desktop icon in KDE version 4.x

If you cannot create a link to your favorite application in KDE version 4, do not worry. Here is a procedure that may help you:

1) right click on your desktop
2) click "Desktop Activity Settings"
3) select "Activity" from the list on the left
4) change the "Activity Type" from "Desktop" to "Folder View"
5) click "Apply"
6) click "Ok"

Now you should be able to:
1) right click on your desktop
2) Create New
3) Link to Application

Hope that helps.

I have no idea why the KDE folks think that we should all magically know that we need to change our Activity Types from Desktop to Folder View, and that this would obviously change the desktop behavior to allow for adding an application icon to the desktop. If we picked random words from the dictionary, and substituted them for "Activity", "Desktop", and "Folder View" it would probably make more since why the new settings should allow an application launcher to be added to the desktop.

What is amazing and randomly wrong is that the default Activity Type called Desktop does NOT allow someone to add an icon to launch an application.

What do you think?