Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
taghandlers.php 2755
Notice: Undefined variable: Posted in /home/r/public_html/textpattern/publish/taghandlers.php on line 2755
taghandlers.php 2755
if (empty($posted)) $posted = $Posted;
—————————————————————————————————————————-
after i delete this sentence by # if (empty($posted)) $posted = $Posted;
; the error dispear, i doubt it’s right or i should
Last edited by fdsafdsa (2009-01-18 14:07:26)
Offline
Re: taghandlers.php 2755
Please post the results of the full diagnostics test here.
Offline
Re: taghandlers.php 2755
I can reproduce this by executing these steps:
- Post an article the usual way. Set timestamp to any valid date.
- Edit the article, erase all fields of the posting timestamp, try to save the article.
- Bang.
Offline
Re: taghandlers.php 2755
wet wrote:
I can reproduce this by executing these steps:
- Post an article the usual way. Set timestamp to any valid date.
- Edit the article, erase all fields of the posting timestamp, try to save the article.
- Bang.
it does help to me, I click “timestamp”,“reset the time to now”,the error do not show.
————————————————————————————————————————————-
Textpattern version: 4.0.7 (r3074)
Last Update: 2009-01-18 13:44:29/2009-01-18 13:42:14
Document root: /home/iblog/public_html
$path_to_site: /home/iblog/public_html
Textpattern path: /home/iblog/public_html/textpattern
Permanent link mode: title_only
Temporary directory path: /home/iblog/public_html/textpattern/tmp
Site URL: iblog.org.ru
PHP version: 5.2.6
GD Image Library: version bundled (2.0.34 compatible), supported formats: GIF, JPG, PNG
Server Local Time: 2009-01-18 11:47:14
MySQL: 5.0.67-community
Locale: en_US.UTF-8
Server: Apache/2.0.63 (Unix) mod_ssl/2.0.63 OpenSSL/0.9.8b mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635
PHP Server API: cgi
RFC 2616 headers: 0
Server OS: Linux 2.6.18-92.1.18.el5
Active plugins: ob1_title-4.1, rss_auto_excerpt-0.5, ajw_comment_alt-0.3, rss_admin_show_adv_opts-0.3, jmd_sitemap-0.1.2, rvm_css-0.4
Pre-flight check:
————————————
/home/iblog/public_html/textpattern/setup/ still exists
Some Textpattern files have been modified:
/home/iblog/public_html/textpattern/publish/taghandlers.php
You are running a development version of Textpattern on a live server.:
/home/iblog/public_html/textpattern/include/txp_category.php,
/home/iblog/public_html/textpattern/include/txp_section.php
The following PHP functions (which may be necessary to run Textpattern) are disabled on your server: pclose, proc_nice, proc_terminate, proc_get_status, proc_close, pfsockopen, leak, apache_child_terminate, posix_kill, posix_mkfifo, posix_setpgid, posix_setsid, posix_setuid
————————————
.htaccess file contents:
————————————
#DirectoryIndex index.php index.html
#Options +FollowSymLinks
#Options -Indexes
<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
————————————
Last edited by fdsafdsa (2009-01-18 16:59:45)
Offline
Re: taghandlers.php 2755
fdsafdsa wrote:
it does help to me, I click “timestamp”,“reset the time to now”,the error do not show.
Does the timestamp contain any values for year/month/day/hour/minute/second if you just enter the write screen for a new article, or edit an existing article?
Which timestamp is set when you create a new article, which timestamp is set when you re-edit this article?
Offline
Re: taghandlers.php 2755
Fixed in changeset 3077.
It wasn’t just when the date was empty, but also for dates outside the range that can be represented in 32-bit unix time.
Offline
Re: taghandlers.php 2755
wet wrote:
Does the timestamp contain any values for year/month/day/hour/minute/second if you just enter the write screen for a new article, or edit an existing article?
Which timestamp is set when you create a new article, which timestamp is set when you re-edit this article?
1.it contains value of correct “year/mon/day/hour/min/second” when i write a new article or edit an old article.
2. timestamp is the time now when i creat new article, timestamp still the time i wrote it when i re-edit this article.
Offline
Pages: 1