Hi All,
Maybe I missed it but I can't seem to locate a search feature for the forum. Just hoping not to repeat a question/issue already addressed.
Trying to setup new shop (1.0.8.1) and migrate from 2.3.4. I'm getting an error using the New Installation for the database with MySQL 5.7.33 and PHP 7.4.16. Error "Specified key was too long; max key length is 1000 bytes". Same response with or without import sample data. Am I using the wrong MySQL or PHP or some other setting?
thanks,
Cary
Forum Search and Install Error "Specified key was too long; max key length is 1000 bytes"
-
ecartz
- Core Team
- Posts: 3084
- Joined: Tue Nov 05, 2019 6:02 pm
- Phoenix Version:
- Has thanked: 4 times
- Been thanked: 208 times
Re: Forum Search and Install Error "Specified key was too long; max key length is 1000 bytes"
It's the box that says "Search this topic..." -- there's one on this page (look below the title). Or there's one that just says, "Search..." in the upper right. It doesn't seem that good with multiple words. Searching for 1000 finds viewtopic.php?p=3845#p3845 among others.
I.e. change your default tables from MyISAM to InnoDB. Or edit the affected columns from 255 to 250.
I.e. change your default tables from MyISAM to InnoDB. Or edit the affected columns from 255 to 250.
- Cary
- Member
- Posts: 34
- Joined: Fri Mar 12, 2021 9:36 pm
- Phoenix Version: v1.0.9.1
- Has thanked: 3 times
- Been thanked: 3 times
Re: Forum Search and Install Error "Specified key was too long; max key length is 1000 bytes"
Thank you for the replies! Changing the default table storage engine from MyISAM to InnoDB with the server MySQL config file fixed the issue. The configuration file "/etc/my.conf" the line changed was to "default-storage-engine=InnoDB".
Regarding the search box, I still don't see it and I'm not seeing images posted by other users. Maybe just my current user level as a newbie in this forum.
Thanks Again for the prompt replies!
Regarding the search box, I still don't see it and I'm not seeing images posted by other users. Maybe just my current user level as a newbie in this forum.
Thanks Again for the prompt replies!
-
ecartz
- Core Team
- Posts: 3084
- Joined: Tue Nov 05, 2019 6:02 pm
- Phoenix Version:
- Has thanked: 4 times
- Been thanked: 208 times
Re: Forum Search and Install Error "Specified key was too long; max key length is 1000 bytes"
I see it if I switch to a different browser where I'm logged off: Right hand side just below Register and Login. When logged in, I see Notifications, Private Messages, and my user name there. I suppose it's possible that a logged off user has more rights than a new user.
You do not have the required permissions to view the files attached to this post.