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

Very Buggy | Forum

ken baldwin
ken baldwin Aug 1 '17
Tried updating the site including the plugins but get many bugs particularly when refreshing any of the pages from the admin side.

Here is some of the error messages :

Message: unable to write file /home/tanktransporter/public_html/membership/ow_smarty/template_c/d94f156671044ac5a6f7f86a9b07fb99648787a3_0.file.comments.html.php File: /home/tanktransporter/public_html/membership/ow_libraries/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_writefile.php Line: 79 Trace: #0 /home/tanktransporter/public_html/membership/ow_libraries/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(267): Smarty_Internal_Runtime_WriteFile->writeFile('/home/tanktrans...', 'write(Object(Smarty_Internal_Template), 'compileTemplateSource(Object(Smarty_Internal_Template)) #3 /home/tanktransporter/public_html/membership/ow_libraries/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(193): Smarty_Template_Compiled->process(Object(Smarty_Internal_Template)) #4 /home/tanktransporter/public_html/membership/ow_libraries/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(159): Smarty_Template_Compiled->render(Object(Smarty_Internal_Template)) #5 /home/tanktransporter/public_html/membership/ow_libraries/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(191): Smarty_Internal_Template->render(false, 0) #6 /home/tanktransporter/public_html/membership/ow_libraries/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(94): Smarty_Internal_TemplateBase->_execute(Object(Smarty_Internal_Template), NULL, NULL, NULL, 0) #7 /home/tanktransporter/public_html/membership/ow_core/view_renderer.php(80): Smarty_Internal_TemplateBase->fetch('/home/tanktrans...') #8 /home/tanktransporter/public_html/membership/ow_core/view.php(187): OW_ViewRenderer->renderTemplate('/home/tanktrans...') #9 /home/tanktransporter/public_html/membership/ow_core/component.php(80): OW_View->render() #10 /home/tanktransporter/public_html/membership/ow_plugins/newsfeed/components/feed_item.php(621): OW_Component->render() #11 /home/tanktransporter/public_html/membership/ow_plugins/newsfeed/components/feed_item.php(709): NEWSFEED_CMP_FeedItem->getFeatures(Array) #12 /home/tanktransporter/public_html/membership/ow_plugins/newsfeed/components/feed_item.php(717): NEWSFEED_CMP_FeedItem->getTplData(Array) #13 /home/tanktransporter/public_html/membership/ow_plugins/newsfeed/components/feed_list.php(131): NEWSFEED_CMP_FeedItem->renderMarkup(Array) #14 /home/tanktransporter/public_html/membership/ow_smarty/template_c/102ebc2b6c60503df78b38f80cea1eefb41d45a9_0.file.feed_list.html.php(46): NEWSFEED_CMP_FeedList->tplRenderItem(Array, Object(Smarty_Internal_Template)) #15 /home/tanktransporter/public_html/membership/ow_libraries/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(122): content_5980c1c2a07b66_23482351(Object(Smarty_Internal_Template)) #16 /home/tanktransporter/public_html/membership/ow_libraries/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(199): Smarty_Template_Resource_Base->getRenderedTemplateCode(Object(Smarty_Internal_Template)) #17 /home/tanktransporter/public_html/membership/ow_libraries/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(159): Smarty_Template_Compiled->render(Object(Smarty_Internal_Template)) #18 /home/tanktransporter/public_html/membership/ow_libraries/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(191): Smarty_Internal_Template->render(false, 0) #19 /home/tanktransporter/public_html/membership/ow_libraries/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(94): Smarty_Internal_TemplateBase->_execute(Object(Smarty_Internal_Template), NULL, NULL, NULL, 0) #20 /home/tanktransporter/public_html/membership/ow_core/view_renderer.php(80): Smarty_Internal_TemplateBase->fetch('/home/tanktrans...') #21 /home/tanktransporter/public_html/membership/ow_core/view.php(187): OW_ViewRenderer->renderTemplate('/home/tanktrans...') #22 /home/tanktransporter/public_html/membership/ow_core/component.php(80): OW_View->render() #23 /home/tanktransporter/public_html/membership/ow_plugins/newsfeed/components/feed_list.php(145): OW_Component->render() #24 /home/tanktransporter/public_html/membership/ow_plugins/newsfeed/components/feed.php(258): NEWSFEED_CMP_FeedList->render() #25 /home/tanktransporter/public_html/membership/ow_core/renderable.php(124): NEWSFEED_CMP_Feed->render() #26 /home/tanktransporter/public_html/membership/ow_core/view.php(183): OW_Renderable->onRender() #27 /home/tanktransporter/public_html/membership/ow_core/component.php(80): OW_View->render() #28 /home/tanktransporter/public_html/membership/ow_core/renderable.php(124): OW_Component->render() #29 /home/tanktransporter/public_html/membership/ow_core/view.php(183): OW_Renderable->onRender() #30 /home/tanktransporter/public_html/membership/ow_core/component.php(80): OW_View->render() #31 /home/tanktransporter/public_html/membership/ow_system_plugins/base/components/drag_and_drop_item.php(332): OW_Component->render() #32 /home/tanktransporter/public_html/membership/ow_system_plugins/base/components/drag_and_drop_item.php(317): BASE_CMP_DragAndDropItem->render() #33 /home/tanktransporter/public_html/membership/ow_system_plugins/base/components/drag_and_drop_frontend_panel.php(110): BASE_CMP_DragAndDropItem->renderView() #34 /home/tanktransporter/public_html/membership/ow_smarty/template_c/33c3c78161e2eb37055bf13c444added07d767e6_0.file.drag_and_drop_entity_panel.html.php(143): BASE_CMP_DragAndDropFrontendPanel->tplComponent(Array, Object(Smarty_Internal_Template)) #35 /home/tanktransporter/public_html/membership/ow_libraries/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(122): content_5980c1c2037b91_78100709(Object(Smarty_Internal_Template)) #36 /home/tanktransporter/public_html/membership/ow_libraries/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(199): Smarty_Template_Resource_Base->getRenderedTemplateCode(Object(Smarty_Internal_Template)) #37 /home/tanktransporter/public_html/membership/ow_libraries/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(159): Smarty_Template_Compiled->render(Object(Smarty_Internal_Template)) #38 /home/tanktransporter/public_html/membership/ow_libraries/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(191): Smarty_Internal_Template->render(false, 0) #39 /home/tanktransporter/public_html/membership/ow_libraries/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(94): Smarty_Internal_TemplateBase->_execute(Object(Smarty_Internal_Template), NULL, NULL, NULL, 0) #40 /home/tanktransporter/public_html/membership/ow_core/view_renderer.php(80): Smarty_Internal_TemplateBase->fetch('/home/tanktrans...') #41 /home/tanktransporter/public_html/membership/ow_core/view.php(187): OW_ViewRenderer->renderTemplate('/home/tanktrans...') #42 /home/tanktransporter/public_html/membership/ow_core/component.php(80): OW_View->render() #43 /home/tanktransporter/public_html/membership/ow_system_plugins/base/controllers/component_panel.php(156): OW_Component->render() #44 /home/tanktransporter/public_html/membership/ow_system_plugins/base/controllers/component_panel.php(327): BASE_CTRL_ComponentPanel->action('profile', '14', false, Array, 'drag_and_drop_e...') #45 [internal function]: BASE_CTRL_ComponentPanel->profile(Array) #46 /home/tanktransporter/public_html/membership/ow_core/request_handler.php(250): ReflectionMethod->invokeArgs(Object(BASE_CTRL_ComponentPanel), Array) #47 /home/tanktransporter/public_html/membership/ow_core/request_handler.php(226): OW_RequestHandler->processControllerAction(Object(ReflectionMethod), Object(BASE_CTRL_ComponentPanel)) #48 /home/tanktransporter/public_html/membership/ow_core/application.php(346): OW_RequestHandler->dispatch() #49 /home/tanktransporter/public_html/membership/index.php(76): OW_Application->handleRequest() #50 {main} Type: SmartyException


