Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#13 2010-06-08 19:38:41

smd_ksu
Member
Registered: 2008-12-23
Posts: 25

Re: Write screen displays 'Last modified by' when publishing new article

Yes it does. Really bizarre.

Offline

#14 2010-06-08 19:58:51

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: Write screen displays 'Last modified by' when publishing new article

smd_ksu wrote:

Really bizarre.

You can say that! I’ve never seen this before, and it may well be related to the problem but I’m not a coder so I can’t help you.
Know what? I’m going to change the topic title and move this thread to Developer Support, hoping that it will catch the eye of the right person(s)…

Meanwhile, I’m quite sure someone is going to ask for your high diagnostics, so you might as well post them ;)

Offline

#15 2010-06-08 20:21:39

smd_ksu
Member
Registered: 2008-12-23
Posts: 25

Re: Write screen displays 'Last modified by' when publishing new article

Thanks, hopefully someone can figure this out.

Textpattern version: 4.0.8 (r3085)
Last Update: 2010-03-23 03:03:32/2010-04-28 02:12:10
Document root: /home/smd_ksu/crossfitmanhattankansas.com
$path_to_site: /home/smd_ksu/crossfitmanhattankansas.com
Textpattern path: /home/smd_ksu/crossfitmanhattankansas.com/textpattern
Permanent link mode: section_id_title
Temporary directory path: /home/smd_ksu/crossfitmanhattankansas.com/textpattern/tmp
Site URL: www.crossfitmanhattankansas.com
PHP version: 5.2.13
GD Image Library: version bundled (2.0.34 compatible), supported formats: GIF, JPG, PNG
Server Local Time: 2010-06-08 13:17:30
MySQL: 5.1.39-log
Locale: en_US.UTF-8
Server: Apache
PHP Server API: cgi-fcgi
RFC 2616 headers: 0
Server OS: Linux 2.6.32.8-grsec-2.1.14-modsign-xeon-64
Active plugins: rah_metas-1.0.5, smd_calendar-0.42c, smd_gallery-0.51, smd_if-0.8, smd_query-0.21, zem_contact_lang-4.0.3.6, zem_contact_reborn-4.0.3.20, rvm_mail_comments-0.1m, hcg_templates-0.3, lam_browse_by-0.1, rah_autogrowing_textarea-0.3.3, rah_status_dropdown-0.1, rah_textile_bar-0.3.5, rah_write_each_section-0.1, rvm_css-0.4, upm_date_archive-0.2.5, rss_admin_show_adv_opts-0.3m, lam_image_uploader-0.6c, glx_admin_image-2006.1m, sed_plugin_library-0.5.2, smd_lib-0.36, bot_hide_per_section-0.1m

Pre-flight check:
————————————
Some Textpattern files have been modified: /home/smd_ksu/crossfitmanhattankansas.com/textpattern/include/txp_article.php
————————————

.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

————————————

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: /data/mysql/hank/share/mysql/charsets/
17 Tables: OK

PHP extensions: date/5.2.13, libxml, openssl, pcre, zlib/1.1, bcmath, calendar, ctype, curl, dom/20031129, hash/1.0, filter/0.11.0, ftp, gd, gettext, session, iconv, standard/5.2.13, json/1.2.1, mbstring, mcrypt, mhash, mysql/1.0, SimpleXML/0.1, SPL/0.2, PDO/1.0.4dev, pdo_mysql/1.0.2, pdo_sqlite/1.0.1, posix, pspell, Reflection/0.1, imap, mysqli/0.1, sockets, SQLite/2.0-dev, exif/1.4 $Id: exif.c 293036 2010-01-03 09:23:27Z sebastian $, tokenizer/0.1, xml, xmlreader/0.1, xmlwriter/0.1, xsl/0.1, cgi-fcgi, Zend Optimizer

pretext_data: array ( ‘id’ => ‘’, ‘s’ => ‘’, ‘c’ => ‘’, ‘q’ => ‘’, ‘pg’ => ‘’, ‘p’ => ‘’, ‘month’ => ‘’, ‘author’ => ‘’, ‘request_uri’ => ‘/69601e4f75add611e5e8445668d74108/?txpcleantest=1’, ‘qs’ => ‘txpcleantest=1’, ‘subpath’ => ‘\\/’, ‘req’ => ‘/69601e4f75add611e5e8445668d74108/?txpcleantest=1’,
)

