Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I can not enable extension #30

Open
flavioafa opened this issue Apr 12, 2016 · 2 comments
Open

I can not enable extension #30

flavioafa opened this issue Apr 12, 2016 · 2 comments

Comments

@flavioafa
Copy link

Hello, I am trying to enable the extension, plus the following error occurs:

I am use phpbb 3.1.8.

General Error
SQL ERROR [ mssqlnative ]

SQLSTATE: 42S22 code: 1911 message: [Microsoft][ODBC Driver 11 for SQL Server][SQL Server]Column name 'post_id, user_id' does not exist in the target table or view. SQLSTATE: 42000 code: 1750 message: [Microsoft][ODBC Driver 11 for SQL Server][SQL Server]Could not create constraint. See previous errors. [1750]

SQL

ALTER TABLE [phpbb_posts_likes] WITH NOCHECK ADD CONSTRAINT [PK_phpbb_posts_likes] PRIMARY KEY CLUSTERED ([post_id, user_id])

BACKTRACE

FILE: (not given by php)
LINE: (not given by php)
CALL: msg_handler()

FILE: [ROOT]/phpbb/db/driver/driver.php
LINE: 855
CALL: trigger_error()

FILE: [ROOT]/phpbb/db/driver/mssqlnative.php
LINE: 143
CALL: phpbb\db\driver\driver->sql_error()

FILE: [ROOT]/phpbb/db/driver/factory.php
LINE: 329
CALL: phpbb\db\driver\mssqlnative->sql_query()

FILE: [ROOT]/phpbb/db/tools.php
LINE: 1428
CALL: phpbb\db\driver\factory->sql_query()

FILE: [ROOT]/phpbb/db/tools.php
LINE: 678
CALL: phpbb\db\tools->_sql_run_sql()

FILE: [ROOT]/phpbb/db/tools.php
LINE: 742
CALL: phpbb\db\tools->sql_create_table()

FILE: (not given by php)
LINE: (not given by php)
CALL: phpbb\db\tools->perform_schema_changes()

FILE: [ROOT]/phpbb/db/migrator.php
LINE: 550
CALL: call_user_func_array()

FILE: [ROOT]/phpbb/db/migrator.php
LINE: 496
CALL: phpbb\db\migrator->run_step()

FILE: [ROOT]/phpbb/db/migrator.php
LINE: 305
CALL: phpbb\db\migrator->process_data_step()

FILE: [ROOT]/phpbb/db/migrator.php
LINE: 202
CALL: phpbb\db\migrator->try_apply()

FILE: [ROOT]/phpbb/db/migrator.php
LINE: 185
CALL: phpbb\db\migrator->update_do()

FILE: [ROOT]/phpbb/extension/base.php
LINE: 80
CALL: phpbb\db\migrator->update()

FILE: [ROOT]/ext/anavaro/postlove/ext.php
LINE: 42
CALL: phpbb\extension\base->enable_step()

FILE: [ROOT]/phpbb/extension/manager.php
LINE: 187
CALL: anavaro\postlove\ext->enable_step()

FILE: [ROOT]/includes/acp/acp_extensions.php
LINE: 177
CALL: phpbb\extension\manager->enable_step()

FILE: [ROOT]/includes/functions_module.php
LINE: 674
CALL: acp_extensions->main()

FILE: [ROOT]/adm/index.php
LINE: 81
CALL: p_master->load_active()

@flavioafa flavioafa changed the title Error at enable I can not enable extension Apr 12, 2016
@JacobOre
Copy link

JacobOre commented Apr 15, 2016

The extension isn't stable.

Quoted from main thread: """

@satanasov Sadly, the extensions does not 100% work with the "comboot-way-change". Can you please have a look? I guess it's a issue with your javascript, which I can not change, because its not in the theme folder.
I would also suggest, that you use fontawesome instead of the heart image. phpBB will add support for fontawesome in 3.2, so it's a good time to add it. What do you think?

@vpontin I did not release it yet, because it does not 100% work (as described above). If you want to download it, you have to go to the "comboot" branche: https://github.com/satanasov/postlove/tree/comboot

"""

@vico93
Copy link

vico93 commented Apr 16, 2016

Very important to @TheZoker know

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants