Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#13 2018-05-16 11:24:46

funtoosh
Member
From: Münster, Germany
Registered: 2006-10-09
Posts: 153
Website

Re: Two issues with 4.7.0

I was about to post this, still from the 4.7.0 installation, before I reverted to 4.6.2.

—————————-

Below’s a copy of my diagnostics report.

Textpattern version: 4.7.0 ()
Last update: 2018-05-16 09:17:30/2018-05-15 08:51:05
Textpattern path: __TXP-ROOT/textpattern
Article URL pattern: section_title
Production status: live
Temporary directory path: __TXP-ROOT/textpattern/tmp
PHP version: 5.5.9-1ubuntu4.25
GD Graphics Library: 2.1.1-dev; Supported formats: GIF, JPEG, PNG.
Server timezone: Europe/Berlin
Server local time: 2018-05-16 12:33:36
Daylight Saving Time enabled?: 1
Automatically adjust Daylight Saving Time setting?: 1
Time zone (GMT offset in seconds): Europe/Berlin (3600)
MySQL: 5.5.60-0ubuntu0.14.04.1 ((Ubuntu)) 
Database server time: 2018-05-16 12:33:36
Database server time offset: 30 s
Database server timezone: SYSTEM
Database session timezone: SYSTEM
Locale: de_DE.UTF-8
Web server: Apache/2.4.10 (Ubuntu)
Apache version: Apache/2.4.10 (Ubuntu)
PHP server API: apache2handler
RFC 2616 headers: 
Server OS: Linux 3.13.0-147-generic
Admin-side theme: hive 4.7.0
Active plugins: 
	bot_write_tab_customize-0.7.5
	smd_faux_role-0.20 (modified)
	smd_user_manager-0.21
	smd_where_used-0.30

.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

# SVG
AddType image/svg+xml  svg svgz
AddEncoding gzip       svgz

# https
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]

------------------------

Charset (default/config): latin1/utf8
character_set_client: utf8
character_set_connection: utf8
character_set_database: latin1
character_set_filesystem: binary
character_set_results: utf8
character_set_server: latin1
character_set_system: utf8
character_sets_dir: /usr/share/mysql/charsets/
17 database 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)

Apache modules: core, mod_so, mod_watchdog, http_core, mod_log_config, mod_logio, mod_version, mod_unixd, mod_access_compat, mod_alias, mod_auth_basic, mod_authn_core, mod_authn_file, mod_authz_core, mod_authz_groupfile, mod_authz_host, mod_authz_user, mod_autoindex, mod_cgi, mod_deflate, mod_dir, mod_env, mod_filter, mod_headers, mod_include, mod_mime, mpm_itk, prefork, mod_negotiation, mod_perl, mod_php5, mod_proxy, mod_proxy_html, mod_proxy_http, mod_reqtimeout, mod_rewrite, mod_setenvif, mod_socache_shmcb, mod_ssl, mod_status, mod_xml2enc

Pretext data: array (
  'status' => '200',
  'id' => '',
  's' => '',
  'c' => '',
  'context' => '',
  'q' => '',
  'm' => '',
  'pg' => '',
  'p' => '',
  'month' => '',
  'author' => '',
  'request_uri' => '/medienforum/047a0774938b3b9c42d148d44a7646f0/?txpcleantest=1',
  'qs' => 'txpcleantest=1',
  'subpath' => '\\/medienforum\\/',
  'req' => '/047a0774938b3b9c42d148d44a7646f0/?txpcleantest=1',
)


------------------------

Offline

#14 2018-05-16 11:30:51

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,076
Website GitHub Mastodon Twitter

Re: Two issues with 4.7.0

It is the first time I see this in diagnostics:

Pretext data: array (
  'status' => '200',
  'id' => '',
  's' => '',
  'c' => '',
  'context' => '',
  'q' => '',
  'm' => '',
  'pg' => '',
  'p' => '',
  'month' => '',
  'author' => '',
  'request_uri' => '/medienforum/047a0774938b3b9c42d148d44a7646f0/?txpcleantest=1',
  'qs' => 'txpcleantest=1',
  'subpath' => '\\/medienforum\\/',
  'req' => '/047a0774938b3b9c42d148d44a7646f0/?txpcleantest=1',
)

Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#15 2018-05-16 11:31:24

funtoosh
Member
From: Münster, Germany
Registered: 2006-10-09
Posts: 153
Website

Re: Two issues with 4.7.0

etc wrote #311817:

Please check if your root themes directory is writable. You’ll probably need to set the same permissions that for files and images.

Yep, I did, both 755 and 777 did not change anything.

It’s a link to textpattern.com/textile-sandbox now, aside “Use Textile” option of body/excerpt fields.

Now that’s weird. I just checked the demo, the link icon that is in there was not available in my installation. Not even after reloading. :-?

Last edited by funtoosh (2018-05-16 11:43:51)

Offline

#16 2018-05-16 11:35:49

funtoosh
Member
From: Münster, Germany
Registered: 2006-10-09
Posts: 153
Website

Re: Two issues with 4.7.0

Here comes my constants.php from 4.7.0:

<?php

/*
 * Textpattern Content Management System
 * https://textpattern.com/
 *
 * Copyright (C) 2018 The Textpattern Development Team
 *
 * This file is part of Textpattern.
 *
 * Textpattern is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation, version 2.
 *
 * Textpattern is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with Textpattern. If not, see <https://www.gnu.org/licenses/>.
 */

/**
 * Constants.
 */

