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 500 | Forum

Bresdel Inc
Bresdel Inc Dec 4 '16

Can help me about this error i have this error every 30mn thank


Error 500
Internal Server Error.


If you are the site admin, click here for details (+)

Something went wrong!
To get the error details follow these steps:
- Open ow_includes/config.php file and set DEBUG_MODE to true
- Reproduce your last action.


Bresdel

The Forum post is edited by Bresdel Inc Dec 4 '16
dave Leader
dave Dec 5 '16
did you turn on debug mode to see the error ?
Bresdel Inc
Bresdel Inc Dec 5 '16
I see this error
Attachments:
  3error.png (205Kb)
  1error 500.png (110Kb)
  2error.png (182Kb)
dave Leader
dave Dec 5 '16
I dont use 2006 mysql so the first one i dont know about, but the warnings are because you need to set the timezone section of your php.ini main config file on the server. 


it looks like you lost connection to the database somehow

The Forum post is edited by dave Dec 5 '16
dave Leader
dave Dec 5 '16
the time zone warning look at your main php ini file for your server you will see a section that looks like this 


[Date]

; Defines the default timezone used by the date functions

; http://php.net/date.timezone

date.timezone = America/New_York



put your timezone in there and then restart your httpd service

The Forum post is edited by dave Dec 5 '16
dave Leader
dave Dec 5 '16
also are you sure your connection to the DB is correct in the ow_includes/config.php file 
Bresdel Inc
Bresdel Inc Dec 5 '16
Yes because I receive the error message after every 30 MN, and if we reactialize the page we do not see the message
dave Leader
dave Dec 5 '16
so it sounds like your losing connection with the db as you run out of connections possibly. 


ok check here 

http://dev.mysql.com/doc/refman/5.7/en/gone-away.html


dave Leader
dave Dec 5 '16
i would first look at one of these 


  • You have encountered a timeout on the server side and the automatic reconnection in the client is disabled (the reconnect flag in the MYSQL structure is equal to 0).

  • You are using a Windows client and the server had dropped the connection (probably because wait_timeout expired) before the command was issued.


dave Leader
dave Dec 5 '16
are you using windows or linux?
ross Team
Bresdel Inc
Bresdel Inc Dec 5 '16
Thanks for your help otherwise I just fixed the problem after removing the code I use to refresh my site automatically every 30MN "<meta http-equiv =" Refresh "content =" 300 "/>". With this meta code I use more than 5 Months no problem until yesterday evening problems begin.
dave Leader
dave Dec 5 '16
why do you have so many " in there. Check the syntax its not right. 


should be like this 


<meta http-equiv="refresh" content="30" />
you have extra " in there


The Forum post is edited by dave Dec 5 '16
dave Leader
dave Dec 5 '16
you also need to do some reading on using that, its not always best to use that.