o0johntam0o / phpBB-Extension-Codebox-Plus

Syntax highlighting extension for phpBB
GNU General Public License v2.0
12 stars 11 forks source link

Not work for me #12

Open flavioafa opened 8 years ago

flavioafa commented 8 years ago

Hello!

I have phpbb 3.1.8 and the extension not work for me. The extension is installed and the settings is appear inc ACP, any suggestions? Thanks! :D

o0johntam0o commented 8 years ago

At first, please make sure that you have this in the ACP: Enable syntax highlighting >> Yes Then, describe more about your problem.

flavioafa commented 8 years ago

Hello, thank you for your attention! I'm using the 3.1.8 version. And below is the extension of your display configuration.

new

o0johntam0o commented 8 years ago

Hi flavioafa, does the codebox (with "Select all", "Expand/Collapse",...) appear in posts, or just a plain text?

flavioafa commented 8 years ago

Hello! It appears as plain text. The following screen with a message illustrating the problem.

Thanks for listening!

test

o0johntam0o commented 8 years ago

Hi flavioafa, please goto ACP -> Posts -> BBCodes, then tell me if the bbcode "Codebox=" exists.

flavioafa commented 8 years ago

Hi.

No, this option does not exist.

Thanks!

o0johntam0o commented 8 years ago

Ok flavioafa, please follow the instructions below:

  1. Disable Codebox Plus
  2. Delete Codebox Plus's data
  3. Pure the phpBB's cache
  4. Enable Codebox Plus
flavioafa commented 8 years ago

Hi, error on enable.

General Error SQL ERROR [ mssqlnative ]

SQLSTATE: 42S22 code: 207 message: [Microsoft][ODBC Driver 11 for SQL Server][SQL Server]Invalid column name 'codebox='. [207]

SQL

DELETE FROM phpbb_bbcodes WHERE LOWER(bbcode_tag) = "codebox="

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]/ext/o0johntam0o/codeboxplus/migrations/v200.php LINE: 55 CALL: phpbb\db\driver\factory->sql_query()

FILE: (not given by php) LINE: (not given by php) CALL: o0johntam0o\codeboxplus\migrations\v200->install_bbcode_codebox()

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: 322 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]/phpbb/extension/manager.php LINE: 187 CALL: phpbb\extension\base->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()