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

Smarty Exception: unable to write file | Forum

Jose Sanchez del Valle
Hi.


I have the following error when trying to access to the /index of the website.


The other areas of the web (Photos, videos, profile...) works well.


Can you have a look? Thanks :)


Message:unable to write file /home/tandasco/public_html/ow_smarty/template_c/wrt52e920e6c65858.79975042File:/home/tandasco/public_html/ow_libraries/smarty3/sysplugins/smarty_internal_write_file.phpLine:44Trace:#0 /home/tandasco/public_html/ow_libraries/smarty3/sysplugins/smarty_internal_template.php(201): Smarty_Internal_Write_File::writeFile('/home/tandasco/...', 'compileTemplateSource() #2 /home/tandasco/public_html/ow_core/view_renderer.php(101): Smarty_Internal_TemplateBase->fetch('/home/tandasco/...') #3 /home/tandasco/public_html/ow_core/renderable.php(263): OW_ViewRenderer->renderTemplate('/home/tandasco/...') #4 /home/tandasco/public_html/ow_core/component.php(80): OW_Renderable->render() #5 /home/tandasco/public_html/ow_core/renderable.php(250): OW_Component->render() #6 /home/tandasco/public_html/ow_core/component.php(80): OW_Renderable->render() #7 /home/tandasco/public_html/ow_plugins/newsfeed/components/feed.php(270): OW_Component->render() #8 /home/tandasco/public_html/ow_core/renderable.php(250): NEWSFEED_CMP_Feed->render() #9 /home/tandasco/public_html/ow_core/component.php(80): OW_Renderable->render() #10 /home/tandasco/public_html/ow_core/renderable.php(250): OW_Component->render() #11 /home/tandasco/public_html/ow_core/component.php(80): OW_Renderable->render() #12 /home/tandasco/public_html/ow_system_plugins/base/components/drag_and_drop_item.php(331): OW_Component->render() #13 /home/tandasco/public_html/ow_system_plugins/base/components/drag_and_drop_item.php(316): BASE_CMP_DragAndDropItem->render() #14 /home/tandasco/public_html/ow_system_plugins/base/components/drag_and_drop_index.php(111): BASE_CMP_DragAndDropItem->renderView() #15 /home/tandasco/public_html/ow_smarty/template_c/254ff2e5f69bfbb9d47f3c90f2298b4a166f21ae.file.drag_and_drop_index.html.php(123): BASE_CMP_DragAndDropIndex->tplComponent(Array, Object(Smarty_Internal_Template)) #16 /home/tandasco/public_html/ow_libraries/smarty3/sysplugins/smarty_internal_templatebase.php(180): content_52e920e6450978_20286859(Object(Smarty_Internal_Template)) #17 /home/tandasco/public_html/ow_core/view_renderer.php(101): Smarty_Internal_TemplateBase->fetch('/home/tandasco/...') #18 /home/tandasco/public_html/ow_core/renderable.php(263): OW_ViewRenderer->renderTemplate('/home/tandasco/...') #19 /home/tandasco/public_html/ow_core/component.php(80): OW_Renderable->render() #20 /home/tandasco/public_html/ow_core/renderable.php(250): OW_Component->render() #21 /home/tandasco/public_html/ow_system_plugins/base/controllers/component_panel.php(56): OW_Renderable->render() #22 /home/tandasco/public_html/ow_core/request_handler.php(274): BASE_CTRL_ComponentPanel->render() #23 /home/tandasco/public_html/ow_core/application.php(330): OW_RequestHandler->dispatch() #24 /home/tandasco/public_html/index.php(65): OW_Application->handleRequest() #25 {main}Type:SmartyException




Jose Sanchez del Valle
One more thing... When I disable Newsfeed plugin it "works" fine... so I think there's some bug on the new newsfeed for 1.6 Oxwall...


And then, when I clic on "customize this page" button, it crashes again, giving this error:


OW Debug - ExceptionMessage:unable to write file /home/tandasco/public_html/ow_smarty/template_c/wrt52e9266abbd920.62939733File:/home/tandasco/public_html/ow_libraries/smarty3/sysplugins/smarty_internal_write_file.phpLine:44Trace:#0 /home/tandasco/public_html/ow_libraries/smarty3/sysplugins/smarty_internal_template.php(201): Smarty_Internal_Write_File::writeFile('/home/tandasco/...', 'compileTemplateSource() #2 /home/tandasco/public_html/ow_core/view_renderer.php(101): Smarty_Internal_TemplateBase->fetch('/home/tandasco/...') #3 /home/tandasco/public_html/ow_core/renderable.php(263): OW_ViewRenderer->renderTemplate('/home/tandasco/...') #4 /home/tandasco/public_html/ow_core/component.php(80): OW_Renderable->render() #5 /home/tandasco/public_html/ow_system_plugins/base/components/console_dropdown_list.php(57): OW_Component->render() #6 /home/tandasco/public_html/ow_core/renderable.php(227): BASE_CMP_ConsoleDropdownList->onBeforeRender() #7 /home/tandasco/public_html/ow_system_plugins/base/components/console_dropdown.php(61): OW_Renderable->render() #8 /home/tandasco/public_html/ow_system_plugins/base/components/console.php(86): BASE_CMP_ConsoleDropdown->render() #9 /home/tandasco/public_html/ow_core/renderable.php(227): BASE_CMP_Console->onBeforeRender() #10 /home/tandasco/public_html/ow_core/component.php(80): OW_Renderable->render() #11 /home/tandasco/public_html/ow_smarty/plugin/function.component.php(45): OW_Component->render() #12 /home/tandasco/public_html/ow_smarty/template_c/215a1f47ca52a3a2f351e9dc33aa8b60e6af33d8.file.dndindex.html.php(36): smarty_function_component(Array, Object(Smarty_Internal_Template)) #13 /home/tandasco/public_html/ow_libraries/smarty3/sysplugins/smarty_internal_templatebase.php(180): content_52e9266ab50ab7_96614214(Object(Smarty_Internal_Template)) #14 /home/tandasco/public_html/ow_core/view_renderer.php(101): Smarty_Internal_TemplateBase->fetch('/home/tandasco/...') #15 /home/tandasco/public_html/ow_core/renderable.php(263): OW_ViewRenderer->renderTemplate('/home/tandasco/...') #16 /home/tandasco/public_html/ow_core/html_document.php(606): OW_Renderable->render() #17 /home/tandasco/public_html/ow_core/response.php(181): OW_HtmlDocument->render() #18 /home/tandasco/public_html/ow_core/application.php(442): OW_Response->respond() #19 /home/tandasco/public_html/index.php(83): OW_Application->returnResponse() #20 {main}Type:SmartyException

The Forum post is edited by Jose Sanchez del Valle Jan 29 '14
ross Team
ross Jan 30 '14
Make sure you have 'template_c' folder in the /home/tandasco/public_html/ow_smarty/ directory and set folder permissions to 777.
Jose Sanchez del Valle
Yes, this is set up correctly.


Today I updated the plug-in Newsfeed to the latest version and it crashed all the site...

ross Team
ross Feb 3 '14
Jose, 

have you made any changes to the code? Also the plugin could be updated incorrectly. Please go to ow_includes/config.php and change this line:  define('OW_DEV_MODE', true); to

 define('OW_DEV_MODE', 63); this way you'll clear all smarty cache. Please PM me your admin and cpanel access details if that doesn't help.