if (!defined('TXP_DEBUG')) {
    /**
     * If set to "1", dumps debug log to the temp directory.
     *
     * This constant can be overridden from the config.php.
     *
     * @package Debug
     * @example
     * define('TXP_DEBUG', 1);
     */

    define('TXP_DEBUG', 0);
}

/**
 * Comment spam status.
 *
 * @package Comment
 */

define('SPAM', -1);

/**
 * Comment moderate status.
 *
 * @package Comment
 */

define('MODERATE', 0);

/**
 * Comment spam status.
 *
 * @package Comment
 */

define('VISIBLE', 1);

/**
 * Comment reload status.
 *
 * @package Comment
 */

define('RELOAD', -99);

if (!defined('HELP_URL')) {		
    /**		
     * The location where help documentation is fetched.		
     *		
     * This constant can be overridden from the config.php.		
     *		
     * @example		
     * define('HELP_URL', 'http://rpc.example.com/help/');		
     */		

    define('HELP_URL', 'http://rpc.textpattern.com/help/');		
}

/**
 * Do not format text.
 *
 * @var     string
 * @package Textfilter
 */

define('LEAVE_TEXT_UNTOUCHED', '0');

/**
 * Format text with Textile.
 *
 * @var     string
 * @package Textfilter
 */

define('USE_TEXTILE', '1');

/**
 * Replace line breaks with HTML &lt;br /&gt; tag.
 *
 * @var     string
 * @package Textfilter
 */

define('CONVERT_LINEBREAKS', '2');

/**
 * System is Windows if TRUE.
 *
 * @package System
 */

define('IS_WIN', strpos(strtoupper(PHP_OS), 'WIN') === 0);

/**
 * Directory separator character.
 *
 * @package File
 */

define('DS', defined('DIRECTORY_SEPARATOR') ? DIRECTORY_SEPARATOR : (IS_WIN ? '\\' : '/'));

/**
 * Magic quotes GPC, TRUE if on.
 *
 * @package Network
 */

define('MAGIC_QUOTES_GPC', get_magic_quotes_gpc());

if (!defined('REGEXP_UTF8')) {
    /**
     * TRUE if the system supports UTF-8 regex patterns.
     *
     * This constant can be overridden from the config.php in case UTF-8 regex
     * patterns cause issues.
     *
     * @package System
     * @example
     * define('REGEXP_UTF8', false);
     */

    define('REGEXP_UTF8', @preg_match('@\pL@u', 'q'));
}

/**
 * Permlink URL mode.
 *
 * @package    URL
 * @deprecated ?
 */

define('PERMLINKURL', 0);

/**
 * Pagelink URL mode.
 *
 * @package    URL
 * @deprecated ?
 */

define('PAGELINKURL', 1);

if (!defined('EXTRA_MEMORY')) {
    /**
     * Allocated extra memory.
     *
     * Used when creating thumbnails for instance.
     *
     * This constant can be overridden from the config.php.
     *
     * @package System
     * @example
     * define('EXTRA_MEMORY', '64M');
     */

    define('EXTRA_MEMORY', '32M');
}

/**
 * PHP is run as CGI.
 *
 * @package System
 */

define('IS_CGI', strpos(PHP_SAPI, 'cgi') === 0);

/**
 * PHP is run as FCGI.
 *
 * @package System
 */

define('IS_FASTCGI', IS_CGI and empty($_SERVER['FCGI_ROLE']) and empty($_ENV['FCGI_ROLE']));

/**
 * PHP is run as Apache module.
 *
 * @package System
 */

define('IS_APACHE', !IS_CGI and strpos(PHP_SAPI, 'apache') === 0);

/**
 * Preference is user-private.
 *
 * @package Pref
 * @see     set_pref()
 */

define('PREF_PRIVATE', true);

/**
 * Preference is global.
 *
 * @package Pref
 * @see     set_pref()
 */

define('PREF_GLOBAL', false);

/**
 * Preference type is basic.
 *
 * @package    Pref
 * @deprecated in 4.6.0
 * @see        PREF_CORE
 * @see        set_pref()
 */

define('PREF_BASIC', 0);

/**
 * Preference type is a core setting.
 *
 * @package Pref
 * @see     set_pref()
 */

define('PREF_CORE', 0);

/**
 * Preference type is advanced.
 *
 * @package    Pref
 * @deprecated in 4.6.0
 * @see        PREF_CORE
 * @see        PREF_PLUGIN
 * @see        set_pref()
 */

define('PREF_ADVANCED', 1);

/**
 * Preference type is a plugin or third party setting.
 *
 * @package Pref
 * @see     set_pref()
 */

define('PREF_PLUGIN', 1);

/**
 * Preference type is hidden.
 *
 * @package Pref
 * @see     set_pref()
 */

define('PREF_HIDDEN', 2);

/**
 * Plugin flag: has an options page.
 */

define('PLUGIN_HAS_PREFS', 0x0001);

/**
 * Plugin flag: offers lifecycle callbacks.
 */

define('PLUGIN_LIFECYCLE_NOTIFY', 0x0002);

/**
 * Reserved bits for use by Textpattern core.
 */

define('PLUGIN_RESERVED_FLAGS', 0x0fff);

if (!defined('LOG_REFERER_PROTOCOLS')) {
    /**
     * Sets accepted protocols for HTTP referrer header.
     *
     * This constant can be overridden from the config.php.
     *
     * @package Log
     * @since   4.6.0
     * @example
     * define('LOG_REFERER_PROTOCOLS', 'http');
     */

    define('LOG_REFERER_PROTOCOLS', 'http, https');
}

