Jump to content

Welcome, Guest!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

  • 0
led24ee

1.3 installation: Table 'xxxx_attribute' doesn't exist

Question

I'm trying to install 1.3 but (PHP 8.1) there is error message SQLSTATE[42S02]: Base table or view not found: 1146 Table 'xxxx_attribute' doesn't exist. Any suggestion how to force install to create this table ? I've tried more than 10 times. Always the same result. So far i tried:

multiple times

upload again all files via ftp (maybe there was error when uploading files to server) and then start install process again

 

 

Any suggestion ?

Share this post


Link to post
Share on other sites

4 answers to this question

Recommended Posts

  • 0
6 hours ago, led24ee said:

I'm trying to install 1.3 but (PHP 8.1)

TB is not compatible with PHP 8 yet.

The work on compatiblity is in progress, though. Hopefully the next version 1.4 will be fully php8 compatible. Until then, php 7.4 it is.

  • Like 2

Share this post


Link to post
Share on other sites
  • 0
4 hours ago, datakick said:

TB is not compatible with PHP 8 yet.

The work on compatiblity is in progress, though. Hopefully the next version 1.4 will be fully php8 compatible. Until then, php 7.4 it is.

Damn it. I spend almost whole night to find this out. Can You next time put this kind info with BIG LETTERS somewhere in the beginning ? Why ? Because I found Your letter almost year ago, that this issue will be fixed and I think that it is done. Also my host offers PHP 7.4 and I have no idea how long this will be. Last year was also 5.6, but now this isn't available anymore. Do You have any clue when this PHP8 version is ready ? Year ? Month ? Day ? Something else ?

 

Thank you

Share this post


Link to post
Share on other sites
  • 0
1 hour ago, led24ee said:

Damn it. I spend almost whole night to find this out. Can You next time put this kind info with BIG LETTERS somewhere in the beginning ?

It's specified in the system requirements: PHP 5.6 - PHP 7.4 with a minimum of 128 MiB RAM

 

 

I guess it is a good idea to add a runtime check into the application, though. To prevent even starting thirtybees / installation process on non-compatible php version.

1 hour ago, led24ee said:

Do You have any clue when this PHP8 version is ready ? Year ? Month ? Day ? Something else ?

We plan for 2 releases per year. The next one will be out in about 5 months. 

I can't promise that the php8 support will be part of it, though. It's not an easy task, considering we want to keep system compatible. The problem is that php8 comes with new reserved class name 'Attribute', but thirty bees / prestashop used this name for years already. 

Prestashop solved this problem by simply renaming the class in the core, so it's no longer named Attribute. The problem is that this does not fixes issues with any modules that might be using this standard class. We want to come up with a slightly better solution, but it's also little bit complicated to implement. 

Share this post


Link to post
Share on other sites
  • 0
Posted (edited)
2 hours ago, datakick said:

Prestashop solved this problem by simply renaming the class in the core, so it's no longer named Attribute. The problem is that this does not fixes issues with any modules that might be using this standard class. We want to come up with a slightly better solution, but it's also little bit complicated to implement. 

Well You can't make things compatible each other forever. But other side if there will be some clever solution then it is useful next time too in case some next PHP version will create similar problem.

About this PHP 8. I have heard this long time and was sure there will be no problem. I try to pay more attention.

Edited by led24ee

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...