Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2016-05-26 13:38:02
- richtestani
- Plugin Author
- Registered: 2009-11-08
- Posts: 128
Error when moving 4.6-dev site
I am working with 4.6-dev on a MAMP install, and everything seems fine – works fine – is fine.
I dump the db, deploy the files to the server, and setup the DB.
After all is setup and I login, I get the following error:
User_Error "Specified key was too long; max key length is 1000 bytes" in /home/forge/staging.shopcoobie.com/public/shopcoobie/releases/20160526114118/textpattern/lib/txplib_db.php at line 405.
textpattern/lib/txplib_misc.php:1677 adminErrorHandler() updateErrorHandler() textpattern/lib/txplib_db.php:405 trigger_error() textpattern/lib/txplib_db.php:532 safe_query() textpattern/update/_to_4.6.0.php:86 safe_alter() textpattern/update/_update.php:84 include() textpattern/index.php:180 include()
I cannot seem to figure out what this actually means.
Offline
#2 2016-05-26 15:17:37
- richtestani
- Plugin Author
- Registered: 2009-11-08
- Posts: 128
Re: Error when moving 4.6-dev site
Found my issue. I’ve been migrating databases and a few of them had incorrect lengths set.
Using the newer db schema fixed this.
Offline
Pages: 1