if (!defined('PASSWORD_LENGTH')) {
    /**
     * Password default length, in characters.
     *
     * This constant can be overridden from the config.php.
     *
     * @package User
     * @example
     * define('PASSWORD_LENGTH', 14);
     */

    define('PASSWORD_LENGTH', 16);
}

if (!defined('PASSWORD_COMPLEXITY')) {
    /**
     * Password iteration strength count.
     *
     * This constant can be overridden from the config.php.
     *
     * @package User
     * @example
     * define('PASSWORD_COMPLEXITY', 2);
     */

    define('PASSWORD_COMPLEXITY', 8);
}

if (!defined('PASSWORD_PORTABILITY')) {
    /**
     * Passwords are created portable if TRUE.
     *
     * This constant can be overridden from the config.php.
     *
     * @package User
     * @example
     * define('PASSWORD_PORTABILITY', false);
     */

    define('PASSWORD_PORTABILITY', true);
}

if (!defined('PASSWORD_SYMBOLS')) {
    /**
     * Symbols used in auto-generated passwords.
     *
     * This constant can be overridden from the config.php.
     *
     * @package User
     * @since   4.6.0
     * @see     generate_password()
     * @example
     * define('PASSWORD_SYMBOLS', '23456789ABCDEFGHJKLMNPQRSTUYXZabcdefghijkmnopqrstuvwxyz_?!-@$%^*;:');
     */

    define('PASSWORD_SYMBOLS', '23456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz_-!?.');
}

if (!defined('HASHING_ALGORITHM')) {
    /**
     * Algorithm to use for hashing passwords/reset requests.
     *
     * This constant can be overridden from the config.php.
     *
     * @package User
     * @since   4.6.0
     * @see     PHP's hash_algos() function
     * @example
     * define('HASHING_ALGORITHM', 'whirlpool');
     */

    define('HASHING_ALGORITHM', 'ripemd256');
}

if (!defined('SALT_LENGTH')) {
    /**
     * Length of salt/selector hashes.
     *
     * This constant can be overridden from the config.php.
     *
     * @package User
     * @since   4.6.0
     * @example
     * define('SALT_LENGTH', '80');
     */

    define('SALT_LENGTH', '64');
}

if (!defined('RESET_EXPIRY_MINUTES')) {
    /**
     * Length of time (in minutes) that a password reset request remains valid.
     *
     * This constant can be overridden from the config.php.
     * Values under 60 may fall foul of DST changeover times, but meh.
     *
     * @package User
     * @since   4.6.0
     * @example
     * define('RESET_EXPIRY_MINUTES', '120');
     */

    define('RESET_EXPIRY_MINUTES', '90');
}

if (!defined('RESET_RATE_LIMIT_MINUTES')) {
    /**
     * Minutes during which multiple user-submitted password reset requests are ignored.
     *
     * This constant can be overridden from the config.php.
     *
     * @package User
     * @since   4.6.0
     * @example
     * define('RESET_RATE_LIMIT_MINUTES', '15');
     */

    define('RESET_RATE_LIMIT_MINUTES', '5');
}

if (!defined('ACTIVATION_EXPIRY_HOURS')) {
    /**
     * Length of time (in hours) that a password activation (new account) link remains valid.
     *
     * This constant can be overridden from the config.php.
     *
     * @package User
     * @since   4.6.0
     * @example
     * define('ACTIVATION_EXPIRY_HOURS', '48');
     */

    define('ACTIVATION_EXPIRY_HOURS', '168');
}

if (!defined('LOGIN_COOKIE_HTTP_ONLY')) {
    /**
     * If TRUE, login cookie is set just for HTTP.
     *
     * This constant can be overridden from the config.php.
     *
     * @package CSRF
     * @example
     * define('LOGIN_COOKIE_HTTP_ONLY', false);
     */

    define('LOGIN_COOKIE_HTTP_ONLY', true);
}

if (!defined('X_FRAME_OPTIONS')) {
    /**
     * Sets X-Frame-Options HTTP header's value.
     *
     * This is used to prevent framing of authenticated pages.
     *
     * This constant can be overridden from the config.php.
     *
     * @package CSRF
     * @example
     * define('X_FRAME_OPTIONS', 'DENY');
     */

    define('X_FRAME_OPTIONS', 'SAMEORIGIN');
}

if (!defined('CONTENT_SECURITY_POLICY')) {
    /**
     * Sets Content-Security-Policy HTTP header's value.
     *
     * This constant can be overridden from the config.php.
     *
     * @since   4.7.0
     * @package CSRF
     */

    define('CONTENT_SECURITY_POLICY', "frame-ancestors 'self'");
}

if (!defined('AJAX_TIMEOUT')) {
    /**
     * AJAX timeout in seconds.
     *
     * This constant can be overridden from the config.php.
     *
     * @package Ajax
     * @example
     * define('AJAX_TIMEOUT', 10);
     */

    define('AJAX_TIMEOUT', max(30000, 1000 * @ini_get('max_execution_time')));
}

/**
 * Render on initial synchronous page load.
 *
 * @since   4.5.0
 * @package Ajax
 */

define('PARTIAL_STATIC', 0);

/**
 * Render as HTML partial on every page load.
 *
 * @since   4.5.0
 * @package Ajax
 */

define('PARTIAL_VOLATILE', 1);

/**
 * Render as an element's jQuery.val() on every page load.
 *
 * @since   4.5.0
 * @package Ajax
 */

define('PARTIAL_VOLATILE_VALUE', 2);

/**
 * Draft article status ID.
 *
 * @package Article
 */

define('STATUS_DRAFT', 1);

