TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,963
  • Latest: BiZaJe
Stats
  • Total Posts: 195,917
  • Total Topics: 21,308
  • Online today: 629
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 429
  • Total: 429

What database actions does TP do on install?

Started by Quix, March 05, 2008, 12:17:57 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Quix

Hi all,

I'm trying to resolve an issue I'm having installing TP_0983.zip as a package from within a new vanilla SMF 1.1.4 install.

Apply Mod works with zero errors however when I go to install I get the following error.

--------------------------------------------------------------
Database Error: Lost connection to MySQL server during query
File:
/home/content/b/a/c/bacus/html/paffle/Sources/Subs-Package.php
Line: 2008
--------------------------------------------------------------

Line 2008 =  "AND variable = 'theme_dir'", __FILE__, __LINE__);"



This is regardless of a version 4 or version 5 database I get the error. I don't believe there are any file or directory permission problems.

As i say I'm trying to assist the hosting company work out what is the issue so they can resolve it. I look into the package and see CREATE, DESCRIBE, ALTER TABLE etc.

Now I don't know MySQL, but are there any settings which would stop the TP install writing to the database?

I know there is a Manual install, but let's face it an auto install is what is preferred.

Can anyone shine some light?

Thanks.

IchBin

Your host should be able to tell you why you're losing the connection. I've never had a problem with the install or manual install.

blackey191

SMF 1.1.4

I get this very similar error.

Database Error: Lost connection to MySQL server during query
File: *edit*/smf/Sources/Subs.php
Line: 2933

I'm not sure as to what the problem is. I do have other mods on there and some I just can't remove and put back at the moment so I have to try it with them. But I don't have any SQL connection issues that I know of with my forum and nothing is in the error log.

I get this every time I hit Apply Mod.

IchBin


blackey191

Quix seems like he really didn't want to but I just got home and haven't had a chance to do it yet. I know I won't have a problem with the manual install (I've done it a few times before), just thought I would let you know I had the same issue as what he had when I tried to do it the easy way earlier today.

Quix

Quote from: IchBinâ,,¢ on March 05, 2008, 03:06:19 AM
Your host should be able to tell you why you're losing the connection.

FYI

"Thank you for contacting Online Support.

We appreciate the information that you have provided. After further
review, we have determined that there are no issues with your hosting account. When testing the connections for your database, there is a successful connection. It appears that the error you are receiving is a scripting issue. Unfortunately, we do not provide coding or scripting support for third party applications. I recommend performing a search on a search engine for more information or contact the manufacturer of the application directly. We appreciate your patience and understanding on this matter.

Please let us know if we can assist you in any other way."

OK I'll give a manual install a go. Not so sure I won't blow it up. lol

Smoky

Quote from: blackey191 on March 05, 2008, 09:43:59 PM
SMF 1.1.4

I get this very similar error.

Database Error: Lost connection to MySQL server during query
File: *edit*/smf/Sources/Subs.php
Line: 2933

I'm not sure as to what the problem is. I do have other mods on there and some I just can't remove and put back at the moment so I have to try it with them. But I don't have any SQL connection issues that I know of with my forum and nothing is in the error log.

I get this every time I hit Apply Mod.

you said you did this with a "vanilla" install.. is that a clean install with no other mods?? mmm no you have other mods there too.. since this appears not to be a active forum that you are building, my suggestion is that you un install all of your mods then add the "big" mods like tp, gallery, arcade, then work your way down to the little ones.. if you just add willy nilly, of course you are going to get errors.. try it the way i am saying and see if that wont help you out.. ;)

Quix

Quote from: IchBinâ,,¢ on March 05, 2008, 10:21:11 PM
You guys try the manual install?

Hi IchBin, yes I just did a manual install. Seems to work fine. Not as scary as I'd imagined. :-)

Ok you can all stop laughing now!:p

blackey191

Smoky, I think you need to read who posted what and where. The post that you quoted clearly states I have mods, Quix said Vanilla install. I think I can handle a manual install I've done it before...  ;) Anyways, Area191 is not the site that I was talking about. But as my second post states I have installed manually before and it worked fine for me this time as well.

More than anything, I was just curious as to why it was saying it lost connection to the database.

Thanks for responding so quickly, Ichbin!

Smoky


This website is proudly hosted on Crocweb Cloud Website Hosting.