/home/smd_ksu/crossfitmanhattankansas.com/index.php: r2885 (b2215d9fc23dc9aa88c92cdb7e4627f2)
/home/smd_ksu/crossfitmanhattankansas.com/textpattern/css.php: r2772 (2a3cef700a253208e1140acfb27b7895)
/home/smd_ksu/crossfitmanhattankansas.com/textpattern/include/txp_admin.php: r3013 (4f25d38445705e8135eafb47fe69c5e6)
/home/smd_ksu/crossfitmanhattankansas.com/textpattern/include/txp_article.php: r3040 (09ab2196f0f1fa8f103e1799ff4d3a30)
/home/smd_ksu/crossfitmanhattankansas.com/textpattern/include/txp_auth.php: r2856 (c6e17d38408910606b38ea6fbb8e97a8)
/home/smd_ksu/crossfitmanhattankansas.com/textpattern/include/txp_category.php: r3072 (38cb7ab1fca56ec11e66bc7fcb4dcf1d)
/home/smd_ksu/crossfitmanhattankansas.com/textpattern/include/txp_css.php: r3081 (4a0fc4c539e86aef5eb061d6bbaca5ac)
/home/smd_ksu/crossfitmanhattankansas.com/textpattern/include/txp_diag.php: r3060 (0116e33dc27867bc7004f788da2fc610)
/home/smd_ksu/crossfitmanhattankansas.com/textpattern/include/txp_discuss.php: r3071 (9b53af05cd0c1baa8fc99c07c99d3640)
/home/smd_ksu/crossfitmanhattankansas.com/textpattern/include/txp_file.php: r3069 (0dfc75eaa35e524313a40812dfa82886)
/home/smd_ksu/crossfitmanhattankansas.com/textpattern/include/txp_form.php: r3069 (3edf3408cd05fe8e82137735b1bce5c7)
/home/smd_ksu/crossfitmanhattankansas.com/textpattern/include/txp_image.php: r3069 (4c9b3db31c3df354b9055725e9fb2091)
/home/smd_ksu/crossfitmanhattankansas.com/textpattern/include/txp_import.php: r2812 (4401e213b8b68af2001734ac67b85f51)
/home/smd_ksu/crossfitmanhattankansas.com/textpattern/include/txp_link.php: r3069 (0fffe5a42a06327c15064d54ddd5f478)
/home/smd_ksu/crossfitmanhattankansas.com/textpattern/include/txp_list.php: r3069 (256b992e07a9d67acb4334b57fe64cd3)
/home/smd_ksu/crossfitmanhattankansas.com/textpattern/include/txp_log.php: r3003 (942e39aade8d8ccf4232bfc46c6c9902)
/home/smd_ksu/crossfitmanhattankansas.com/textpattern/include/txp_page.php: r3056 (d6aa9f8ad7605fbba705c96710cc1802)
/home/smd_ksu/crossfitmanhattankansas.com/textpattern/include/txp_plugin.php: r3052 (dcd7dc1e43b1479965378dbb802d52e1)
/home/smd_ksu/crossfitmanhattankansas.com/textpattern/include/txp_prefs.php: r2965 (55a6d6e2fa6994e16566c6e1b19d2e1d)
/home/smd_ksu/crossfitmanhattankansas.com/textpattern/include/txp_preview.php: r1238 (c3e3678d655eb19ece72af65b763fd1b)
/home/smd_ksu/crossfitmanhattankansas.com/textpattern/include/txp_section.php: r3072 (0034cc064a65b78900e164d118a0ef8b)
/home/smd_ksu/crossfitmanhattankansas.com/textpattern/include/txp_tag.php: r2868 (3ac47c5e472b54b5bc27909581120167)
/home/smd_ksu/crossfitmanhattankansas.com/textpattern/index.php: r3085 (d65f4b0d862d74000e2bcc37260c706f)
/home/smd_ksu/crossfitmanhattankansas.com/textpattern/lib/IXRClass.php: r2932 (a14c1fa6441a4faf1d097d397bf61841)
/home/smd_ksu/crossfitmanhattankansas.com/textpattern/lib/admin_config.php: r2812 (b4bb30f62aab58b164ea6c3e6c786b9c)
/home/smd_ksu/crossfitmanhattankansas.com/textpattern/lib/class.thumb.php: r3041 (45ed990e57ba5daebe11f274b32626c6)
/home/smd_ksu/crossfitmanhattankansas.com/textpattern/lib/classTextile.php: r2812 (76416becc5a4789efbc543c4681041c3)
/home/smd_ksu/crossfitmanhattankansas.com/textpattern/lib/constants.php: r3038 (f87766c302fa9275024a06b2351a2411)
/home/smd_ksu/crossfitmanhattankansas.com/textpattern/lib/taglib.php: r2868 (b804c3222d47e5b24c16bd3731b5eac9)
/home/smd_ksu/crossfitmanhattankansas.com/textpattern/lib/txplib_admin.php: r3047 (4adad7711c24f49ecd26b24d80d27884)
/home/smd_ksu/crossfitmanhattankansas.com/textpattern/lib/txplib_db.php: r3029 (ae35ec3566cfab83178eb0bb6cc6adf5)
/home/smd_ksu/crossfitmanhattankansas.com/textpattern/lib/txplib_forms.php: r3079 (79a5b4411412a41feb64fea544ef1eb2)
/home/smd_ksu/crossfitmanhattankansas.com/textpattern/lib/txplib_head.php: r3004 (813dd318366c7f823e5c1202e253c7e9)
/home/smd_ksu/crossfitmanhattankansas.com/textpattern/lib/txplib_html.php: r2981 (1b048fdbe1f6fec8f052274c2b2c0736)
/home/smd_ksu/crossfitmanhattankansas.com/textpattern/lib/txplib_misc.php: r3074 (804959a9253b0ad9b472ca8d55965382)
/home/smd_ksu/crossfitmanhattankansas.com/textpattern/lib/txplib_update.php: r2812 (31a52cb8894ab8d0c81c9c8905d8ab60)
/home/smd_ksu/crossfitmanhattankansas.com/textpattern/lib/txplib_wrapper.php: r2931 (81f3780d9972c5fadd478a13a7204d2a)
/home/smd_ksu/crossfitmanhattankansas.com/textpattern/publish.php: r3050 (8c4ad513ead711cf336d17fb7605ce63)
/home/smd_ksu/crossfitmanhattankansas.com/textpattern/publish/atom.php: r3029 (2b7568a730855c05eb275125069c17cb)
/home/smd_ksu/crossfitmanhattankansas.com/textpattern/publish/comment.php: r3011 (18ab83ecddef7499afdb3ff399973113)
/home/smd_ksu/crossfitmanhattankansas.com/textpattern/publish/log.php: r2937 (40cfffaca8aa34c71ab0ad7434a95767)
/home/smd_ksu/crossfitmanhattankansas.com/textpattern/publish/rss.php: r3029 (240cef01dd4aa72d32ebf05baa56ccfe)
/home/smd_ksu/crossfitmanhattankansas.com/textpattern/publish/search.php: r2812 (e5b4f62da431aec72118414ed2bcd2a2)
/home/smd_ksu/crossfitmanhattankansas.com/textpattern/publish/taghandlers.php: r3078 (bfb48cb4ffff860c7b2fc7f635988ec5)
/home/smd_ksu/crossfitmanhattankansas.com/rpc/index.php: r2998 (d7b0e58e0dac47472401982f2953a5a4)
/home/smd_ksu/crossfitmanhattankansas.com/rpc/TXP_RPCServer.php: r2998 (95942b5917b4d45d6c0e48d1deb53154)
/home/smd_ksu/crossfitmanhattankansas.com/textpattern/update/_to_1.0.0.php: r3047 (f12fd6e63f344f1802c1f17f854b2ad7)
/home/smd_ksu/crossfitmanhattankansas.com/textpattern/update/_to_4.0.2.php: r3047 (cdd0e5fe346c0702eb414f42f9cfbcc6)
/home/smd_ksu/crossfitmanhattankansas.com/textpattern/update/_to_4.0.3.php: r3047 (ebef8def3b71b07aa01929f335b7afc6)
/home/smd_ksu/crossfitmanhattankansas.com/textpattern/update/_to_4.0.4.php: r3047 (8fd20a90592394a65fbd9b0d6c6a388c)
/home/smd_ksu/crossfitmanhattankansas.com/textpattern/update/_to_4.0.5.php: r2894 (6c60b97917192d4f4c4aa4ee377b6329)
/home/smd_ksu/crossfitmanhattankansas.com/textpattern/update/_to_4.0.6.php: r3047 (d2f218d57ba0faf018df88825c225e68)
/home/smd_ksu/crossfitmanhattankansas.com/textpattern/update/_to_4.0.7.php: r3014 (507a199ad584314f9131152eac028433)
/home/smd_ksu/crossfitmanhattankansas.com/textpattern/update/_to_4.0.8.php: r3057 (836b291ed122ced3759b5909c7d442d4)
/home/smd_ksu/crossfitmanhattankansas.com/textpattern/update/_update.php: r3085 (c9332d78f697754fab18fae5cfea481f)