/**
 * Hidden article status ID.
 *
 * @package Article
 */

define('STATUS_HIDDEN', 2);

/**
 * Pending article status ID.
 *
 * @package Article
 */

define('STATUS_PENDING', 3);

/**
 * Live article status ID.
 *
 * @package Article
 */

define('STATUS_LIVE', 4);

/**
 * Sticky article status ID.
 *
 * @package Article
 */

define('STATUS_STICKY', 5);

if (!defined('WRITE_RECENT_ARTICLES_COUNT')) {
    /**
     * Number of recent articles displayed on the Write panel.
     *
     * This constant can be overridden from the config.php.
     *
     * @package Admin\Article
     * @since   4.6.0
     * @example
     * define('WRITE_RECENT_ARTICLES_COUNT', 5);
     */

    define('WRITE_RECENT_ARTICLES_COUNT', 10);
}

/**
 * Input size extra large.
 *
 * @since   4.5.0
 * @package Form
 */

define('INPUT_XLARGE', 96);

/**
 * Input size large.
 *
 * @since   4.5.0
 * @package Form
 */

define('INPUT_LARGE', 64);

/**
 * Input size regular.
 *
 * @since   4.5.0
 * @package Form
 */

define('INPUT_REGULAR', 32);

/**
 * Input size medium.
 *
 * @since   4.5.0
 * @package Form
 */

define('INPUT_MEDIUM', 16);

/**
 * Input size small.
 *
 * @since   4.5.0
 * @package Form
 */

define('INPUT_SMALL', 8);

/**
 * Input size extra small.
 *
 * @since   4.5.0
 * @package Form
 */

define('INPUT_XSMALL', 4);

/**
 * Input size tiny.
 *
 * @since   4.5.0
 * @package Form
 */

define('INPUT_TINY', 2);

/**
 * Textarea height large.
 *
 * @since   4.6.0
 * @package Form
 */

define('TEXTAREA_HEIGHT_LARGE', 32);

/**
 * Textarea height regular.
 *
 * @since   4.6.0
 * @package Form
 */

define('TEXTAREA_HEIGHT_REGULAR', 16);

/**
 * Textarea height medium.
 *
 * @since   4.6.0
 * @package Form
 */

define('TEXTAREA_HEIGHT_MEDIUM', 8);

/**
 * Textarea height small.
 *
 * @since   4.6.0
 * @package Form
 */

define('TEXTAREA_HEIGHT_SMALL', 4);

/**
 * Required PHP version.
 *
 * @since   4.5.0
 * @package System
 */

define('REQUIRED_PHP_VERSION', '5.4.0');

/**
 * File integrity status good.
 *
 * @since   4.6.0
 * @package Debug
 * @see     check_file_integrity()
 */

define('INTEGRITY_GOOD', 1);

/**
 * File integrity status modified.
 *
 * @since   4.6.0
 * @package Debug
 * @see     check_file_integrity()
 */

define('INTEGRITY_MODIFIED', 2);

/**
 * File integrity not readable.
 *
 * @since   4.6.0
 * @package Debug
 * @see     check_file_integrity()
 */

define('INTEGRITY_NOT_READABLE', 3);

/**
 * File integrity file missing.
 *
 * @since   4.6.0
 * @package Debug
 * @see     check_file_integrity()
 */

define('INTEGRITY_MISSING', 4);

/**
 * File integrity not a file.
 *
 * @since   4.6.0
 * @package Debug
 * @see     check_file_integrity()
 */

define('INTEGRITY_NOT_FILE', 5);

/**
 * Return integrity status.
 *
 * @since   4.6.0
 * @package Debug
 * @see     check_file_integrity()
 */

define('INTEGRITY_STATUS', 0x1);

/**
 * Return integrity MD5 hashes.
 *
 * @since   4.6.0
 * @package Debug
 * @see     check_file_integrity()
 */

define('INTEGRITY_MD5', 0x2);

/**
 * Return full paths.
 *
 * @since   4.6.0
 * @package Debug
 * @see     check_file_integrity()
 */

define('INTEGRITY_REALPATH', 0x4);

/**
 * Return a digest.
 *
 * @since   4.6.0
 * @package Debug
 * @see     check_file_integrity()
 */

define('INTEGRITY_DIGEST', 0x8);

/**
 * Return a parsed checksum file's contents.
 *
 * @since   4.6.0
 * @package Debug
 * @see     check_file_integrity()
 */

define('INTEGRITY_TABLE', 0x10);

/**
 * Link to an external script.
 *
 * @since   4.6.0
 * @package HTML
 * @see     script_js()
 */

define('TEXTPATTERN_SCRIPT_URL', 0x1);

/**
 * Attach version number to script URL if stable.
 *
 * The install is considered as a 'stable' if the version number doesn't contain
 * a '-dev' tag.
 *
 * @since   4.6.0
 * @package HTML
 * @see     script_js()
 */

define('TEXTPATTERN_SCRIPT_ATTACH_VERSION', 0x2);

/**
 * The localised string is owned by the core system.
 *
 * The string will be updated from the remote language server.
 *
 * @since   4.6.0
 * @package L10n
 */

define('TEXTPATTERN_LANG_OWNER_SYSTEM', '');

/**
 * The localised string is owned by the individual site.
 *
 * @since   4.6.0
 * @package L10n
 */

define('TEXTPATTERN_LANG_OWNER_SITE', 'site');

if (!defined('TEXTPATTERN_DEFAULT_LANG')) {
    /**
     * The default/fallback language identifier.
     *
     * @since   4.7.0
     * @package L10n
     */

    define('TEXTPATTERN_DEFAULT_LANG', 'en');
}

