Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2009-01-18 13:53:14

fdsafdsa
Member
From: cn
Registered: 2007-04-19
Posts: 47
Website

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

#2 2009-01-18 15:08:49

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: taghandlers.php 2755

Please post the results of the full diagnostics test here.

Offline

#3 2009-01-18 15:29:44

wet
Developer Emeritus
From: Schoerfling, Austria
Registered: 2005-06-06
Posts: 3,330
Website Mastodon

Re: taghandlers.php 2755

I can reproduce this by executing these steps:

  1. Post an article the usual way. Set timestamp to any valid date.
  2. Edit the article, erase all fields of the posting timestamp, try to save the article.
  3. Bang.

Offline

#4 2009-01-18 16:48:37

fdsafdsa
Member
From: cn
Registered: 2007-04-19
Posts: 47
Website

Re: taghandlers.php 2755

wet wrote:

I can reproduce this by executing these steps:

  1. Post an article the usual way. Set timestamp to any valid date.
  2. Edit the article, erase all fields of the posting timestamp, try to save the article.
  3. 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

#5 2009-01-18 17:14:52

wet
Developer Emeritus
From: Schoerfling, Austria
Registered: 2005-06-06
Posts: 3,330
Website Mastodon

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

#6 2009-01-18 20:57:33

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

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

#7 2009-01-19 05:49:20

fdsafdsa
Member
From: cn
Registered: 2007-04-19
Posts: 47
Website

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

Board footer

Powered by FluxBB