[3.1][3.2][RC] Prime Post Revision

A place for Extension Authors to post and receive feedback on Extensions still in development. No Extensions within this forum should be used within a live environment!
Scam Warning
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: Extensions Development rules

IMPORTANT FOR NEEDED EVENTS!!!
If you need an event for your extension please read this for the steps to follow to request the event(s)
User avatar
RomaamoR
Registered User
Posts: 80
Joined: Tue Feb 24, 2015 4:45 pm
Contact:

Re: [3.1][3.2][RC] Prime Post Revision

Post by RomaamoR » Fri Dec 15, 2017 8:59 pm

Code: Select all

SQL ERROR [ mysqli ]

Table 'vladr546_new.phpbb_ppr' doesn't exist [1146]

SQL

SHOW COLUMNS FROM phpbb_ppr

BACKTRACE

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

FILE: [ROOT]/phpbb/db/driver/driver.php
LINE: 999
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: 885
CALL: phpbb\db\driver\mysqli->sql_query()

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

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

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: 711
CALL: call_user_func_array()

FILE: [ROOT]/phpbb/db/migrator.php
LINE: 658
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()

andreask
Registered User
Posts: 411
Joined: Fri Feb 27, 2009 6:13 pm
Name: Andreas

Re: [3.1][3.2][RC] Prime Post Revision

Post by andreask » Fri Dec 15, 2017 9:07 pm

When exactly does this happen?
Here is what I am working on right now...
Inactive User Manager for phpBB, Prime post revision 3.1/3.2
Give it a try...
If you would like to buy me a bier ;) for my work I will drink it on a hot summer day and thank you!!!

User avatar
RomaamoR
Registered User
Posts: 80
Joined: Tue Feb 24, 2015 4:45 pm
Contact:

Re: [3.1][3.2][RC] Prime Post Revision

Post by RomaamoR » Fri Dec 15, 2017 9:10 pm

When I turn on the extension.

andreask
Registered User
Posts: 411
Joined: Fri Feb 27, 2009 6:13 pm
Name: Andreas

Re: [3.1][3.2][RC] Prime Post Revision

Post by andreask » Fri Dec 15, 2017 9:12 pm

so the installation is working, but when you 'enable' the it show you this?
Here is what I am working on right now...
Inactive User Manager for phpBB, Prime post revision 3.1/3.2
Give it a try...
If you would like to buy me a bier ;) for my work I will drink it on a hot summer day and thank you!!!

User avatar
RomaamoR
Registered User
Posts: 80
Joined: Tue Feb 24, 2015 4:45 pm
Contact:

Re: [3.1][3.2][RC] Prime Post Revision

Post by RomaamoR » Fri Dec 15, 2017 9:17 pm

Yes

andreask
Registered User
Posts: 411
Joined: Fri Feb 27, 2009 6:13 pm
Name: Andreas

Re: [3.1][3.2][RC] Prime Post Revision

Post by andreask » Fri Dec 15, 2017 9:21 pm

Thanks,

The weird thing is, that I do not have this behavior, I am working on it though!
Here is what I am working on right now...
Inactive User Manager for phpBB, Prime post revision 3.1/3.2
Give it a try...
If you would like to buy me a bier ;) for my work I will drink it on a hot summer day and thank you!!!

User avatar
RomaamoR
Registered User
Posts: 80
Joined: Tue Feb 24, 2015 4:45 pm
Contact:

Re: [3.1][3.2][RC] Prime Post Revision

Post by RomaamoR » Fri Dec 15, 2017 9:24 pm

Ok.

User avatar
spaceace
Registered User
Posts: 1773
Joined: Wed Jan 30, 2008 8:50 pm
Contact:

Re: [3.1][3.2][RC] Prime Post Revision

Post by spaceace » Fri Dec 15, 2017 9:43 pm

andreask wrote:
Fri Dec 15, 2017 9:21 pm
Thanks,

The weird thing is, that I do not have this behavior, I am working on it though!
is it possible that it is not installing with the table prefix that RomaamoR has? but just installing with the default phpbb_ table prefix

andreask
Registered User
Posts: 411
Joined: Fri Feb 27, 2009 6:13 pm
Name: Andreas

Re: [3.1][3.2][RC] Prime Post Revision

Post by andreask » Sun Dec 17, 2017 11:10 pm

spaceace wrote:
Fri Dec 15, 2017 9:43 pm
is it possible that it is not installing with the table prefix that RomaamoR has? but just installing with the default phpbb_ table prefix
But in the two migrations where the db updates it uses the table prefix that is set in phpbb... (it's not hard coded)

Code: Select all

public function update_schema()
	{
return array(
			'add_tables'	=> array(
				$this->table_prefix . 'ppr'	=> array(
					'COLUMNS'	=> array(
						'revision_id'						=> array('UINT', null, 'auto_increment'),
						'post_id'						=> array('UINT', 0),
						'post_subject'						=> array('VCHAR', ''),
						'post_text'						=> array('TEXT', ''),
						'bbcode_uid'						=> array('VCHAR:8', ''),
						'bbcode_bitfield'						=> array('VCHAR:255', ''),
						'post_edit_time'							=> array('TIMESTAMP', 0),
						'post_edit_user'						=> array('UINT', 0),
					),
					'PRIMARY_KEY'	=> 'revision_id',
				),
			),
		);
	}
Here is what I am working on right now...
Inactive User Manager for phpBB, Prime post revision 3.1/3.2
Give it a try...
If you would like to buy me a bier ;) for my work I will drink it on a hot summer day and thank you!!!

User avatar
RomaamoR
Registered User
Posts: 80
Joined: Tue Feb 24, 2015 4:45 pm
Contact:

Re: [3.1][3.2][RC] Prime Post Revision

Post by RomaamoR » Tue Dec 19, 2017 9:26 am

Can conflict with another extension?

andreask
Registered User
Posts: 411
Joined: Fri Feb 27, 2009 6:13 pm
Name: Andreas

Re: [3.1][3.2][RC] Prime Post Revision

Post by andreask » Tue Dec 26, 2017 7:02 pm

This error has nothing to do with conflicts...
It looks like during the installation it does not create the required table.

Could you please
  1. disable ext
  2. delete data of the ext
  3. delete files
  4. just for the fun clean the cache
  5. re upload files of ext
  6. and enable
Here is what I am working on right now...
Inactive User Manager for phpBB, Prime post revision 3.1/3.2
Give it a try...
If you would like to buy me a bier ;) for my work I will drink it on a hot summer day and thank you!!!

Post Reply

Return to “Extensions in Development”

Who is online

Users browsing this forum: No registered users and 16 guests