Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2020-03-11 15:25:27

New Member
Registered: 2020-03-11
Posts: 5

Troubleshooting: Moving a txp site for a dear old friend...

The home page loads beautifully but links to txp articles give me an error. Here’s an example:

Here are my diagnostics:

Textpattern version: 4.6.2 (8412e32468526e075446b881d13bd9ce)
Last update: 2017-04-11 19:51:30/2020-03-11 13:16:45
Document root: /home/u835-dxhymfsx6fz9/www/mollyg6.sg-host.com/public_html (/home/customer/www/mollyg6.sg-host.com/public_html)
$path_to_site: /home/customer/www/mollyg6.sg-host.com/public_html
Textpattern path: /home/customer/www/mollyg6.sg-host.com/public_html/textpattern
Article URL pattern: section_title
Temporary directory path: /home/customer/www/mollyg6.sg-host.com/public_html/textpattern/tmp
Site URL: mollyg6.sg-host.com
PHP version: 7.3.15
GD Graphics Library: bundled (2.1.0 compatible); supported formats: GIF, JPG, PNG.
Server TZ: CST6CDT
Server local time: 2020-03-11 10:23:06
Daylight Saving Time enabled?: 1
Automatically adjust Daylight Saving Time setting?: 0
Time zone (GMT offset in seconds): America/New_York (-18000)
MySQL: 5.7.25-28-log
Database server time: 2020-03-11 15:23:06
Database server time offset: 0 s
Database server timezone: SYSTEM
Database session timezone: SYSTEM
Locale: en_US.UTF-8
Server: Apache
PHP server API: cgi-fcgi
RFC 2616 headers: 0
Server OS: Linux 3.12.18-clouder0
Active plugins: mrw_spamkeywords_urlcount-0.1, zem_contact_lang-, zem_contact_reborn-, rss_auto_excerpt-0.5, chh_keywords-0.21, chh_related_articles-0.41, ob1_title-4.1, ras_if_article_keywords-4.0.7, ajw_comment_alt-0.3, wet_recent_comments-0.4, glx_admin_image-2007.1, upm_image-0.6.2, upm_img_popper-1.3.7m, rss_pluginstaller-0.1, rss_article_edit-0.1, rss_admin_db_manager-4.3, ngd_recaptcha-1.0, lam_image_uploader-0.6c, chh_article_lib-1.04, wet_peex-0.4, smd_where_used-0.30, wet_quicklink-0.7
Admin-side theme: classic 4.6.2

Pre-flight check: 
New Textpattern version 4.8.0 available for download.

.htaccess file contents: 
# BEGIN Textpattern
#DirectoryIndex index.php index.html

#Options +FollowSymLinks
#Options -Indexes
#ErrorDocument 403 default

<IfModule mod_rewrite.c>
    RewriteEngine On
    #RewriteBase /relative/web/path/

 RewriteCond %{HTTPS} !=on
    RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]

    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}]

#php_value register_globals 0

<IfModule mod_mime.c>
    AddType image/svg+xml  svg svgz
    AddEncoding gzip       svgz
# END Textpattern


_Edit by gaekwad_: formatting.

Last edited by gaekwad (2020-03-12 10:29:02)


#2 2020-03-11 16:04:51

From: Leeds, UK
Registered: 2006-01-29
Posts: 11,269
Website GitHub

Re: Troubleshooting: Moving a txp site for a dear old friend...

Hi and welcome to the Textpattern forums.

Looks like the cause of that error is the rss_auto_excerpt plugin. If you log into the back end of Textpattern and head to the Admin->Plugins panel you’ll be able to find the plugin there and disable it so it’s not Active. Although that won’t show you the excerpts any more on your site, at least it won’t throw ugly errors.

Then you have a few option: upgrade the plugin or implement a plugin-less solution. Both options are mentioned in this post (though you may have to upgrade Textpattern to v4.8.0 for the plugin-less solution to work, which is recommended after backing everything up).

As you deal with any fallout like this, you may find that other plugins or code doesn’t quite work any more. You can deal with any plugin errors in the same manner as above: temporarily disable them and then come back here to check if there are updates available or if there are workarounds available.

If you can’t find anything mentioned in the forum about a particular issue or plugin – some of those plugins on the site are pretty old and many are not required on more recent hosts and versions of Textpattern – then by all means post here and someone will endeavour to help you resolve it.

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


#3 2020-03-11 16:23:36

New Member
Registered: 2020-03-11
Posts: 5

Re: Troubleshooting: Moving a txp site for a dear old friend...

Thank you very much for the diagnosis & prescription. :)


Board footer

Powered by FluxBB