Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2020-06-25 10:08:58

Gallex
Member
Registered: 2006-10-08
Posts: 1,289

[SOLVED] 4.5.3 > 4.7.3 update

hi!

http://arttiskijumping.planet.ee/textpattern/
PHP 7.2
i get this error:

User_Error “Unknown column ‘ip’ in ‘txp_log’”
in /data01/virt68540/domeenid/www.arttiskijumping.planet.ee/htdocs/textpattern/lib/txplib_db.php at line 410.
textpattern/lib/txplib_misc.php:1759 adminErrorHandler()
updateErrorHandler()
textpattern/lib/txplib_db.php:410 trigger_error()
textpattern/lib/txplib_db.php:545 safe_query()
textpattern/update/_to_4.5.7.php:32 safe_alter()
textpattern/update/_update.php:98 include()
textpattern/index.php:215 include()

Fatal error: Uncaught Error: Class ‘Textpattern\Textpack\Parser’ not found in /data01/virt68540/domeenid/www.arttiskijumping.planet.ee/htdocs/textpattern/vendors/Textpattern/L10n/Lang.php:374 Stack trace: #0 /data01/virt68540/domeenid/www.arttiskijumping.planet.ee/htdocs/textpattern/vendors/Textpattern/L10n/Lang.php(401): Textpattern\L10n\Lang->getPack(‘en-gb’) #1 /data01/virt68540/domeenid/www.arttiskijumping.planet.ee/htdocs/textpattern/update/_update.php(133): Textpattern\L10n\Lang->installFile(‘en-gb’) #2 /data01/virt68540/domeenid/www.arttiskijumping.planet.ee/htdocs/textpattern/index.php(215): include(‘/data01/virt685…’) #3 {main} thrown in /data01/virt68540/domeenid/www.arttiskijumping.planet.ee/htdocs/textpattern/vendors/Textpattern/L10n/Lang.php on line 374

Last edited by Gallex (2020-06-25 10:16:33)

Offline

#2 2020-06-25 10:40:12

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

Re: [SOLVED] 4.5.3 > 4.7.3 update

Hmm, that sounds like not all the files have been uploaded to your new installation. Are you sure you’ve uploaded everything, including the entire contents of the textpattern/vendors directory?

The unknown column ‘ip’ thing is probably due to a partial upgrade being performed. You can fix it one of two ways:

  1. Add the ‘ip’ column back into your txp_log table temporarily. Doesn’t really matter how you define it (VARCHAR is fine), as long as it exists.
  2. Edit textpattern/update/_to_4.5.7.php and comment out safe_alter('txp_log', "MODIFY ip VARCHAR(45) NOT NULL DEFAULT ''"); by adding // in front of the line.

Log in again/refresh and see if things improve.

If an upgrade is only partially complete, it depends how far the process got as to which of the above works. When you finally get through to the end (you can check if it completed by verifying the version value in the txp_prefs table: it should represent the version you were installing), check that the ‘ip’ column in the txp_log table has been successfully removed. And if it hasn’t, you can then manually delete the column.

Hope that helps.

Last edited by Bloke (2020-06-25 10:41:15)


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

#3 2020-06-25 11:27:59

Gallex
Member
Registered: 2006-10-08
Posts: 1,289

Re: [SOLVED] 4.5.3 > 4.7.3 update

Bloke wrote #324005:

Hmm, that sounds like not all the files have been uploaded to your new installation. Are you sure you’ve uploaded everything, including the entire contents of the textpattern/vendors directory?

The unknown column ‘ip’ thing is probably due to a partial upgrade being performed. You can fix it one of two ways:

Log in again/refresh and see if things improve.

got things working. used your point 2 solution and uploaded textpattern folder again. thank’s bloke!

Offline

Board footer

Powered by FluxBB