Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2011-08-24 14:13:30
- Stafford
- New Member
- Registered: 2011-08-24
- Posts: 1
New 441 install. Notice:"date_default_timezone_set() " issue
First time using Textpattern. I get this repeated error on the basic prefs page, any suggestions?:
Notice: date_default_timezone_set() [function.date-default-timezone-set]: Timezone ID 'America/Santarem' is invalid in /var/www/vhosts/cms.xxx.com/httpdocs/CMS/textpattern4-4-1/textpattern/lib/txplib_misc.php on line 2610
Notice: date_default_timezone_set() [function.date-default-timezone-set]: Timezone ID 'America/Argentina/Salta' is invalid in /var/www/vhosts/cms.xxx.com/httpdocs/CMS/textpattern4-4-1/textpattern/lib/txplib_misc.php on line 2610
Notice: date_default_timezone_set() [function.date-default-timezone-set]: Timezone ID 'America/Argentina/San_Luis' is invalid in /var/www/vhosts/cms.xxx.com/httpdocs/CMS/textpattern4-4-1/textpattern/lib/txplib_misc.php on line 2610
Notice: date_default_timezone_set() [function.date-default-timezone-set]: Timezone ID 'Asia/Kolkata' is invalid in /var/www/vhosts/cms.xxx.com/httpdocs/CMS/textpattern4-4-1/textpattern/lib/txplib_misc.php on line 2610
Notice: date_default_timezone_set() [function.date-default-timezone-set]: Timezone ID 'America/Matamoros' is invalid in /var/www/vhosts/cms.xxx.com/httpdocs/CMS/textpattern4-4-1/textpattern/lib/txplib_misc.php on line 2610
Notice: date_default_timezone_set() [function.date-default-timezone-set]: Timezone ID 'America/Ojinaga' is invalid in /var/www/vhosts/cms.xxx.com/httpdocs/CMS/textpattern4-4-1/textpattern/lib/txplib_misc.php on line 2610
Notice: date_default_timezone_set() [function.date-default-timezone-set]: Timezone ID 'Asia/Ho_Chi_Minh' is invalid in /var/www/vhosts/cms.xxx.com/httpdocs/CMS/textpattern4-4-1/textpattern/lib/txplib_misc.php on line 2610
Notice: date_default_timezone_set() [function.date-default-timezone-set]: Timezone ID 'Asia/Kathmandu' is invalid in /var/www/vhosts/cms.xxx.com/httpdocs/CMS/textpattern4-4-1/textpattern/lib/txplib_misc.php on line 2610
Notice: date_default_timezone_set() [function.date-default-timezone-set]: Timezone ID 'Asia/Novokuznetsk' is invalid in /var/www/vhosts/cms.xxx.com/httpdocs/CMS/textpattern4-4-1/textpattern/lib/txplib_misc.php on line 2610
Notice: date_default_timezone_set() [function.date-default-timezone-set]: Timezone ID 'America/Santa_Isabel' is invalid in /var/www/vhosts/cms.xxx.com/httpdocs/CMS/textpattern4-4-1/textpattern/lib/txplib_misc.php on line 2610
Diagnostics output:
Textpattern version: 4.4.1 (r3575)
Last Update: 2011-08-23 16:20:55/2011-08-23 16:02:59
Document root: /var/www/vhosts/cms.xxx.com/httpdocs
$path_to_site: /var/www/vhosts/cms.xxx.com/httpdocs/CMS/textpattern4-4-1
Textpattern path: /var/www/vhosts/cms.xxx.com/httpdocs/CMS/textpattern4-4-1/textpattern
Permanent link mode: section_id_title
open_basedir: /var/www/vhosts/cms.xxx.com/httpdocs:/tmp
Temporary directory path: /tmp
Site URL: cms.xxx.com/CMS/textpattern4-4-1
PHP version: 5.2.17
GD Image Library: bundled (2.0.34 compatible); supported formats: GIF, JPG, PNG.
Server TZ: America/New_York
Server Local Time: 2011-08-24 10:10:32
DST enabled?: 1
Automatically adjust DST setting?: 1
Time Zone: America/New_York (-18000)
MySQL: 5.0.45
Locale: en_GB.UTF-8
Server: Apache/2.2.3 (Red Hat)
Apache version: Apache/2.2.3 (Red Hat)
PHP Server API: apache2handler
RFC 2616 headers:
Server OS: Linux 2.6.18-92.el5
Active plugins: rvm_maintenance-0.5, mem_templates-0.1(mod), upm_img_popper-1.3.7m, upm_insert_tab-0.3, tru_tags-3.6
Admin-side theme: classic 4.4.1
.htaccess file contents:
------------------------
#DirectoryIndex index.php index.html
#Options +FollowSymLinks
#Options -Indexes
#ErrorDocument 403 default
<IfModule mod_rewrite.c>
RewriteEngine On
#RewriteBase /relative/web/path/
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^(.+) - [PT,L]
RewriteCond %{REQUEST_URI} !=/favicon.ico
RewriteRule ^(.*) index.php
RewriteCond %{HTTP:Authorization} !^$
RewriteRule .* - [E=REMOTE_USER:%{HTTP:Authorization}]
</IfModule>
#php_value register_globals 0
------------------------
Charset (default/config): latin1/utf8
character_set_client: utf8
character_set_connection: utf8
character_set_database: utf8
character_set_filesystem: binary
character_set_results: utf8
character_set_server: latin1
character_set_system: utf8
character_sets_dir: /usr/share/mysql/charsets/
17 Tables: OK
10 Custom Fields: custom_1, custom_2, custom_3, custom_4, custom_5, custom_6, custom_7, custom_8, custom_9, custom_10 (10)
PHP extensions: date/5.2.17, libxml, openssl, pcre, zlib/1.1, bz2, calendar, ctype, hash/1.0, filter/0.11.0, ftp, gettext, gmp, session, iconv, Reflection/0.1, standard/5.2.17, shmop, SimpleXML/0.1, SPL/0.2, sockets, exif/1.4 $Id: exif.c 293036 2010-01-03 09:23:27Z sebastian $, tokenizer/0.1, xml, apache2handler, apc/3.1.6, curl, dbase, dom/20031129, gd, imap, json/1.2.1, mbstring, mcrypt, mysql/1.0, mysqli/0.1, PDO/1.0.4dev, pdo_mysql/1.0.2, pdo_sqlite/1.0.1, wddx, xmlreader/0.1, xmlwriter/0.1, xsl/0.1, zip/1.8.11, ionCube Loader
Apache modules: core, prefork, http_core, mod_so, mod_auth_basic, mod_auth_digest, mod_authn_file, mod_authn_alias, mod_authn_anon, mod_authn_dbm, mod_authn_default, mod_authz_host, mod_authz_user, mod_authz_owner, mod_authz_groupfile, mod_authz_dbm, mod_authz_default, util_ldap, mod_authnz_ldap, mod_include, mod_log_config, mod_logio, mod_env, mod_ext_filter, mod_mime_magic, mod_expires, mod_deflate, mod_headers, mod_usertrack, mod_setenvif, mod_mime, mod_dav, mod_status, mod_autoindex, mod_info, mod_dav_fs, mod_vhost_alias, mod_negotiation, mod_dir, mod_actions, mod_speling, mod_userdir, mod_alias, mod_rewrite, mod_proxy, mod_proxy_balancer, mod_proxy_ftp, mod_proxy_http, mod_proxy_connect, mod_cache, mod_suexec, mod_disk_cache, mod_file_cache, mod_mem_cache, mod_cgi, mod_version, mod_perl, mod_php5, mod_proxy_ajp, mod_python, mod_ssl
pretext_data: array (
'id' => '',
's' => '',
'c' => '',
'context' => '',
'q' => '',
'm' => '',
'pg' => '',
'p' => '',
'month' => '',
'author' => '',
'request_uri' => '/CMS/textpattern4-4-1/96b4d4749a461e219e46f0a7e3cc3256/?txpcleantest=1',
'qs' => 'txpcleantest=1',
'subpath' => '\\/CMS\\/textpattern4-4-1\\/',
'req' => '/96b4d4749a461e219e46f0a7e3cc3256/?txpcleantest=1',
)
/var/www/vhosts/cms.xxx.com/httpdocs/CMS/textpattern4-4-1/index.php:
r3189 (5dfca604bf4976675f92222dd5628b0a)
/var/www/vhosts/cms.xxx.com/httpdocs/CMS/textpattern4-4-1/css.php:
r3189 (b53deffeb21070b8d493af6846db8ac3)
/var/www/vhosts/cms.xxx.com/httpdocs/CMS/textpattern4-4-1/textpattern/css.php:
r3189 (820df954c923979eabace541888feb4a)
/var/www/vhosts/cms.xxx.com/httpdocs/CMS/textpattern4-4-1/textpattern/include/import/import_b2.php:
r3446 (7a044ad474fd04ae61063d0df15e05d8)
/var/www/vhosts/cms.xxx.com/httpdocs/CMS/textpattern4-4-1/textpattern/include/import/import_blogger.php:
r3446 (4eade881581bd9932f05a7ff6e2a6e1f)
/var/www/vhosts/cms.xxx.com/httpdocs/CMS/textpattern4-4-1/textpattern/include/import/import_mt.php:
r3446 (f0ab362246e60f37d3c52ef3f004e79d)
/var/www/vhosts/cms.xxx.com/httpdocs/CMS/textpattern4-4-1/textpattern/include/import/import_mtdb.php:
r3488 (22628f6ba8d15645498ba09eb48bab32)
/var/www/vhosts/cms.xxx.com/httpdocs/CMS/textpattern4-4-1/textpattern/include/import/import_wp.php:
r3488 (977d7be6fad569982ad175225e8e4df5)
/var/www/vhosts/cms.xxx.com/httpdocs/CMS/textpattern4-4-1/textpattern/include/txp_admin.php:
r3570 (7925fc6a6c15f944ab255a0a7e239dab)
/var/www/vhosts/cms.xxx.com/httpdocs/CMS/textpattern4-4-1/textpattern/include/txp_article.php:
r3560 (c12a042e5f56efeb4f5af57be4d42023)
/var/www/vhosts/cms.xxx.com/httpdocs/CMS/textpattern4-4-1/textpattern/include/txp_auth.php:
r3571 (dea6f26aa1af3ef10a0dc002f3a397ea)
/var/www/vhosts/cms.xxx.com/httpdocs/CMS/textpattern4-4-1/textpattern/include/txp_category.php:
r3534 (37ecab71b01c146dd58da97d9b5c6439)
/var/www/vhosts/cms.xxx.com/httpdocs/CMS/textpattern4-4-1/textpattern/include/txp_css.php:
r3535 (8cbc6b0e164b1cb790bea0264e867915)
/var/www/vhosts/cms.xxx.com/httpdocs/CMS/textpattern4-4-1/textpattern/include/txp_diag.php:
r3521 (fac584135850fcae546cb8c59bf94688)
/var/www/vhosts/cms.xxx.com/httpdocs/CMS/textpattern4-4-1/textpattern/include/txp_discuss.php:
r3569 (9e1d3b6ab40fde25a41d192e5f573ef7)
/var/www/vhosts/cms.xxx.com/httpdocs/CMS/textpattern4-4-1/textpattern/include/txp_file.php:
r3569 (a1848e934804174886ae3b57d418ebd2)
/var/www/vhosts/cms.xxx.com/httpdocs/CMS/textpattern4-4-1/textpattern/include/txp_form.php:
r3560 (06f2ddc008dbc82ce8d50af615f5f1a0)
/var/www/vhosts/cms.xxx.com/httpdocs/CMS/textpattern4-4-1/textpattern/include/txp_image.php:
r3569 (a77c218d6db978157ec9f289d561cd33)
/var/www/vhosts/cms.xxx.com/httpdocs/CMS/textpattern4-4-1/textpattern/include/txp_import.php:
r3556 (f8187a926ca6a379c1b0dd79fc194bec)
/var/www/vhosts/cms.xxx.com/httpdocs/CMS/textpattern4-4-1/textpattern/include/txp_link.php:
r3569 (412a2382de98901a535548e5cf2def96)
/var/www/vhosts/cms.xxx.com/httpdocs/CMS/textpattern4-4-1/textpattern/include/txp_list.php:
r3569 (91d67b3a1576a5dee3a128a03cdf9f04)
/var/www/vhosts/cms.xxx.com/httpdocs/CMS/textpattern4-4-1/textpattern/include/txp_log.php:
r3569 (fd8cd943143eb3537074563625521033)
/var/www/vhosts/cms.xxx.com/httpdocs/CMS/textpattern4-4-1/textpattern/include/txp_page.php:
r3560 (180b3a6b8669add7dab51a67ec76f89b)
/var/www/vhosts/cms.xxx.com/httpdocs/CMS/textpattern4-4-1/textpattern/include/txp_plugin.php:
r3551 (51152310c17015cf906fb26ddaa68275)
/var/www/vhosts/cms.xxx.com/httpdocs/CMS/textpattern4-4-1/textpattern/include/txp_prefs.php:
r3555 (6e844f30b97b1454c3d201914a2464a9)
/var/www/vhosts/cms.xxx.com/httpdocs/CMS/textpattern4-4-1/textpattern/include/txp_section.php:
r3552 (89aacca63f7afc9fe28dc111cb61fa5d)
/var/www/vhosts/cms.xxx.com/httpdocs/CMS/textpattern4-4-1/textpattern/include/txp_tag.php:
r3560 (d22e90318bd6fdf006198ebd33c5e6b3)
/var/www/vhosts/cms.xxx.com/httpdocs/CMS/textpattern4-4-1/textpattern/index.php:
r3575 (c2c7bf18468d74254c77570a9573b46b)
/var/www/vhosts/cms.xxx.com/httpdocs/CMS/textpattern4-4-1/textpattern/jquery.js:
unknown (a34f78c3aecd182144818eb4b7303fda)
/var/www/vhosts/cms.xxx.com/httpdocs/CMS/textpattern4-4-1/textpattern/lib/IXRClass.php:
r3394 (e0b53564e1504316b35872309780edab)
/var/www/vhosts/cms.xxx.com/httpdocs/CMS/textpattern4-4-1/textpattern/lib/admin_config.php:
r3559 (52d8b15bbf633de98c565252b9ef8ceb)
/var/www/vhosts/cms.xxx.com/httpdocs/CMS/textpattern4-4-1/textpattern/lib/class.thumb.php:
r3301 (78f52a89b91018c8fa00ddd73cd398f5)
/var/www/vhosts/cms.xxx.com/httpdocs/CMS/textpattern4-4-1/textpattern/lib/classTextile.php:
r3566 (03d537017f6fc1f43535fa8d18f4cd48)
/var/www/vhosts/cms.xxx.com/httpdocs/CMS/textpattern4-4-1/textpattern/lib/constants.php:
r3488 (aa0ea1b5749497d3b19f0ed07acccaa2)
/var/www/vhosts/cms.xxx.com/httpdocs/CMS/textpattern4-4-1/textpattern/lib/taglib.php:
r2868 (5738c5e31820cda422f32701c71cb77e)
/var/www/vhosts/cms.xxx.com/httpdocs/CMS/textpattern4-4-1/textpattern/lib/txplib_admin.php:
r3488 (e7f66b6f8cc7e5a51eb05555ad3cb6dc)
/var/www/vhosts/cms.xxx.com/httpdocs/CMS/textpattern4-4-1/textpattern/lib/txplib_db.php:
r3389 (0e7462a104d815a33d25c5a6e775f84d)
/var/www/vhosts/cms.xxx.com/httpdocs/CMS/textpattern4-4-1/textpattern/lib/txplib_forms.php:
r3531 (a4dbb070460ecc5698ab80bba2cdfe5b)
/var/www/vhosts/cms.xxx.com/httpdocs/CMS/textpattern4-4-1/textpattern/lib/txplib_head.php:
r3560 (1a82941e28253d6df3735c05df5f7ebd)
/var/www/vhosts/cms.xxx.com/httpdocs/CMS/textpattern4-4-1/textpattern/lib/txplib_html.php:
r3569 (84ee78759355041d1ebb2c36bf565d80)
/var/www/vhosts/cms.xxx.com/httpdocs/CMS/textpattern4-4-1/textpattern/lib/txplib_misc.php:
r3569 (ea1314b56962fc9c67885691d977a3c5)
/var/www/vhosts/cms.xxx.com/httpdocs/CMS/textpattern4-4-1/textpattern/lib/txplib_theme.php:
r3388 (51ad413813a10071873571304bea9f97)
/var/www/vhosts/cms.xxx.com/httpdocs/CMS/textpattern4-4-1/textpattern/lib/txplib_update.php:
r2812 (52029367bf0aef18c1879d5ff2cf3d46)
/var/www/vhosts/cms.xxx.com/httpdocs/CMS/textpattern4-4-1/textpattern/lib/txplib_wrapper.php:
r2931 (17472ff98d9ffb3dbcc9ebdf222d11ac)
/var/www/vhosts/cms.xxx.com/httpdocs/CMS/textpattern4-4-1/textpattern/publish.php:
r3500 (e3bba9bec573b33dea759c0344db96a8)
/var/www/vhosts/cms.xxx.com/httpdocs/CMS/textpattern4-4-1/textpattern/publish/atom.php:
r3399 (f4470b45eedc8e1ad4a48f8e74b45233)
/var/www/vhosts/cms.xxx.com/httpdocs/CMS/textpattern4-4-1/textpattern/publish/comment.php:
r3395 (9e8596ada0a85ebdd52e1548fda81314)
/var/www/vhosts/cms.xxx.com/httpdocs/CMS/textpattern4-4-1/textpattern/publish/log.php:
r3505 (8401dab65b91b1b1021fc876daf473bd)
/var/www/vhosts/cms.xxx.com/httpdocs/CMS/textpattern4-4-1/textpattern/publish/rss.php:
r3399 (f8cb3ec280bffb8a15832ee3143f576c)
/var/www/vhosts/cms.xxx.com/httpdocs/CMS/textpattern4-4-1/textpattern/publish/search.php:
r2812 (e2355f5b045bf80acc3a52ba32dddb1a)
/var/www/vhosts/cms.xxx.com/httpdocs/CMS/textpattern4-4-1/textpattern/publish/taghandlers.php:
r3567 (6e87e8065d71acaa25512f8901d57938)
/var/www/vhosts/cms.xxx.com/httpdocs/CMS/textpattern4-4-1/textpattern/textpattern.js:
r3560 (d0f6e8f931eb32d945112b712a45e32b)
/var/www/vhosts/cms.xxx.com/httpdocs/CMS/textpattern4-4-1/textpattern/theme/classic/classic.php:
r3191 (f5337d226aef1552c4d4d99fe3bee912)
/var/www/vhosts/cms.xxx.com/httpdocs/CMS/textpattern4-4-1/textpattern/update/_to_1.0.0.php:
r3047 (d631745cc332531712480f2bd6dfae29)
/var/www/vhosts/cms.xxx.com/httpdocs/CMS/textpattern4-4-1/textpattern/update/_to_4.0.2.php:
r3462 (a08e1b95ea2256a33effab779989d1fd)
/var/www/vhosts/cms.xxx.com/httpdocs/CMS/textpattern4-4-1/textpattern/update/_to_4.0.3.php:
r3047 (888328073220c66f316c1f04e5498692)
/var/www/vhosts/cms.xxx.com/httpdocs/CMS/textpattern4-4-1/textpattern/update/_to_4.0.4.php:
r3047 (3da0f3b179ad98a49f8846c4e328cd0d)
/var/www/vhosts/cms.xxx.com/httpdocs/CMS/textpattern4-4-1/textpattern/update/_to_4.0.5.php:
r2894 (e5150247c0e2d8882f65e24c938df1d6)
/var/www/vhosts/cms.xxx.com/httpdocs/CMS/textpattern4-4-1/textpattern/update/_to_4.0.6.php:
r3047 (faeb0eaa7c042d18e79ded54ad3f68b3)
/var/www/vhosts/cms.xxx.com/httpdocs/CMS/textpattern4-4-1/textpattern/update/_to_4.0.7.php:
r3014 (59dfb80496aa6f8bbcb486f26488f65d)
/var/www/vhosts/cms.xxx.com/httpdocs/CMS/textpattern4-4-1/textpattern/update/_to_4.0.8.php:
r3057 (89382671f0509e1d880707bbd293f86c)
/var/www/vhosts/cms.xxx.com/httpdocs/CMS/textpattern4-4-1/textpattern/update/_to_4.2.0.php:
r3480 (7bb41aac414aff7fa81cf960b5a42c1c)
/var/www/vhosts/cms.xxx.com/httpdocs/CMS/textpattern4-4-1/textpattern/update/_to_4.3.0.php:
r3304 (59fcf5b4e1dc7870d6729c63b824e55f)
/var/www/vhosts/cms.xxx.com/httpdocs/CMS/textpattern4-4-1/textpattern/update/_to_4.4.0.php:
r3498 (4b3bd3eadb29f3a9df6398126e137a87)
/var/www/vhosts/cms.xxx.com/httpdocs/CMS/textpattern4-4-1/textpattern/update/_update.php:
r3575 (3386cdffb48e0b00c2b77e00ef57daec)
------------------------
Edit. Added some code formatting (bc.
) for the diagnostics output and notices -Gocom
Last edited by Gocom (2011-08-24 19:47:23)
Offline
Re: New 441 install. Notice:"date_default_timezone_set() " issue
Stafford wrote:
First time using Textpattern.
Welcome abroad :)
I get this repeated error on the basic prefs page, any suggestions?:
The notices are caused by the timezone code Textpattern uses to populate the list of all available timezones. The notices are harmless (doesn’t effect anything).
TXP uses timezone_abbreviations_list()
to get a list of available timezones, where some of the timezones returned might not in fact be supported at all, causing notices. TXP then runs the list of timezones with date_default_timezone_set()
to get the status of DST (whether the timezone is using it or not), and when trying to set on an unavailable timezone you get a notice.
You can ignore the notices if they don’t get on your way. Those particular notices will only affect Preferences panel, and do not cause any harm as long as you select a timezone that is supported by your server. You could also try to update PHP’s timezone database.
If the timezone code causes you additional, more serious, problems, you can turn the automatic timezone handling off by adding define('NO_TIMEZONE_SUPPORT', TRUE);
to your config.php
. You will lose Auto-DST feature, and then TXP defaults to old fashion of handling timezones.
Offline