We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

Newsfeed problem (1.7.1) | Forum

MRK
MRK Sep 10 '14
I tried to update oxwall 17 to 1.7.1. All works fine with one exception: there is a problem with the newsfeed (also when all other plugins are disabled). When you enable comments in the newsfeed, the error occurs. You need to disable commenting on the board, then the page works. 
The Forum post is edited by MRK Sep 10 '14
ross Team
ross Sep 10 '14
Please provide a screenshot
MRK
MRK Sep 23 '14

OW Debug - Exception

Message:

Syntax Error in template "/var/www//ow_system_plugins/base/views/components/comments_list.html" on line 22 "{$comment.content|more:$comment.previewMaxChar}" unknown modifier "more"

File:

/var/www//ow_libraries/smarty3/sysplugins/smarty_internal_templatecompilerbase.php

Line:

657

Trace:

#0 /var/www//ow_libraries/smarty3/sysplugins/smarty_internal_compile_private_modifier.php(132): Smarty_Internal_TemplateCompilerBase->trigger_template_error('unknown modifie...', 22)

#1 /var/www//ow_libraries/smarty3/sysplugins/smarty_internal_templatecompilerbase.php(475): Smarty_Internal_Compile_Private_Modifier->compile(Array, Object(Smarty_Internal_SmartyTemplateCompiler), Array, NULL, NULL)

#2 /var/www//ow_libraries/smarty3/sysplugins/smarty_internal_templatecompilerbase.php(249): Smarty_Internal_TemplateCompilerBase->callTagCompiler('private_modifie...', Array, Array)

#3 /var/www//ow_libraries/smarty3/sysplugins/smarty_internal_compile_private_print_expression.php(65): Smarty_Internal_TemplateCompilerBase->compileTag('private_modifie...', Array, Array)

#4 /var/www//ow_libraries/smarty3/sysplugins/smarty_internal_templatecompilerbase.php(465): Smarty_Internal_Compile_Private_Print_Expression->compile(Array, Object(Smarty_Internal_SmartyTemplateCompiler), Array, NULL, NULL)

#5 /var/www//ow_libraries/smarty3/sysplugins/smarty_internal_templatecompilerbase.php(249): Smarty_Internal_TemplateCompilerBase->callTagCompiler('private_print_e...', Array, Array)

#6 /var/www//ow_libraries/smarty3/sysplugins/smarty_internal_templateparser.php(2358): Smarty_Internal_TemplateCompilerBase->compileTag('private_print_e...', Array, Array)

#7 /var/www//ow_libraries/smarty3/sysplugins/smarty_internal_templateparser.php(3101): Smarty_Internal_Templateparser->yy_r28()

#8 /var/www//ow_libraries/smarty3/sysplugins/smarty_internal_templateparser.php(3201): Smarty_Internal_Templateparser->yy_reduce(28)

#9 /var/www//ow_libraries/smarty3/sysplugins/smarty_internal_smartytemplatecompiler.php(105): Smarty_Internal_Templateparser->doParse(10, '\r\n\n            ...')

#10 /var/www//ow_libraries/smarty3/sysplugins/smarty_internal_templatecompilerbase.php(192): Smarty_Internal_SmartyTemplateCompiler->doCompile('

Type:

MRK
MRK Sep 23 '14
I've edited ow_system_plugins/base/views/components/comments_list.html


And replacedL


                    {if !empty($comment.previewMaxChar)}                    {$comment.content|more:$comment.previewMaxChar}                    {else}                    {$comment.content}                    {/if}


to


                    {if !empty($comment.previewMaxChar)}                    {$comment.content}                    {else}                    {$comment.content}                    {/if}


Now works.

ross Team
ross Sep 24 '14
this is not right, MRK, please PM me your admin and FTP access details, I'll take a look at the issue. Thanks. 
ross Team
ross Sep 29 '14
your plugins are not updated, please update your plugins to work properly.