Offline

#16 2010-06-08 20:24:45

Vide-Dressing
Member
Registered: 2010-06-07
Posts: 31

Re: Write screen displays 'Last modified by' when publishing new article

Create a php file

<?php
$localtime = localtime();
$localtime_assoc = localtime(time(), true);
print_r($localtime);
print_r($localtime_assoc);
?>

and upload it. it will tell you the time in your sever.

Offline

#17 2010-06-08 20:29:48

smd_ksu
Member
Registered: 2008-12-23
Posts: 25

Re: Write screen displays 'Last modified by' when publishing new article

Here’s what your code printed out:

Array ( [0] => 41 [1] => 27 [2] => 13 [3] => 8 [4] => 5 [5] => 110 [6] => 2 [7] => 158 [8] => 1 ) Array ( [tm_sec] => 41 [tm_min] => 27 [tm_hour] => 13 [tm_mday] => 8 [tm_mon] => 5 [tm_year] => 110 [tm_wday] => 2 [tm_yday] => 158 [tm_isdst] => 1 )

Offline

#18 2010-06-08 21:33:42

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: Write screen displays 'Last modified by' when publishing new article

I’m not so sure that is what you needed ;) @V-D, will you please stop posting everywhere without reading the threads properly?

smd_ksu, I find this line suspicious:

