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

ERROR MESSAGE : Internal Server Error | Forum

Lucas
Lucas Mar 15 '15

Hi there,

Since two days, we got this error message, please i need an urgent help.


OW Debug - Exception


Message: SQLSTATE[HY000]: General error: 2013 Lost connection to MySQL server during query


File: /../../ow_core/database.php


Line: 707


Trace:


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


#1 /../../ow_core/database.php(305): OW_Database->execute('SELECT * FROM o...', Array)


#2 /../../ow_core/base_dao.php(114): OW_Database->queryForObject('SELECT * FROM o...', 'BOL_Theme', Array, 86400, Array)


#3 /../../ow_system_plugins/base/bol/theme_dao.php(112): OW_BaseDao->findObjectByExample(Object(OW_Example), 86400, Array)


#4 /../../ow_system_plugins/base/bol/theme_service.php(459): BOL_ThemeDao->findByName('origin')


#5 /../../ow_core/theme_manager.php(86): BOL_ThemeService->getThemeObjectByName('origin', false)


#6 /../../ow_core/application.php(160): OW_ThemeManager->initDefaultTheme()


#7 /../../index.php(52): OW_Application->init()


#8 {main}



Type: PDOException


thanks in advance, lucas

The Forum post is edited by Lucas Mar 15 '15
ross Team
ross Mar 16 '15
Lucas, try to increase interactive_timeout' in my.cnf  file. Or contact your hosting provider support team to assist you with that. 

Then try to reproduce the steps before this issue occurred and check if the issue persists. 

Lucas
Lucas Mar 16 '15
Ho Ross, where I can find this file my.cnf???


This is what my provider answered me ::

__________________________________________________


Please be informed that the error message that we provided was taken/seen in the error_logs of the domain, when the website is/was showing an internal server error, the error message appears in the error_logs.Refer below for the error:+++++++++++++++++++++++++++++++++++++++[13-Mar-2015 16:11:44 Europe/Rome] PHP Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting ')' in /home/../ow_pluginfiles/base/lang_6.php on line 4581

[14-Mar-2015 10:37:17 Europe/Rome] PHP Fatal error: Call to undefined method OW_HtmlDocument::getScripts() in /home/../ow_system_plugins/base/controllers/console.php on line 21
++++++++++++++++++++++++++++++++++++++
The error indicates that there is an issue with the said script that is shown above and that is causing the internal server error.Kindly double check the script.
Also we have already checked the server and there are no issues with the network nor with the server.


___________________________



PLEASE NEED HELP. THANKS LUCAS

ross Team
ross Mar 16 '15
Contact your hosting provider to locate your my.cnf file on the server or check the search results: https://www.google.com/?gws_rd=ssl#q=where+to+find+my.cnf+file


as to this error: PHP Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting ')' in /home/../ow_pluginfiles/base/lang_6.php


check the search results on the forum: http://www.oxwall.org/forum/section/2/search?&q=unexpected%20T_ENCAPSED_AND_WHITESPACE


please do the search before posting anything on the forum


As to this error: PHP Fatal error: Call to undefined method OW_HtmlDocument::getScripts() in /home/../ow_system_plugins/base/controllers/console.php on line 21

Do you have cloudflare enabled on your website?

Lucas
Lucas Mar 16 '15
Hi ross, Thank you for your fast reply.


I have read all your answers regarding the first error  and I have checked the error (T_ENCAPSED_AND_WHITESPACE..) every thing seems good on my file (lang_6.php)  the file is not corrupted or missing (') ,..etc.  
On our website, yes the cloudflare is enabled automatically within the hosting but I did not installed any plugin related to cloudflare. 

ross Team
ross Mar 16 '15
Lucas, please provide the screenshot of the end of the file lang_6.php. 

As to the cloudflare within your hosting - is it possible to disable it for your server specifically for some time and check if this issue:


As to this error: PHP Fatal error: Call to undefined method OW_HtmlDocument::getScripts() in /home/../ow_system_plugins/base/controllers/console.php on line 21


persists

Lucas
Lucas Mar 17 '15
Hi ross again thank you for your fast reply. i attached the end of my file lang_6.php

regarding the cloudflare i will ask my provider to disable it and after i tell you.


thanks ross for your reply.

The Forum post is edited by Lucas Mar 17 '15
Attachments:
  the end.jpg (8Kb)
ross Team
ross Mar 18 '15
Lucas, do you have dev mode enabled on your website in the meantime?

make sure you have not reached your server limits?

Keep us updated.