/**
 * Language flags;
 *
 * @since    4.7.0
 * @package  L10n
 */
define('TEXTPATTERN_LANG_ACTIVE', 0x1);
define('TEXTPATTERN_LANG_INSTALLED', 0x2);
define('TEXTPATTERN_LANG_AVAILABLE', 0x4);

/**
 * Strip empty values.
 *
 * @since   4.6.0
 * @package HTML
 * @see     join_atts(), do_list_unique()
 */

define('TEXTPATTERN_STRIP_NONE', 0);
define('TEXTPATTERN_STRIP_EMPTY', 0x1);
define('TEXTPATTERN_STRIP_EMPTY_STRING', 0x2);
define('TEXTPATTERN_STRIP_TXP', 0x4);

/**
 * Sends an adaptive announcement.
 *
 * The rendered message type is based on the context mode.
 *
 * @since   4.6.0
 * @package Announce
 * @see     announce()
 */

define('TEXTPATTERN_ANNOUNCE_ADAPTIVE', 0x1);

/**
 * Sends a modal announcement.
 *
 * The announcement is instructed to be rendered as soon as possible, as a modal
 * alert window.
 *
 * @since   4.6.0
 * @package Announce
 * @see     announce()
 */

define('TEXTPATTERN_ANNOUNCE_MODAL', 0x2);

/**
 * Sends an asynchronous announcement.
 *
 * @since   4.6.0
 * @package Announce
 * @see     announce()
 */

define('TEXTPATTERN_ANNOUNCE_ASYNC', 0x4);

/**
 * Sends a synchronous announcement.
 *
 * @since   4.6.0
 * @package Announce
 * @see     announce()
 */

define('TEXTPATTERN_ANNOUNCE_REGULAR', 0x8);

/**
 * Define the default JSON option for json_encode()
 *
 * @since   4.7.0
 */

if (defined('JSON_UNESCAPED_UNICODE')) {
    define('TEXTPATTERN_JSON', JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES);
} else {
    define('TEXTPATTERN_JSON', 0);
}

Offline

#17 2018-05-16 11:35:52

gaekwad
Server grease monkey
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 4,240
GitHub

Re: Two issues with 4.7.0

I haven’t checked them, but make sure your plugins are up-to-date:

Active plugins: 
	bot_write_tab_customize-0.7.5
	smd_faux_role-0.20 (modified)
	smd_user_manager-0.21
	smd_where_used-0.30

The checksums failing is still odd to me. That diagnostics report doesn’t list file checksums, but does include some high level diagnostic information, did you cut the files off the end?

Also the version number doesn’t include a build (should be 53fc1f9d4acb1026986bf89845c7a95d), which is strange.

Last edited by gaekwad (2018-05-16 11:36:03)

Offline

#18 2018-05-16 11:36:31

funtoosh
Member
From: Münster, Germany
Registered: 2006-10-09
Posts: 153
Website

Re: Two issues with 4.7.0

… and checksums:

