Warning: The author of this contribution does not provide support for it anymore.

Latest Topic Title

Frequently Asked Questions

AutoMOD says "Duplicate entry ..."

If you have that problem with AutoMOD :

SQL Queries
Error:Duplicate entry 'ltt_max_chars' for key 1
INSERT INTO bb_config (config_name, config_value) VALUES ('ltt_max_chars', '25') Error:Duplicate entry 'ltt_url' for key 1
INSERT INTO bb_config (config_name, config_value) VALUES ('ltt_url', '0')

You will have to do the following modification.

Open the install.xml file, and find that line :

Code: Select all

      <sql dbms="mysql"><![CDATA[INSERT INTO phpbb_config (config_name, config_value) VALUES ('ltt_max_chars', '25');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('ltt_url', '0');]]></sql>

Replace it by this one :

Code: Select all

        <sql dbms="mysql"><![CDATA[DELETE FROM phpbb_config WHERE config_name = 'ltt_max_chars';
DELETE FROM phpbb_config WHERE config_name = 'ltt_url';

INSERT INTO phpbb_config (config_name, config_value) VALUES ('ltt_max_chars', '25');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('ltt_url', '0');]]></sql>

Reupload your edited file after, and relaunch AutoMOD.