| View previous topic :: View next topic |
| Author |
Message |
Mittineague Site Admin


Joined: 04 Jul 2006 Posts: 68 Location: West Springfield, Massachusetts
|
|
| Back to top |
|
 |
neal_taylor Newcomer

Joined: 10 Apr 2007 Posts: 1
|
Posted: April 10 2007, 21:20 Post subject: Error when activating |
|
|
I was thrilled to discover your plug-in but when I installed it and clicked activate this is what I got:
| Code: |
| Fatal error: Call to undefined function: date_default_timezone_get() in /home/theforgo/public_html/wp-content/plugins/errorreporting.php on line 98 |
And then no access to any part of the site, admin or front end.
I am running Wordpress 2.1.2 and about to upgrade to 2.1.3....
Server details are:
Linux
Kernel version: 2.4.18-27.7.x
Machine Type: i686
Apache version: 1.3.34 (Unix)
PHP version: 4.3.11
MySQL version: 4.0.25-standard
I was hoping to get this working to help with a problem we are having with comments on some posts but had to uninstall before I could get access to my site again. |
|
| Back to top |
|
 |
Mittineague Site Admin


Joined: 04 Jul 2006 Posts: 68 Location: West Springfield, Massachusetts
|
Posted: April 11 2007, 00:32 Post subject: default timezone |
|
|
Thanks for bringing this to my attention.
My apologies for crashing your blog.
I use date_default_timezone_get/set to sync the time with the admin's time rather than the server time. (eg. my sever is PST and I'm EST).
These functions are PHP ver 5+
I will wrap the calls in function_exists and upload a new version as soon as I'm done here. |
|
| Back to top |
|
 |
|