/admin-themes/classic/classic.php: 61532c16e97ac04f6a77c40092320d06
/admin-themes/hive/assets/js/main.js: 5fb2157b7be591b0f1a64a81c0e07307
/admin-themes/hive/hive.php: fde208a1e25dfb21a1d1ee77c519425b
/admin-themes/hiveneutral/assets/js/main.js: 5fb2157b7be591b0f1a64a81c0e07307
/admin-themes/hiveneutral/hiveneutral.php: e64d0330d00d23537b4a88b8b9fbcbc7
/include/txp_admin.php: 7519b76848be7755f86597d129155956
/include/txp_article.php: 9c66b94aebc82cc904474cabda1e9fd1
/include/txp_auth.php: 72d54d6c6054c00bc86783f8e8932615
/include/txp_category.php: 12f668975bf70313ad35386bd827752b
/include/txp_css.php: 8015b08c023a3f417dae965aedb528db
/include/txp_diag.php: 8f27a0275d3019464fcf96e9dafe32f5
/include/txp_discuss.php: b0996486020d9cbab51cd20914296cd5
/include/txp_file.php: 7f33658528146b1ffd0df5ffb2d126b0
/include/txp_form.php: 0efc3a4e844bf8718568dea69732c97c
/include/txp_image.php: 7228e07fc0e2087e67c73d197fbc001e
/include/txp_lang.php: 1d7fa0b9769fa392e828a00cc25e119b
/include/txp_link.php: ee6af7cbb957441252ab7fa0c123812e
/include/txp_list.php: 081f5f993f883fbec744fe35dbcb6186
/include/txp_log.php: 2b15c0f98935bfc039e14f25663b34e4
/include/txp_page.php: bd08cefe5cd6ca981369b5f6542ec22d
/include/txp_pane.php: ec55f252887a68f3e3dc6510dd1385a0
/include/txp_plugin.php: d3b7bff80b7ab92009dd90953c10c149
/include/txp_prefs.php: f8ce3cb291904b544fb2a5edadf9a408
/include/txp_section.php: d1b68fe799d91073ae5d38e97f6f3dbd
/include/txp_skin.php: 242bc7272a7260d8f868baca8ac40f34
/include/txp_tag.php: 4a939325b676d76a439f2843ea64e36d
/index.php: f4bd451da931a8c63f14a4b4fb07952d
/lib/admin_config.php: 73adea849578cfc3e1473c2973f75b8f
/lib/class.thumb.php: de16440b4815129444a93683735d8ed0
/lib/class.trace.php: 055e3bc1f8d3217aec152fa7e6216b1d
/lib/classTextile.php: f970ce6ae622ffc333dc5190d2a17132
/lib/constants.php: 6b1cc698a4688276a88be8b945eda8bb
/lib/IXRClass.php: a1b525b4a9ed12dcb5677d5232a3d92e
/lib/PasswordHash.php: 66a8aa4b2d6e0527877a797907efc035
/lib/taglib.php: 0cafc9b259d5a45475eb47d36a0d6567
/lib/txplib_admin.php: af75aee8d639a179bb5d81cedb78a54e
/lib/txplib_db.php: 076e203592ff394e894df1a39691d577
/lib/txplib_forms.php: debea9cd565421f98994b95356ccc735
/lib/txplib_head.php: 9824fa30efa00d17fcd1d9c577c3708a
/lib/txplib_html.php: f06c2aba7abab5a73fa7b943575525f2
/lib/txplib_misc.php: c6d23970ca3602f0f5736331f24ef8e5
/lib/txplib_publish.php: cbb1f3a43db8c239f448370e42718cce
/lib/txplib_theme.php: f9806970169bed7a6ac34248322eccce
/lib/txplib_update.php: ddef7c647997652b6b56b04c64d9e203
/lib/txplib_validator.php: d5e11546c01a75753e96589d9e16045a
/lib/txplib_wrapper.php: 8778abc96eff3ccb07f3bccca5304896
/publish/atom.php: e932843e6ddf39b6c6d3b7054cac6e01
/publish/comment.php: a8220d9baf3880f589efdcbc752c2a41
/publish/log.php: e3a4b1a93c3baf9ac768ad77159e076b
/publish/rss.php: e623973ce45c62d16ede7645e66d225a
/publish/search.php: 93270cd66dff1aad9b489c206a6f1896
/publish/taghandlers.php: 7fc369210429643a397de6bb48758e3e
/publish.php: a7881f80c3d7e67a7e6b845f60869ae4
/textpattern.js: d47d3d83c603903b414873382b66d6b6
/update/_to_4.0.3.php: fb35e8e3dce16aad32b3d3af1a2b60c7
/update/_to_4.0.4.php: 7982d5063df84b7a2b1bb07660b8886b
/update/_to_4.0.5.php: 376bafd8685724e7c9e91b1a3ffe172f
/update/_to_4.0.6.php: 99493842f5994cc7f6eb88abde8433fe
/update/_to_4.0.7.php: 61a7ffaf8635067565fc2e8c22492e9e
/update/_to_4.0.8.php: d70f2023c97b7e34ed03f953eb2ea434
/update/_to_4.2.0.php: 19629cf52c940b7a4a62a9c1cad9b303
/update/_to_4.3.0.php: f39bccf59a1d1dd42fb5a2a351e583ac
/update/_to_4.5.0.php: d5fe48683eb7ce2244829cb6cf3a36b2
/update/_to_4.5.7.php: d2a0a8eaf49fb8b21292938d6bc81238
/update/_to_4.6.0.php: f410119d42530763f483f4ac593192d6
/update/_to_4.7.0.php: 2c05d4f7054a53fb2acd1c868a9978a3
/update/_update.php: 5b0cf6653c06307f625de74c83c705d8
/vendors/blueimp/fileupload/jquery.fileupload.js: cbf3e62ed9e9051e13cc708ee056c0bc
/vendors/jquery/jquery/jquery.js: a09e13ee94d51c524b7e2a728c7d4039
/vendors/jquery/jquery-ui/jquery-ui.js: 0a497d4661df7b82feee14332ce0bdaf
/vendors/Netcarver/Textile/DataBag.php: 6564919a34daee6623cbc353dac4087e
/vendors/Netcarver/Textile/Parser.php: 18019ac0b4a64b4762d01c7a2795c756
/vendors/Netcarver/Textile/Tag.php: b8d2d5ac8ddd65c82c220d5ab2fad15f
/vendors/PrismJS/prism/prism.js: 70dc7887a49b77ab27fac313dbe8409b
/vendors/Textpattern/Adaptable/AdapterInterface.php: 2ca155f9022bee03d9883c92f5e7d0c8
/vendors/Textpattern/Adaptable/Providable.php: 5e4dafa7ef6ce91d1413f5d035cc32ff
/vendors/Textpattern/Adaptable/ProvidableInterface.php: 4fad6fb0ae3b9943659b6a75f506b836
/vendors/Textpattern/Admin/Paginator.php: 4b55b5293578dc6eab040b09f75121bf
/vendors/Textpattern/Admin/Table.php: d35a33cd48b5239eb8b05fbf71f96eff
/vendors/Textpattern/Admin/Theme.php: a78a1d2c5955c67d8b65caf612e5ef2c
/vendors/Textpattern/Admin/Tools.php: 670f0eb7288145e1db50565a82aa8218
/vendors/Textpattern/Container/Container.php: c6d55480dbc432b804735cc0aa49991c
/vendors/Textpattern/Container/ContainerInterface.php: eb0dd1cbd9cde8f1ca76f17ef3eab76b
/vendors/Textpattern/Container/FactorableInterface.php: 7a98d544cc82356752421cb4924e14d0
/vendors/Textpattern/Container/FactoryInterface.php: eee6a60f5d451535194c3b5c0583e64a
/vendors/Textpattern/Container/ReusableInterface.php: bd8353eee806eec630307fe66fb54d84
/vendors/Textpattern/Date/Timezone.php: e6cb18891da6b037bc84e96dba68e105
/vendors/Textpattern/DB/Core.php: ec78eb77f7275df574c202db3f3a06ea
/vendors/Textpattern/Filter/Exception.php: 20fbdefe757e2ffa10510ba79be15189
/vendors/Textpattern/Filter/FilterCallable.php: acb6078b24a05165c39382952730854b
/vendors/Textpattern/Filter/StringFilter.php: 3da0ebbec1107a1b02284eb5ac61f579
/vendors/Textpattern/Http/Request.php: b9b97359cccd2781cc2ee0879817fe75
/vendors/Textpattern/Import/TxpXML.php: 4f0ba2e86d1f4fc0d51df804fed2557d
/vendors/Textpattern/Iterator/FileIterator.php: b2895983f4b522ba8fb43ec3e500233d
/vendors/Textpattern/Iterator/RecDirIterator.php: c3cf59afe374c285fc6a64ca7bf6770f
/vendors/Textpattern/Iterator/RecFilterIterator.php: 5cb9d60bbfac498254e926fb64b03d58
/vendors/Textpattern/Iterator/RecIteratorIterator.php: 340ae698929f267f057570a34df42c8f
/vendors/Textpattern/L10n/Lang.php: bed70731075b16b050c19ced3a70fcf0
/vendors/Textpattern/L10n/Locale.php: d2b933aff0ee023b5c9d8def3682dd23
/vendors/Textpattern/Loader.php: fe4190fbfea4f13bf6a664d9db6bd551
/vendors/Textpattern/Mail/Adapter/Mail.php: 36b0821f9d9888bb37442baa3db91989
/vendors/Textpattern/Mail/AdapterInterface.php: be075beed5cadde10f47440efe0ca03c
/vendors/Textpattern/Mail/Compose.php: 5ecf483447802c5a8c0d0494655c2000
/vendors/Textpattern/Mail/Encode.php: 1659d9da0e6c537b51c7cbbb2bafd2c3
/vendors/Textpattern/Mail/Exception.php: e9c6f012af13f5bb8a4e0804349aacea
/vendors/Textpattern/Mail/Message.php: be327d690d66a40438ac856911011fdd
/vendors/Textpattern/Module/Help/HelpAdmin.php: 4fd0022798e29fbe9523549517661267
/vendors/Textpattern/Password/Adapter/PasswordHash.php: bfb97efec8fae5c351bc51d5341b9824
/vendors/Textpattern/Password/AdapterInterface.php: 8597c3f7072fd8b3a206743518e1d8ef
/vendors/Textpattern/Password/Generator.php: 20daccd1ad9cee8e00ef4f82142aa6a3
/vendors/Textpattern/Password/Hash.php: 128b26b0e60ad004c5daaabf8ff15e7f
/vendors/Textpattern/Password/Random.php: 7cbfbdb00fa7ae08f8208b5e9ccf8fb8
/vendors/Textpattern/Plugin/Plugin.php: 65ec5f4534ab90aac613b92c95e380c5
/vendors/Textpattern/Search/Filter.php: b253d6fd147f0efa2eb5a3c7b86e8fca
/vendors/Textpattern/Search/Method.php: cbe44bf2aeaf6b7b0a9a871b9deb10c3
/vendors/Textpattern/Security/Exception.php: af306a7a85a6be2670129ffe252f691a
/vendors/Textpattern/Security/Filter.php: fbf3003e02a71583fc5559426afe45da
/vendors/Textpattern/Server/Config.php: e463474cd15b931918cc3c1d353948ea
/vendors/Textpattern/Server/Files.php: b31726c28b4b3c8f634b292f414d167b
/vendors/Textpattern/Skin/AssetBase.php: 0941c1da7ec0844f8bbd509b3b0b5f37
/vendors/Textpattern/Skin/AssetInterface.php: 95e540133825dd2acf73abed73a88c4a
/vendors/Textpattern/Skin/CommonBase.php: 17e0cba2250301d03f15f3bddc3328d5
/vendors/Textpattern/Skin/CommonInterface.php: 1bafe4ac2c65b31e5b17a93cedaf36c6
/vendors/Textpattern/Skin/Css.php: f5e16c5c422bdaba7f65e87216267c67
/vendors/Textpattern/Skin/CssInterface.php: 605dc4c98cf6e47e8cd0fae7e27012ea
/vendors/Textpattern/Skin/Form.php: 45e47c023fbbaa3947d06d51336c0d72
/vendors/Textpattern/Skin/FormInterface.php: 8e5a25e49668d42b29935d42ae720a10
/vendors/Textpattern/Skin/Page.php: 935eccac8dc3e9df75b720c1b2f9888e
/vendors/Textpattern/Skin/PageInterface.php: f54a7c0e7beb3343d357a6ce5397f4fa
/vendors/Textpattern/Skin/Skin.php: 77bdbd00fe2d0baf8f62f95eb4d37a25
/vendors/Textpattern/Skin/SkinInterface.php: f9c8f4340ab0bdd2658821d983a77ca2
/vendors/Textpattern/Tag/Registry.php: d651ad90f6d87838fdfbf43cd8d457c4
/vendors/Textpattern/Tag/Syntax/Authors.php: 86a6154bd08e73319762b3387cdfb92a
/vendors/Textpattern/Tag/Syntax/File.php: 3f730fdaa76ca355b27ccb7478396258
/vendors/Textpattern/Tag/Syntax/Image.php: c1319e2289fa56d0ab97cfc84b9f1496
/vendors/Textpattern/Tag/Syntax/Link.php: 3f8f78ef3580df9051df295122a6ff83
/vendors/Textpattern/Tag/Syntax/Partial.php: 798581ba13a2fa245a9a2a29bd8268a7
/vendors/Textpattern/Textfilter/Base.php: 148b6267831d35d6a8db15d1cd2ccdaf
/vendors/Textpattern/Textfilter/Constraint.php: 0f991e221704033b340b4627cd3bd8d7
/vendors/Textpattern/Textfilter/Nl2Br.php: 120fc5128e0feca793fef7554dc6e3c5
/vendors/Textpattern/Textfilter/Plain.php: 3db6d32fc7a0977de52c190fef26e444
/vendors/Textpattern/Textfilter/Registry.php: 2e72f55326955288956d3f073d80685b
/vendors/Textpattern/Textfilter/TextfilterInterface.php: c4fed4b35a6192a99f4156096afa66dd
/vendors/Textpattern/Textfilter/Textile.php: 7cdebba481fca095d7217ae7d0d594bf
/vendors/Textpattern/Textile/Parser.php: 89adf00249564a589da43900def4aeec
/vendors/Textpattern/Textpack/Parser.php: c1c16982cb729bbffacaf95ad962a4c6
/vendors/Textpattern/Textpack/String/Iterator.php: 8ec5882fd003c8944dfde641acccc0f7
/vendors/Textpattern/Textpack/StringInterface.php: 4b8188cd9e878f46e4f259525ae79d3c
/vendors/Textpattern/Type/StringType.php: ac453a1d358a749aa5191bd68ce19a75
/vendors/Textpattern/Type/TypeCallable.php: c52efaafaa97590c9c9c981d8f3ce998
/vendors/Textpattern/Type/TypeInterface.php: 0f44c97964b9c8918eb50df4dc4e8d2e
/vendors/Textpattern/Validator/BlankConstraint.php: 1382f7d7ec14085c9a845c05392a83c4
/vendors/Textpattern/Validator/CategoryConstraint.php: 1905d8a0caf31c928d278179948c4f2c
/vendors/Textpattern/Validator/ChoiceConstraint.php: bb2acc51b1deffe94c5d35778d4d61fc
/vendors/Textpattern/Validator/Constraint.php: 19c8680ea34aab9205edb4953f8c3e48
/vendors/Textpattern/Validator/FalseConstraint.php: bb26fc272d022d75db704425d2daef10
/vendors/Textpattern/Validator/FormConstraint.php: 3c102f4fd6901ab16cc168322af37e1d
/vendors/Textpattern/Validator/SectionConstraint.php: d6c469fc4e538dc86a5173687965af93
/vendors/Textpattern/Validator/TrueConstraint.php: b1d6b1cb9aac086af40aed4353762cfd
/vendors/Textpattern/Validator/Validator.php: 1c4ce4a0f834099e65cf20a3efc9b744
/vendors/Txp.php: 2b5fddedc158ac643a1e1bdab917932f
/../css.php: 2277486a44bb8c84a10546439a8d0c18
/../index.php: 3c7de42a5a7ab5e8a14348fe03b56c6c
/../rpc/TXP_RPCServer.php: 072a7f107eebe48a837ebaaaaa6b3db6
/../rpc/index.php: 1e0c0b24dc3bb6928048af4250ce3792

