dikiy221 Posted October 11, 2022 Report Share Posted October 11, 2022 Здравствуйте. Возник такой вопрос. При копировании форумов, появляются новые форумы с такими же названиями + Копия. Возможно вырезать слово копия не вручную? Очень много разделов и форумов). В БД лазил, нашел таблицу forums_forum. Там форумы с названием без слова копия. Quote Link to comment Share on other sites More sharing options...
Desti Posted October 11, 2022 Report Share Posted October 11, 2022 (edited) В таблице forums_forums нет названий форумов, они в core_sys_lang_words. Ключи forums_forum_<forum_ID> Там и редактируйте. Edited October 11, 2022 by Desti Donjuan and dikiy221 1 1 Quote Link to comment Share on other sites More sharing options...
dikiy221 Posted October 11, 2022 Author Report Share Posted October 11, 2022 31 минуту назад, Desti сказал: В таблице forums_forums нет названий форумов, они в core_sys_lang_words. Ключи forums_forum_<forum_ID> Там и редактируйте. Спасибо за информацию. Помогли сэкономили мне много времени):D Donjuan and Desti 2 Quote Link to comment Share on other sites More sharing options...
dikiy221 Posted October 17, 2022 Author Report Share Posted October 17, 2022 (edited) Новая проблемка) При копировании форумов выдает ошибку: К сожалению, у вас нет разрешения на это! 1S111/1 17.10.2022 19:04multiredirectUnderflowException (0) #0 /var/www/u1742521/data/www/сайт/system/Node/Model.php(3092): IPS\Db\_Select->first() #1 /var/www/u1742521/data/www/сайт.ru/applications/forums/sources/Forum/Forum.php(1461): IPS\Node\_Model->__clone() #2 /var/www/u1742521/data/www/сайт.ru/system/Node/Controller.php(848): IPS\forums\_Forum->__clone() #3 /var/www/u1742521/data/www/сайт.ru/system/Helpers/MultipleRedirect/MultipleRedirect.php(93): IPS\Node\_Controller->IPS\Node\{closure}(Array) #4 /var/www/u1742521/data/www/сайт.ru/system/Node/Controller.php(889): IPS\Helpers\_MultipleRedirect->__construct(Object(IPS\Http\Url\Internal), Object(Closure), Object(Closure)) #5 /var/www/u1742521/data/www/сайт.ru/system/Dispatcher/Controller.php(107): IPS\Node\_Controller->copy() #6 /var/www/u1742521/data/www/сайт.ru/system/Node/Controller.php(69): IPS\Dispatcher\_Controller->execute() #7 /var/www/u1742521/data/www/сайт.ru/applications/forums/modules/admin/forums/forums.php(44): IPS\Node\_Controller->execute() #8 /var/www/u1742521/data/www/сайт.ru/system/Dispatcher/Dispatcher.php(153): IPS\forums\modules\admin\forums\_forums->execute() #9 /var/www/u1742521/data/www/сайт.ru/admin/index.php(13): IPS\_Dispatcher->run() #10 {main} Но при этом какую то часть он все таки скопировал.... Edited October 17, 2022 by dikiy221 Quote Link to comment Share on other sites More sharing options...
SlawkA Posted October 17, 2022 Report Share Posted October 17, 2022 ручками все же лучше поработать будет. чем в базу лезть. ИМХО Спойлер Quote Link to comment Share on other sites More sharing options...
dikiy221 Posted October 17, 2022 Author Report Share Posted October 17, 2022 2 минуты назад, SlawkA сказал: ручками все же лучше поработать будет. чем в базу лезть. ИМХО Скрыть контент Очень много категорий и разделов) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.