Tag Archives: error

Spotify crashes in Linux under Wine

I have been using Spotify on Linux for quite a while now, under Wine. Suddenly it decided not to work a any more.  I was getting the following error when trying to run the new 0.6.2 version.  “The program Spotify.exe has encountered a serious problem and needs to close.”

Trying to run it from the command line showed me yet another error message: “wine: Unhandled page fault on read access to 0×00000068 at address 0x7bc368b5 (thread 0042), starting debugger…”

UPDATE: Please first try the WinHTTP.dll fix posted by Nick in the comments section.

My simple solution: After searching in various forums and blogs and trying a myriad of  “fixes” that took me nowhere. The simplest answer I found was to remove the Spotify app from Facebook. I can now listen to my Spotify  play lists on my Open SUSE Linux. It does mean that you will be without the Facebook integration, which for me is not a big deal.

To delete Spotify from your Facebook account go to Privacy Setting >> Apps and Websites >> edit (Spotify) >> remove application

Spotify does have a Linux version of its software, which is currently in preview version and only available for Debian/Ubuntu  paid subscribers.  On their website they said: “As we haven’t found a reliable way to display ads yet, this version (Linux Preview) is only available to Spotify Premium and Unlimited subscribers. “  Fair enough I would say…

Technorati Tags: , , , , , , , , ,

It is not safe to rely on the system’s timezone settings

Recently I have been having the following error on my PHP code every time I call the PHP function date();  Mostly when running it on my local test server.

Warning: date(): It is not safe to rely on the system’s timezone settings

Cause: Since PHP5.1.0 the E_RESTRICT setting causes PHP to report error for every call
to a date/time function, if no default time is set.

Fix:
There are 2 approaches to  resolving this.

  1. Set time setting to your PHP script with the function date_default_timezone_set();  with the intended time zone/location eg: for GMT one can use date_default_timezone_set(‘Europe/London’);
  2. Set time setting to your php.ini file by editing the line ;date.timezone = to date.timezone = “Europe/London” or you required location. This is good for setting a server wide time setting.

Technorati Tags: , , , , ,