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

PDOException Error - Internal Server Error 500 | Forum

Dimitri Corberi
Dimitri Corberi Sep 9 '15
Hi All,


I left the site in a usable state last night. I didn't do anything to it and this morning I come down to this error ont he main page...


>Message:         SQLSTATE[HY000]: General error: 1 Can't create/write to file '/run/shm/#sql_6d61_9.MYD' (Errcode: 17)

>File:     /htdocs/public/www/ow_core/database.php

>Line:   707

>Trace:

>#0 /htdocs/public/www/ow_core/database.php(707): PDOStatement->execute()

>#1 /htdocs/public/www/ow_core/database.php(341): OW_Database->execute('SELECT activity...', Array)

>#2 /htdocs/public/www/ow_plugins/newsfeed/bol/activity_dao.php(251): OW_Database->queryForObjectList('SELECT activity...', 'NEWSFEED_BOL_Ac...', Array)

>#3 /htdocs/public/www/ow_plugins/newsfeed/classes/site_driver.php(52): NEWSFEED_BOL_ActivityDao->findSiteFeedActivity(Array)

>#4 /htdocs/public/www/ow_plugins/newsfeed/classes/driver.php(78): NEWSFEED_CLASS_SiteDriver->findActivityList(Array, Array)

>#5 /htdocs/public/www/ow_plugins/newsfeed/components/feed.php(207): NEWSFEED_CLASS_Driver->getActionList()

>#6 /htdocs/public/www/ow_plugins/newsfeed/components/feed.php(248): NEWSFEED_CMP_Feed->getActionsList()

>#7 /htdocs/public/www/ow_core/renderable.php(258): NEWSFEED_CMP_Feed->render()

>#8 /htdocs/public/www/ow_core/component.php(80): OW_Renderable->render()

>#9 /htdocs/public/www/ow_core/renderable.php(258): OW_Component->render()

>#10 /htdocs/public/www/ow_core/component.php(80): OW_Renderable->render()

>#11 /htdocs/public/www/ow_system_plugins/base/components/drag_and_drop_item.php(332): OW_Component->render()

>#12 /htdocs/public/www/ow_system_plugins/base/components/drag_and_drop_item.php(317): BASE_CMP_DragAndDropItem->render()

>#13 /htdocs/public/www/ow_system_plugins/base/components/drag_and_drop_index.php(111): BASE_CMP_DragAndDropItem->renderView()

>#14 /htdocs/public/www/ow_smarty/template_c/3fd37c93456b07412f00eaea32273c2789cfa27f.file.drag_and_drop_index.html.php(123): BASE_CMP_DragAndDropIndex->tplComponent(Array, Object(Smarty_Internal_Template))

>#15 /htdocs/public/www/ow_libraries/smarty3/sysplugins/smarty_internal_templatebase.php(180): content_54c227f40ce4e0_73431290(Object(Smarty_Internal_Template))

>#16 /htdocs/public/www/ow_core/view_renderer.php(101): Smarty_Internal_TemplateBase->fetch('/htdocs/public/...')

>#17 /htdocs/public/www/ow_core/renderable.php(271): OW_ViewRenderer->renderTemplate('/htdocs/public/...')

>#18 /htdocs/public/www/ow_core/component.php(80): OW_Renderable->render()

>#19 /htdocs/public/www/ow_core/renderable.php(258): OW_Component->render()

>#20 /htdocs/public/www/ow_system_plugins/base/controllers/component_panel.php(56): OW_Renderable->render()

>#21 /htdocs/public/www/ow_core/request_handler.php(274): BASE_CTRL_ComponentPanel->render()

>#22 /htdocs/public/www/ow_core/application.php(329): OW_RequestHandler->dispatch()

>#23 /htdocs/public/www/index.php(73): OW_Application->handleRequest()

>#24 {main}

>Type:  PDOException


Could anyone help me with any ideas?

Thx

ross Team
ross Sep 9 '15
Contact your hosting provider and request to check whether you have permissions to write/create in this directory(path) run/shm/#sql_6d61_9.MYD


if you have permissions, try to repair ow_newsfeed_activity table then

Dimitri Corberi
Dimitri Corberi Sep 9 '15
Thanks for the answer, I'm trying to receive permission information from my hosting provider.


I'll keep you posted.