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

problem wit dev mode | Forum

Jordi
Jordi Jan 7 '15
Hello i am just start building a site.


i have the following problem my:


-my side runs ok

-when i edit to dev mode an adit some icons en put it back in dev false mode the site crash. 

-i did a debug:


Message:Syntax Error in template "/home/theoth1q/public_html/ow_system_plugins/base/views/components/sign_in.html" on line 8 "{form name='sign-in'}" - Unexpected "&"File:/home/theoth1q/public_html/ow_libraries/smarty3/sysplugins/smarty_internal_templatecompilerbase.phpLine:657Trace:#0 /home/theoth1q/public_html/ow_libraries/smarty3/sysplugins/smarty_internal_templateparser.php(3144): Smarty_Internal_TemplateCompilerBase->trigger_template_error() #1 /home/theoth1q/public_html/ow_libraries/smarty3/sysplugins/smarty_internal_templateparser.php(3209): Smarty_Internal_Templateparser->yy_syntax_error(42, '&') #2 /home/theoth1q/public_html/ow_libraries/smarty3/sysplugins/smarty_internal_smartytemplatecompiler.php(105): Smarty_Internal_Templateparser->doParse(42, '&') #3 /home/theoth1q/public_html/ow_libraries/smarty3/sysplugins/smarty_internal_templatecompilerbase.php(192): Smarty_Internal_SmartyTemplateCompiler->doCompile('\n\n\t...') #4 /home/theoth1q/public_html/ow_libraries/smarty3/sysplugins/smarty_internal_template.php(187): Smarty_Internal_TemplateCompilerBase->compileTemplate(Object(Smarty_Internal_Template)) #5 /home/theoth1q/public_html/ow_libraries/smarty3/sysplugins/smarty_internal_templatebase.php(155): Smarty_Internal_Template->compileTemplateSource() #6 /home/theoth1q/public_html/ow_core/view_renderer.php(101): Smarty_Internal_TemplateBase->fetch('/home/theoth1q/...') #7 /home/theoth1q/public_html/ow_core/renderable.php(271): OW_ViewRenderer->renderTemplate('/home/theoth1q/...') #8 /home/theoth1q/public_html/ow_core/component.php(80): OW_Renderable->render() #9 /home/theoth1q/public_html/ow_core/renderable.php(258): OW_Component->render() #10 /home/theoth1q/public_html/ow_core/request_handler.php(274): OW_Renderable->render() #11 /home/theoth1q/public_html/ow_core/application.php(329): OW_RequestHandler->dispatch() #12 /home/theoth1q/public_html/index.php(73): OW_Application->handleRequest() #13 {main}Type:SmartyCompilerException


This is the info the debug mode gives me.

how can i fix this? 

i want to edit the theme the right way and not only in the static maps.


Who can help me?


thanks!


Jor


Jordi
Jordi Jan 7 '15

This is how the sign in HTML looks like ( because de debug is pointing to this file )


<html><head><meta content="text/html; charset=utf-8" http-equiv="Content-Type" /><title></title></head><body><div class="ow_sign_in_wrap"><h2>{$siteName}</h2>{form name=&#39;sign-in&#39;}
<div class="clearfix"><div class="ow_sign_in">{block_decorator name=&#39;box&#39; langLabel=&#39;base+base_sign_in_cap_label&#39;}<div class="ow_user_name">{input name=&#39;identity&#39;}</div>
<div class="ow_password">{input name=&#39;password&#39;}</div>
<div class="ow_form_options clearfix"><div class="ow_right">{submit name=&#39;submit&#39; class=&#39;ow_positive&#39;}</div>
<p class="ow_remember_me">{input name=&#39;remember&#39;}{label name=&#39;remember&#39;}</p>
<p class="ow_forgot_pass"><a href="{url_for_route for='base_forgot_password'}">{text key=&#39;base+forgot_password_label&#39;}</a></p></div>{/block_decorator}
<div class="ow_connect_buttons">{component class=&#39;BASE_CMP_SignInButtonList&#39;}</div></div>
<div class="ow_sign_up"><p>{text key=&#39;base+base_sign_in_txt&#39;}</p>
<hr /><p>{*text key=&#39;base+base_sign_in_or_label&#39;*} <a href="{$joinUrl}">{text key=&#39;base+join_submit_button_join&#39;}</a></p></div></div>{/form}</div></body></html>

Jordi
Jordi Jan 7 '15
nobody?
ross Team
ross Jan 7 '15
Please revert the changes you did and elaborate what icons you want to edit? Explain what you're trying to achieve.