With the extension uninstalled the problem does not happenBruninoit wrote:So, try to disable the extension and lock a Topic and see if the problem continues.
Hello!Bruninoit wrote:Ok, please try this: enable extension, go to a topic and click with right part of mouse->open new tab the lock topic link, so click yes and report exactly what happened.
Thanks.
Fatal error: Cannot pass parameter 4 by reference in C:\webserv\htdocs\comunidade\ext\bruninoit\pwl\event\pwl.php on line 86
Very thanks for the test. I've uploaded an old package. Now it works.SalazarAG wrote: I clicked new tab and the following appears:
Fatal error: Cannot pass parameter 4 by reference in C:\webserv\htdocs\comunidade\ext\bruninoit\pwl\event\pwl.php on line 86
Perfect, it is working very well! Congratulations for the great work!Bruninoit wrote:Very thanks for the test. I've uploaded an old package. Now it works.SalazarAG wrote: I clicked new tab and the following appears:
Fatal error: Cannot pass parameter 4 by reference in C:\webserv\htdocs\comunidade\ext\bruninoit\pwl\event\pwl.php on line 86
Thanks.
Code: Select all
Erro Geral
SQL ERROR [ mysqli ]
Data too long for column 'config_value' at row 1 [1406]
SQL
UPDATE phpbb_config SET config_value = '[b][color=#FF0040][size=150]Alerta: este tópico está sendo trancado e dentro de instantes será removido[/size]![/color][/b]\n\n[b][size=120]Atenção às seguintes possíveis razões que implicaram no fechamento de seu tópico, abaixo:[/size][/b]\n[size=100]- Título ou conteúdo em caixa alta\n- Conteúdo repetido ou reciclado\n- Tópico destinado a off topics, conversas informais\n- Conteúdo fake ou enganoso\n- Spoiler no título do tópico ou no corpo do mesmo sem o BBcode adequado\n- Ausência da fonte de onde tal conteúdo foi extraído\n- Fonte externa não aprovada pela equipe (sites com baixa reputação em nossa comunidade e etc.)\n- Flood excessivo dos membros (entende-se por vários posts feitos por um mesmo membro, assuntos totalmente desconexos e etc.)\n- A dúvida do autor do tópico foi esclarecida\n- O problema relatado já foi resolvido\n- Conteúdo sexual explícito ou ofensivo;[/size]\n[size=100][align=justify][b]Esses são os motivos genéricos, mais comuns para um tópico ser fechado. No entanto, um moderador tem total liberdade para julgar outros casos na necessidade do tópico ser fechado. Se você acha que seu tópico não infringe nenhuma das nossas regras e o moderador pode ter se equivocado, entre em contato com o mesmo, ou qualquer outro membro da equipe no fórum [url=http://localhost/comunidade/viewforum.php?f=19]Dúvidas, Críticas ou Sugestões[/url] ou enviando mensagem privada individual; [url=http://localhost/comunidade/memberlist.php?mode=team]veja aqui a lista dos membros que compõem a equipe do Today[/url][/b][/align].[/size]\n\nEsta mensagem é automática...' WHERE config_name = 'pwl_text'
BACKTRACE
FILE: (not given by php)
LINE: (not given by php)
CALL: msg_handler()
FILE: [ROOT]/phpbb/db/driver/driver.php
LINE: 852
CALL: trigger_error()
FILE: [ROOT]/phpbb/db/driver/mysqli.php
LINE: 193
CALL: phpbb\db\driver\driver->sql_error()
FILE: [ROOT]/phpbb/db/driver/factory.php
LINE: 329
CALL: phpbb\db\driver\mysqli->sql_query()
FILE: [ROOT]/phpbb/config/db.php
LINE: 148
CALL: phpbb\db\driver\factory->sql_query()
FILE: [ROOT]/phpbb/config/db.php
LINE: 122
CALL: phpbb\config\db->set_atomic()
FILE: [ROOT]/ext/bruninoit/pwl/acp/main_module.php
LINE: 27
CALL: phpbb\config\db->set()
FILE: [ROOT]/includes/functions_module.php
LINE: 674
CALL: bruninoit\pwl\acp\main_module->main()
FILE: [ROOT]/adm/index.php
LINE: 81
CALL: p_master->load_active()
There is another ext for moving a Topic when is locked.SalazarAG wrote: Tip: the option to choose which forum the message will appear after locking
Yes I know.Bruninoit wrote:There is another ext for moving a Topic when is locked.SalazarAG wrote: Tip: the option to choose which forum the message will appear after locking
It was really confusing.Bruninoit wrote:I don't think I understand... A moderator lock a Topic and so he's redirected to the topic locked natively!
It isn't simple... It requires some edits. I'll update it soon.SalazarAG wrote: About the size of text, how should I do to get a long message in ACP without giving SQL error?