Hi Alex,
at line 21 you use: SHOW TABLES FROM db_name in order to retrieve bbPress tables. This is a wrong approach cause you assume that in the database there are only bbPress tables which is not guaranteed.
You should only backup the tables with the bbPress prefix. Check the $bb_table_prefix
global variable.
Hi Alex,
at line 21 you use: SHOW TABLES FROM db_name in order to retrieve bbPress tables. This is a wrong approach cause you assume that in the database there are only bbPress tables which is not guaranteed.
You should only backup the tables with the bbPress prefix. Check the $bb_table_prefix
global variable.
Thanks for replying!, I left it like that because I thought of people with multiple installs in one db and the prefixes were different.
Thanks for replying!, I left it like that because I thought of people with multiple installs in one db and the prefixes were different.