Posts merging

installation - Posts merging

installation

by scheccia » Mon Jan 08, 2018 3:08 pm

It's possible disable merge in installation?
i have a big database and, if it's possible, want to merge the post after installation. We use link internal post and this can cause problems.
scheccia
Registered User
Posts: 94
Joined: Fri Feb 10, 2017 8:16 am

Re: installation

by rxu » Mon Jan 08, 2018 3:24 pm

What do you mean?
This extension doesn't perform any posts merging during installation.
rxu
Extensions Development Team
Posts: 4018
Joined: Wed Oct 25, 2006 12:46 pm
Location: Siberia, Russian Federation

Re: installation

by scheccia » Mon Jan 08, 2018 3:28 pm

my error i install on local test server, installation took a long time and I thought it was merging messages
scheccia
Registered User
Posts: 94
Joined: Fri Feb 10, 2017 8:16 am

Re: installation

by rxu » Mon Jan 08, 2018 3:31 pm

Well, it can be a problem really on boards having very many posts as the extension adds a column to the posts database table.
rxu
Extensions Development Team
Posts: 4018
Joined: Wed Oct 25, 2006 12:46 pm
Location: Siberia, Russian Federation

Re: installation

by scheccia » Mon Jan 08, 2018 3:57 pm

i have 458731 posts... no problem :)
scheccia
Registered User
Posts: 94
Joined: Fri Feb 10, 2017 8:16 am

Re: installation

by potku » Fri Mar 30, 2018 6:22 am

rxu wrote:Well, it can be a problem really on boards having very many posts as the extension adds a column to the posts database table.
This seems to be the case. We have a little less than a million posts, and this EXT has been installing itself for about 5 minutes now. Had I not found this topic, I would have panicked. Well, I am still not at ease since it is still installing. How long should it take, by the way?

Would it be a good idea to mention this aspect of this EXT in contribution details?

And thanks for a useful EXT. :)

EDIT:
And now this happened:

Code: Select all

SQL ERROR [ mysqli ]

Duplicate column name 'post_created' [1060]

SQL

ALTER TABLE `olympus_posts` ADD COLUMN `post_created` int(11) DEFAULT '0' NOT NULL

BACKTRACE

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

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

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

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

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

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

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

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

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

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

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

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

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

FILE: [ROOT]/phpbb/extension/manager.php
LINE: 190
CALL: phpbb\extension\base->enable_step()

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

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

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

"Before I speak, I have something important to say."

- Groucho Marx
User avatar
potku
Registered User
Posts: 981
Joined: Wed Dec 22, 2004 10:26 pm
Location: Tampere, Finland