I've been running SMF/TP for a year and a half now. I try to send out newsletters once every month and this morning when sending out a newsletter I got this error. I tried searching on these forums, but could not find anything on this specific message.
QuoteMySQL server has gone away
File: /homepages/28/d156825445/htdocs/bn/Sources/Subs.php
Line: 3033
Note: It appears that your database may require an upgrade. Your forum's files are currently at version SMF 1.1.4, while your database is at version 1.1.1. The above error might possibly go away if you execute the latest version of upgrade.php.
I am running SMF 1.1.4 and TP 0.9.8
Could someone help me with a solution to the problem?
Thanks
That is something we cant help you with as it's a server and host issue, you will have to contact your host and ask them to fix the SQL database, upgrade if nessesary. :-\
Ok, can you help me understand more about why that is an issue suddenly and how I would download and run upgrade.php <--- what risks are involved in that for me?
The only reason i can think of from the top of the head is that your host have changed or upgraded something on the server.
Repair_settings.php from simplemachines.org is the file i would have used first before the upgrade.php. The upgrade PHP will not damage or remove anything from eather the files or the database so you can use it safely
Ok, I will look for that repair_settings.php file
But I have not done anything other than changing a theme over the weekend?
I will post my resolutions here. thanks
g4, would I just get the upgrade.php file from the latest TP download?
When she said upgrade, she was referring to your server upgrade of MySQL if necessary. Upgrade.php is the file used by SMF to upgrade SMF. Your "Gone away" error is indictating that you are losing a connection to your database. A server issue, which you should be talking to them about. I wouldn't worry about anything on your end until then.
Thanks Ich
Ok, what am I looking for out of my host? What version of SQL they are running, or something else?
Tell them that something that has been working has suddenly stopped working, even though you did nothing at all to change the code. Ask if there has been some sort of change in MySQL.
My host is claiming that nothing has changed.
So I'm guessing my next options is upgrade.php
I did a search on the SMF site for the upgrade.php, but I am unsure as to what I am doing and which version I am looking for. If I use the one that came with SMF 2.0 Beta 3 doesn't that have a huge chance of messing up everything?
thanks for any assistance.
First off, if you have TP installed, you will not be able to have it on your site if you use anything from SMF2 Beta.
Look in the bottom of you sitepage and the copywrite there, the version should be visible there.
The upgrade.php comes with any of the 2 packages, small or large update package.
Use the large one and take out the 2 SQL files and the upgrade.php and upload them to your forum root, pint the browser to the upgrade.php
This is really not for us to help you with, the SMF have the info but i feel nice to day ;)
MySQL Server has gone away <- this error also appears when your MySQL servers are overloaded
The following info will help
Your package
Your host
Your average Users online at the time the error appears.
Quote from: G6 on March 26, 2008, 03:44:48 PM
First off, if you have TP installed, you will not be able to have it on your site if you use anything from SMF2 Beta.
So, what upgrade.php file should I get then?
I have SMF 1.1.4 and TP 0.9.8
Did you read my post at all ?
If you have 1.1.4, then you need to grab the upgrade for the same version
I did read it, if I hadn't read it - I sure as hell couldn't have quoted from it.
Thank you for your help
Upgrading won't fix a thing, since there are no changes between 1.1.x series in Database, Can you answer my questions please?
Quote from: Dragooon on March 26, 2008, 03:47:50 PM
MySQL Server has gone away <- this error also appears when your MySQL servers are overloaded
The following info will help
Your package
Your host
Your average Users online at the time the error appears.
Can you then tell me Dragooon how i have fixed several sites with just that step that had the same error about SQL gone away ?
Repair_settings-åhå and upgrade.php have fixed more times then i could remember.
IF the host ( most likly even if they say no) have made one or several changes or even if the server have auto update the settings can be faulty and the SQL can be fixed with an upgrade.
I don't know, it is possible that by Upgrading you removed the mods which lightened the server. But There are no changes between 1.1.1,1.1.2,1.1.3,1.1.4 in terms of database.
But most of the time that error appears when the MySQL server stops responding in between, specially when the host is not localhost.
It is possible that they might fix it.
Newsletters being sent out to many recipients tend to go haywire on some hosts.
Do you have many members?
Depends on what you consider "many"
I have 1100 members - and when doing a newletter, I got that error.
Quote
Your package
Your host
Your average Users online at the time the error appears.
I am not maxing out my package. The database that my forums run on is about 19 MB, and the maximum for each one is 100 MB.
My host is 1and1
I'm averaging about 15 to 20 people on at one time right now.
Hope this helps - thanks.
I am getting this error some too
QuoteERROR
The requested URL could not be retrieved
While trying to retrieve the URL: http://www.bamanation.net/index.php?
The following error was encountered:
* Connection Failed
The system returned:
(110) Connection timed out
The remote host or network may be down. Please try the request again.
Your cache administrator is webmaster.
Ask them to move you to a different database server then.
Quote from: insanemustang on March 26, 2008, 06:31:01 PM
Depends on what you consider "many"
I am not maxing out my package. The database that my forums run on is about 19 MB, and the maximum for each one is 100 MB.
My host is 1and1
The host may be part (or all) of the problem.
The quote below is a snippet from a post that I made over on SMF after dropping 1and1 and going to one of the hosts that work with SMF...
I've changed to a different host since then, but my comments still hold true concerning 1and1.My end result? All my hosting issues were resolved after the move was complete, all except for the fact that 1and1 wanted to keep charging me for the service several months after it was terminated.
http://www.simplemachines.org/community/index.php?topic=168550.0
Quote... I had a great idea… :)
Why not have a real web site with my own domain name and everything!
So I signed up with “1†of the biggest hosting companies in the known world, you know, the one that buys out the entire middle of those computer mags.
And for a long time I thought that was great until last summer when I decided that having a forum was just the thing to do. Now my SMF forum worked very nicely, even for someone like me with no experience with forum software, but about 3-4 months into my forum adventure things began to unravel because the giant hosting company just could not seem to help me solve the server problems that kept coming up and kept getting worse and worse.
So, after some months and literally dozens of phone calls trying to get some customer service and being left abandoned with two of my major issues I finally made the switch to a new hosting service.
EDIT: Please note... I've reread this topic in detail and while I do not have the level of expertise with server issues as do IchBinâ,,¢, Bloc & G6 it all seems like my 1and1 issues all over again to me.
I would switch, I really would - but I am terrified of losing my stuff.
I have 7 domains on 1and1 and to move all of them would be the downfall of my internet life.
Look to TinyPortal Hosting, or look in the hosting boards on SMF and find one that meets your needs.
If you take a little time to read up you'll be able to make a good choice and the service will be much better and the price will be close or very little more. And they will help you with the move, most will do all the work for you in fact, I've used two different ones that are found in the SMF boards and they are both great. I've not used TPH, but know from all the good comments posted about them that they are great to work with as well.
Whatever numbers 1and1 quotes you in the package that you bought is not what you get and it sounds like you've used up all they want you to have no matter what the package calls for.
I contacted the guys at the montecarlo hosting you recommended to see what the deal is on moving.
1and1 is getting ridiculous as far as reliability and customer service. I'd rather pay more for a better experience.
I do know that Tick at TPHosting has moved quite a few people himself.
Gotta agree, the best thing I did was to leave 1and1 in December ^-^
Can only concur...at these figures of members everything should work smoothly. If the connection drops, then clearly its someone else hogging the server. And since you can't control that on a shared host, another host is the way to go.
Moving is pretty straight-forward too, both SMF and TP allows just moving files and extracting/inserting the data again in the databases.
QuoteMoving is pretty straight-forward too
If you're a TP hero like yourself, everything is pretty straight-forward, but for me I am walking around with an eye mask on normally.
I think what several posts here say is that IF you decide to change host ( as we cant give you any more support then we have to solve your issue with SQL gone away) is that Tick or any of the other staff members on TPH will do it for you compleatly if you want to go and buy a host service from them.
You just have to give them the account info to your old host and they will fix everything so you just have to lay back, drink a cup of tea and be happy :)
www.tinyportalhosting.com just check the forum and the support they have allready given to their customers, i dont think you can see that on some other hosting company out there :)
Quote from: insanemustang on March 27, 2008, 01:41:35 PM
QuoteMoving is pretty straight-forward too
If you're a TP hero like yourself, everything is pretty straight-forward, but for me I am walking around with an eye mask on normally.
Well, I wasn't suggesting you should be doing it yourself or anything, just that its not that hard for others for example, IF you decide to move. In case thats whats holding you back.
I know, just messin with you
8) alrighty then