Offline

#19 2018-05-16 11:38:47

gaekwad
Server grease monkey
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 4,240
GitHub

Re: Two issues with 4.7.0

Thank you – do you have or recall the errors which said the files checksum didn’t match?

Offline

#20 2018-05-16 11:39:53

funtoosh
Member
From: Münster, Germany
Registered: 2006-10-09
Posts: 153
Website

Re: Two issues with 4.7.0

Yep, plugins were up to date — except for bot_wtc 0.8.0 which failed to install (see thread over there) but 0.7.5 was working fine, as far as I could tell.

Offline

#21 2018-05-16 11:41:11

funtoosh
Member
From: Münster, Germany
Registered: 2006-10-09
Posts: 153
Website

Re: Two issues with 4.7.0

gaekwad wrote #311831:

Thank you – do you have or recall the errors which said the files checksum didn’t match?

It was a long and probably complete list of all txp files …

(and thank YOU, guys)

Last edited by funtoosh (2018-05-16 11:42:03)

Offline

#22 2018-05-16 11:57:19

funtoosh
Member
From: Münster, Germany
Registered: 2006-10-09
Posts: 153
Website

Re: Two issues with 4.7.0

There are two things that are peculiar about this site’s hosting, it’s on a community managed server, so the choice of php libs may at times be unusual or include outdated versions.

And my site is running in a subdirectory that kind of works like a subdomain. That never posed a problem with txp though.

It’s here, actually: https://www.muenster.org/medienforum/

Offline

#23 2018-05-16 12:37:34

funtoosh
Member
From: Münster, Germany
Registered: 2006-10-09
Posts: 153
Website

Re: Two issues with 4.7.0

So I was curious and uploaded the contents of textpattern-4.7.0.tar.gz to another yet unused txp installation (also running PHP5).

Themes are working, no sections error, no problems with checksums, but the textile help icon is missing from the dropdown in the write tab as well:

Offline

#24 2018-05-16 13:15:00

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,433
Website GitHub

Re: Two issues with 4.7.0

funtoosh wrote #311836:

the textile help icon is missing from the dropdown in the write tab as well

Curious. It’s added by JavaScript so there’s a chance you need to force refresh the page/flush your browser cache. But you should have been informed at upgrade time to do that if it detected your version was out of sync. This is all very odd.


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

Board footer

Powered by FluxBB