Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#13 2020-11-19 05:19:56

phiw13
Plugin Author
From: Japan
Registered: 2004-02-27
Posts: 3,243
Website

Re: Can't create a new section, edit existing sections

mistersugar wrote #326933:

2. And now I see that my other Txp site, mistersugar.com, is on an older version of Txp and now throwing an error, so that suggests something changed at the server level, maybe with PHP?

Does this thread help for your error there ?


Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern

Offline

#14 2020-11-19 06:40:09

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

Re: Can't create a new section, edit existing sections

mistersugar wrote #326933:

2. And now I see that my other Txp site, mistersugar.com, is on an older version of Txp and now throwing an error, so that suggests something changed at the server level, maybe with PHP?

My gut feeling here says it’s PHP 7.4, switching server PHP to 7.3 may resolve it if you can’t update Textpattern just now. Textpattern 4.7 runs just fine on PHP 7.3.

Offline

#15 2020-12-27 20:53:30

mistersugar
Member
From: North Carolina
Registered: 2004-04-13
Posts: 141
Website

Re: Can't create a new section, edit existing sections

Apologies for the long silence. I started a new job in November and only with the holiday lull have I gotten time to focus on my own stuff.

So, I upgraded to 4.8.4 but am still having troubles with editing and creating sections. I get the red error at the bottom of the screen.

I did notice that my default theme was still showing a 4.7.0 version. I suspect that would have been tied to Txp 4.7.0, right? I duplicated the theme and renamed it and assigned it to my active sections, but that hasn’t seemed to make any difference.

Here is my Diagnostics info:

Textpattern version: 4.8.4 (eeea8e11405a89e9e6ceb3fa3d0f2001)
Last update: 2020-12-27 02:44:50/2020-12-27 02:43:48
Textpattern path: __TXP-ROOT/textpattern
Article URL pattern: title_only
Production status: live
Temporary directory path: __TXP-ROOT/textpattern/tmp
PHP version: 7.4.13
GD Graphics Library: 2.3.0; Supported formats: GIF, JPEG, PNG, WebP.
Server timezone: UTC
Server local time: 2020-12-27 20:49:01
Daylight Saving Time enabled?: 0
Automatically adjust Daylight Saving Time setting?: 1
Time zone (GMT offset in seconds): America/New_York (-18000)
MySQL: 5.5.5-10.3.25-MariaDB (MariaDB Server) 
Database server time: 2020-12-27 20:49:01
Database server time offset: 1 s
Database server timezone: SYSTEM
Database session timezone: SYSTEM
Locale: en_US.UTF-8
Site / Admin language: en-us / en-us
Web server: Apache
PHP server API: cgi-fcgi
RFC 2616 headers: 0
Server OS: Linux 3.10.0-1127.13.1.el7.x86_64
Admin-side theme: hive 4.8.4

htaccess file contents: 
------------------------
# BEGIN Textpattern

#DirectoryIndex index.php index.html

<IfModule mod_rewrite.c>
    RewriteEngine On

    # Enable the `FollowSymLinks` option below if it isn't already.
    #Options +FollowSymlinks

    #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>

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

# For additional Apache-compatible web server configuration settings to enhance
# site performance and security, we recommend:
# https://github.com/h5bp/server-configs-apache/blob/master/dist/.htaccess

# END Textpattern

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

Suggestions?

Offline

#16 2021-01-02 04:22:49

mistersugar
Member
From: North Carolina
Registered: 2004-04-13
Posts: 141
Website

Re: Can't create a new section, edit existing sections

I found a similar thread here and will see if that helps.

UPDATE: That was it. I manually added the permlink_mode column to the txp_section table in the database and now I can add, delete, and otherwise modify sections.

Last edited by mistersugar (2021-01-02 04:36:03)

Offline

#17 2021-01-02 05:48:04

phiw13
Plugin Author
From: Japan
Registered: 2004-02-27
Posts: 3,243
Website

Re: Can't create a new section, edit existing sections

mistersugar wrote #327964:

I found a similar thread here and will see if that helps.

UPDATE: That was it. I manually added the permlink_mode column to the txp_section table in the database and now I can add, delete, and otherwise modify sections.

Great! So “something” failed in the upgrade process then ?


Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern

Offline

Board footer

Powered by FluxBB