Χθες (
![Surprised :o](./images/smilies/icon_e_surprised.gif)
Όπως έχω πει, πριν κάνω οτιδήποτε στο online, το δοκιμάζω πρώτα τοπικά (xampp).
Στην αναβάθμιση του Board Rules μου έβγαλε "Γενικό Σφάλμα"
Κώδικας: Επιλογή όλων
Γενικό σφάλμα
SQL ERROR [ mysql4 ]
Truncated incorrect DOUBLE value: 'el' [1292]
SQL
UPDATE phpbb_boardrules SET rule_language = 'en' WHERE rule_language = 1
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/mysql.php
LINE: 191
CALL: phpbb\db\driver\driver->sql_error()
FILE: [ROOT]/phpbb/db/driver/factory.php
LINE: 329
CALL: phpbb\db\driver\mysql->sql_query()
FILE: [ROOT]/ext/phpbb/boardrules/migrations/helper.php
LINE: 70
CALL: phpbb\db\driver\factory->sql_query()
FILE: [ROOT]/ext/phpbb/boardrules/migrations/v20x/m15_update_lang_schema.php
LINE: 85
CALL: phpbb\boardrules\migrations\helper->change_rule_language()
FILE: (not given by php)
LINE: (not given by php)
CALL: phpbb\boardrules\migrations\v20x\m15_update_lang_schema->change_rule_language()
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: 436
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]/ext/phpbb/boardrules/ext.php
LINE: 69
CALL: phpbb\extension\base->enable_step()
FILE: [ROOT]/phpbb/extension/manager.php
LINE: 185
CALL: phpbb\boardrules\ext->enable_step()
FILE: [ROOT]/includes/acp/acp_extensions.php
LINE: 197
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()
Στο αρχείο boardrules/migrations/helper.php
βρίσκουμε το
Κώδικας: Επιλογή όλων
WHERE $old_column = " . (int) $row['lang_id'];
Κώδικας: Επιλογή όλων
WHERE $old_column = '" . (string) $row['lang_id'] . "'";