Code: Select all
INSERT INTO phpbb_config (config_name, config_value) VALUES ('reimg_max_width', '640'), ('reimg_max_height', '480'), ('reimg_rel_width', '0'), ('reimg_swap_portrait', '1'), ('reimg_zoom', '_litebox');
Any ideas on why I'm getting this or what it means? Any help is greatly appreciated! ThanksSQL query:
INSERT INTO phpbb_config( config_name, config_value )
VALUES (
'reimg_max_width', '640'
), (
'reimg_max_height', '480'
), (
'reimg_rel_width', '0'
), (
'reimg_swap_portrait', '1'
), (
'reimg_zoom', '_litebox'
)
MySQL said: Documentation
#1062 - Duplicate entry 'reimg_max_width' for key 1
That means the tables are already theresugarie wrote:Hi there,
I am trying to install this mod http://www.phpbb.com/community/viewtopi ... 5&start=15 (ReIMG Image Resizer) and it requires that I input this code into sql.However, after logging into phpmyadmin, and inputting the code into the SQL tab of my php database I get this error:Code: Select all
INSERT INTO phpbb_config (config_name, config_value) VALUES ('reimg_max_width', '640'), ('reimg_max_height', '480'), ('reimg_rel_width', '0'), ('reimg_swap_portrait', '1'), ('reimg_zoom', '_litebox');
Any ideas on why I'm getting this or what it means? Any help is greatly appreciated! ThanksSQL query:
INSERT INTO phpbb_config( config_name, config_value )
VALUES (
'reimg_max_width', '640'
), (
'reimg_max_height', '480'
), (
'reimg_rel_width', '0'
), (
'reimg_swap_portrait', '1'
), (
'reimg_zoom', '_litebox'
)
MySQL said: Documentation
#1062 - Duplicate entry 'reimg_max_width' for key 1
I believe it could have been done if you installed the Mod's Admin module and then browsed to the mod control in the ACPsugarie wrote:Strange, why is that? It's my first time ever even going into the phpmyadmin panel. Ah, well. Thanks for your help.
Glad it helped. phpMyAdmin hasn't changed too much since I wrote this, so the info is still validwork wrote:Looks like you wrote this a few years ago... but it still works! Thank you for the help. I finally got my new mod working.