Some Textpattern files have been modified: /home/smd_ksu/crossfitmanhattankansas.com/textpattern/include/txp_article.php

Do you know why it is modified?

Offline

#19 2010-06-08 21:41:28

smd_ksu
Member
Registered: 2008-12-23
Posts: 25

Re: Write screen displays 'Last modified by' when publishing new article

I swapped the placement of the excerpt and the body so the excerpt appears on top in the write tab. I didn’t edit anything other than the code order.

Offline

#20 2010-06-08 21:44:42

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: Write screen displays 'Last modified by' when publishing new article

I see. I don’t know much about code but if I were you I’d try if replacing this file with the original would change anything… If it doesn’t you can always change it back again.

Offline

#21 2010-06-08 21:51:02

smd_ksu
Member
Registered: 2008-12-23
Posts: 25

Re: Write screen displays 'Last modified by' when publishing new article

No luck. Last modified date is still 16 minutes before the post date.

Offline

#22 2010-06-08 22:49:52

smd_ksu
Member
Registered: 2008-12-23
Posts: 25

Re: Write screen displays 'Last modified by' when publishing new article

Here’s more detail on this strange behavior:

When creating a new article this appears:
Posted by: shawn · 08 Jun 2010 · 05:40:48 PM
Last modified by: · 08 Jun 2010 · 05:24:21 PM

If I hit save again then the user gets added to Last modified
Posted by: shawn · 08 Jun 2010 · 05:40:55 PM
Last modified by: shawn · 08 Jun 2010 · 05:24:28 PM

If I change status to draft or pending, hit save twice, the Last modified date becomes the Post date, and the Last modified date disappears:
Posted by: shawn · 08 Jun 2010 · 05:24:45 PM

If I then change it back to Live, Sticky, or Hidden, the Post date and Last modified date both match, but both are 16 minutes behind the actual time:
Posted by: shawn · 08 Jun 2010 · 05:25:03 PM
Last modified by: shawn · 08 Jun 2010 · 05:25:03 PM

Offline

Board footer

Powered by FluxBB