Any help much appreciated.
KB

ken baldwin
ken baldwin Aug 1 '17

This is also errors that show up (tho I have shortened the amount):

OW Debug - WarningMessage:copy(/home/tanktransporter/public_html/membership/ow_static/themes/crayon/images/video_bg.png): failed to open stream: No such file or directoryFile:/home/tanktransporter/public_html/membership/ow_utilities/file.phpLine:97

OW Debug - WarningMessage:chmod(): No such file or directoryFile:/home/tanktransporter/public_html/membership/ow_utilities/file.phpLine:98

OW Debug - WarningMessage:copy(/home/tanktransporter/public_html/membership/ow_static/themes/crayon/images/photo_upload_btn_rotate.png): failed to open stream: No such file or directoryFile:/home/tanktransporter/public_html/membership/ow_utilities/file.phpLine:97

OW Debug - WarningMessage:chmod(): No such file or directoryFile:/home/tanktransporter/public_html/membership/ow_utilities/file.phpLine:98

The Forum post is edited by ken baldwin Aug 1 '17
Senior Developer Leader
Senior Developer Aug 1 '17


Hi ken baldwin!


The error is displaying because the cache is being rebuilt on every page load, you have to disable the DEV MODE on ow_includes/config.php


define('OW_DEV_MODE', false);


When this is set to true, the cache is cleared and is rebuild again and again on each page load, your website is being slowed down, you only need to set it to true then reload the website then set it to false again when some developer or plugin instructions tells you to do it. It should be disabled almost all the time unless you are being told otherwise.


I hope it helps.


Thank you.


Senior Developer.



The Forum post is edited by Senior Developer Aug 1 '17
ken baldwin
ken baldwin Aug 2 '17
Think that has solved the problem, thank you very much for getting back to me so soon with an answer, much appreciated.

Kind Regards.
KB

PS. your right about page speed as well - thank you