TinyPortal

Development => Support => Installation => Topic started by: chriscorreia on March 18, 2007, 03:44:39 AM

Title: Can and cannot install TP with package manager
Post by: chriscorreia on March 18, 2007, 03:44:39 AM
I run the following forum with SMF 1.1.2  www.duluthsolutions.com/forum/index.php

Before trying to install TP for that forum, I installed an SMF at another site I have, and then installed TP via package manager. Went fine.

I then tried a TP install at my main site (duluthsolutions) and after hitting the Apply Mod link I got a blank/white screen after several (10?) seconds. I can hit the browser back button and get back to the previous page, and hit Apply Mod again, but the same things happens. FYI, I am using the TP file that is linked to in the topic that specifies it is for SMF 1.1.2

Some background on what I have done previously:

I had tried the automatic web install/update for SMF going from 1.1.1 to 1.1.2 and that did not work, and then my forum wouldn't work. I then did a new install of 1.1.2 into my existing database, and then had progressively increasing more problem with blank/white screens, so I then restored the database off my backup. Aside from the occasional blank screen, things seem to be OK.

I then tried a TP install via package manager which did not go through (same white screen, I recall) but I thought perhaps I had the wrong TP file. I then tried the manual install, but that did not work (I think I did it correctly/followed directions, but perhaps did not).

I imagine I should try a manual install, but I am afraid to since the database restoring is a new/foreign thing to me and I'm afraid to screw things up. BTW, my existing database does have some tables labeled as smf_tp_, even though TP is not installed. I'm not sure if that matters at all.

Opinions/guidance please? Thanks in advance. I really do appreciate it.

Title: Re: Can and cannot install TP with package manager
Post by: Porky on March 18, 2007, 03:48:27 AM
It can take more than 10sec sometimes.... and if you have some tables installed for tp you might want to wait a little longer to see if it finishes because it does have to upload some files and rewrite some other files. Due that and see what happens
Title: Re: Can and cannot install TP with package manager
Post by: chriscorreia on March 18, 2007, 04:01:32 AM
When I get the blank screen, the bottom bar in my browser (Firefox) says Done and the spinning circle icon has stopped spinning. Nothing seems to be happening.
Title: Re: Can and cannot install TP with package manager
Post by: Porky on March 18, 2007, 04:14:39 AM
due you have a link
Title: Re: Can and cannot install TP with package manager
Post by: chriscorreia on March 18, 2007, 04:16:59 AM
Sorry for my ignorance: link to what?
Title: Re: Can and cannot install TP with package manager
Post by: Porky on March 18, 2007, 04:19:10 AM
your site
Title: Re: Can and cannot install TP with package manager
Post by: chriscorreia on March 18, 2007, 04:27:34 AM
www.duluthsolutions.com/forum/index.php

What is showing in the address bar when I get the blank screen is:

http://www.duluthsolutions.com/forum/index.php?action=packages;sa=install;package=TP_0971.zip

Thanks much for the attention.
Title: Re: Can and cannot install TP with package manager
Post by: chriscorreia on March 18, 2007, 04:32:36 AM
It seems it's just not unzipping the file. The TP zip file shows in the Packages directory, still as a zip file.

It's just curious that it worked OK with the test forum I put up on my other site (same host and same kind of shared server account @ Godaddy).
Title: Re: Can and cannot install TP with package manager
Post by: Porky on March 18, 2007, 04:41:42 AM
Due you have mods insatlled? and have you tried the manual install as well?
Title: Re: Can and cannot install TP with package manager
Post by: chriscorreia on March 18, 2007, 04:43:41 AM
No mods installed.

Last time I tried a manual install, it didn't work, but I could have done something wrong. What package(s)/files do I use for a manual install to smf 1.1.2? I'm not clear (due to my lack of experience/understanding) from reading the forum topics that reference the links to different files.
Title: Re: Can and cannot install TP with package manager
Post by: Porky on March 18, 2007, 03:01:49 PM
PM me an admin account and I will help you out
Title: Re: Can and cannot install TP with package manager
Post by: Jpg on March 18, 2007, 04:54:53 PM
Wait...did you switch to the default theme?
Title: Re: Can and cannot install TP with package manager
Post by: chriscorreia on March 18, 2007, 07:31:55 PM
Good question. I did not the first time I tried, but then I remembered and did so before I tried again. Made no difference.

Porky: Will do. Thanks much.
Title: Re: Can and cannot install TP with package manager
Post by: Porky on March 18, 2007, 08:25:48 PM
Ok Need G6 or Ich to check this out, I tried a manual install. changed cmod to777 still no luck. It uploads to thru the package manger with no problem but when you apply the mod it just says done and does nothing.
Title: Re: Can and cannot install TP with package manager
Post by: Jpg on March 18, 2007, 08:33:08 PM
List of things to do:

-Run the forum maintenance check up to see if there are any problems on your site?

-Check if all your source files are up to date.

-Try installing it in Firefox, IE and Opera, because this could be a browser problem.

-Run repairsettings.php
Can be found here > http://www.simplemachines.org/download/?tools
Title: Re: Can and cannot install TP with package manager
Post by: Porky on March 18, 2007, 08:46:07 PM
all of that has been done
Title: Re: Can and cannot install TP with package manager
Post by: chriscorreia on March 18, 2007, 08:49:26 PM
JPG:

I had done all of those recently(except different browsers; I'm using Firefox), I think after my previous failed install attempts, but not since I started with this round of  install attempts.

I just find it curious that I can install TP OK into a new test forum I set up in a different hosting account -- also a shared hosting, Linux account @ Godaddy. But, I suppose some different things happen with various index and settings files and such in different installs.

EDIT:  And it looks like Porky got it covered. Thanks!
Title: Re: Can and cannot install TP with package manager
Post by: Jpg on March 18, 2007, 08:50:32 PM
Ah maybe that's why, try using Opera. I saw it work before for somebody on Simple Machines. Same problem as you.

---------

Edit: He got it?
Title: Re: Can and cannot install TP with package manager
Post by: Porky on March 18, 2007, 08:53:13 PM
No I have tried all you have brought up, I have asked one the more advanced coders t look at it and see if they know what will cause this.
Title: Re: Can and cannot install TP with package manager
Post by: Jpg on March 18, 2007, 08:56:15 PM
Well, you can always download the fresh install, unzip it and replace the source files in the forum if no mods are currently installed...Could be a corrupt file.

Wait...Oh, I just noticed what you were saying...
You don't need my help...cause I'm not an advanced coder. :(
Even though that has nothing to do with my experience...  :'(
Title: Re: Can and cannot install TP with package manager
Post by: Porky on March 18, 2007, 09:00:20 PM
its not that we don't want your help its just that we have done everything that you can do and what you have said, so I asked one of the coderteam to take a look to see if they have any ideas
Title: Re: Can and cannot install TP with package manager
Post by: Crip on March 18, 2007, 09:02:10 PM
Have you tried Packages/Options/All files Writable/Proceed..it 777 all files folders..sometimes it works when all else fails?
Title: Re: Can and cannot install TP with package manager
Post by: Jpg on March 18, 2007, 09:07:30 PM
Try to change the seconds before an unused session timeout a little higher, might work.

That's Admin > Server Settings > Feature Configuration
Title: Re: Can and cannot install TP with package manager
Post by: Porky on March 18, 2007, 09:10:56 PM
yeah the file didn't work
Title: Re: Can and cannot install TP with package manager
Post by: Porky on March 18, 2007, 09:12:41 PM
no good on times
Title: Re: Can and cannot install TP with package manager
Post by: Jpg on March 18, 2007, 09:16:45 PM
Tried using Opera or replacing the source files?
Title: Re: Can and cannot install TP with package manager
Post by: Porky on March 18, 2007, 09:17:56 PM
when you click the apply mod it trys to apply then leaves this in the address window
http://www.duluthsolutions.com/forum/index.php?action=packages;sa=browse
Title: Re: Can and cannot install TP with package manager
Post by: Crip on March 18, 2007, 09:19:43 PM
You can delete all db/tables with _tp on them, replace all new Sources files, & all tp_templates smf & within the default Theme /and languages folder..in your /forum root delete the TP_zip in the packages folder..make sure nothing related to TP is in any file / folder / and DB tables.......

Download A New Tp_9.8.3.zip and upload via package manager.....more work but it might work..I have done this successfully before on my Forum.
Title: Re: Can and cannot install TP with package manager
Post by: Crip on March 18, 2007, 09:25:21 PM
Have you tried the Ichbin install file?
Title: Re: Can and cannot install TP with package manager
Post by: Porky on March 18, 2007, 09:30:59 PM
Quote from: Jpg on March 18, 2007, 09:16:45 PM
Tried using Opera or replacing the source files?

did both
Title: Re: Can and cannot install TP with package manager
Post by: Porky on March 18, 2007, 09:31:34 PM
Quote from: cripâ„¢ on March 18, 2007, 09:19:43 PM
You can delete all db/tables with _tp on them, replace all new Sources files, & all tp_templates smf & within the default Theme /and languages folder..in your /forum root delete the TP_zip in the packages folder..make sure nothing related to TP is in any file / folder / and DB tables.......

Download A New Tp_9.8.3.zip and upload via package manager.....more work but it might work..I have done this successfully before on my Forum.
tried the 9.8.3 still same issue.
Title: Re: Can and cannot install TP with package manager
Post by: Porky on March 18, 2007, 09:34:25 PM
yeah I let them know to delete the database files so we can see if that is it, as soon as they get back with me I will try again
Title: Re: Can and cannot install TP with package manager
Post by: Crip on March 18, 2007, 09:37:04 PM
it's like tp never was there..it worked more than once for me..
Title: Re: Can and cannot install TP with package manager
Post by: G6Cad on March 18, 2007, 10:06:16 PM
DONT touch the DB !!!

I havent read through all post here, but one question before i ask for the accounts i need to look at this.

Is this an upgrade from SMF and TP ? or is it a fresh install of it ?
Title: Re: Can and cannot install TP with package manager
Post by: chriscorreia on March 18, 2007, 10:08:13 PM
Hey, folks, I just have to say that I really appreciate the attention and help. I'm trying to get the TP going because my site is going to be used by a couple of neat community improvement projects in the weeks and months ahead, and I want to upgrade the site's look and functionality. All of your help is wonderful, and will lead to some good things in our city.

I suppose I can be glad that I'm able to provide a case study of sorts on an install issue. ::)  :)
Title: Re: Can and cannot install TP with package manager
Post by: Porky on March 18, 2007, 10:10:29 PM
Quote from: G6â„¢ on March 18, 2007, 10:06:16 PM
DONT touch the DB !!!

I havent read through all post here, but one question before i ask for the accounts i need to look at this.

Is this an upgrade from SMF and TP ? or is it a fresh install of it ?
fresh install of tp
Title: Re: Can and cannot install TP with package manager
Post by: chriscorreia on March 18, 2007, 10:10:46 PM
Quote from: G6â„¢ on March 18, 2007, 10:06:16 PM
DONT touch the DB !!!

I havent read through all post here, but one question before i ask for the accounts i need to look at this.

Is this an upgrade from SMF and TP ? or is it a fresh install of it ?

G6:

It is a fresh install into the existing database. However, that db still exists after a failed web-install of the 1.1.1 to 1.1.2 upgrade, then the fresh install, and then the previous failed TP installs (package manager and manual, which I probably did incorrectly). I can't recall if I did another fresh install after that, but the db is the same, original one from the 1.1.1 days and does have some smf_tp_ tables in it now.
Title: Re: Can and cannot install TP with package manager
Post by: G6Cad on March 18, 2007, 10:15:11 PM
So you have no posts or content in that install now ? You just try to get a working SMF 1.1.2 with TP installed ?
Title: Re: Can and cannot install TP with package manager
Post by: chriscorreia on March 18, 2007, 10:24:15 PM
Quote from: G6â„¢ on March 18, 2007, 10:15:11 PM
So you have no posts or content in that install now ? You just try to get a working SMF 1.1.2 with TP installed ?

Sorry, there are posts and content, and I definitely want to keep them.  After the failed 1.1.1 to 1.1.2 upgrade, I did a full install of 1.1.2 into the existing database.

When I did a test trial of TP into a separate, new 1.1.2 install, with a new database, it worked fine via package manager. But the TP install won't work with the existing forum/database.
Title: Re: Can and cannot install TP with package manager
Post by: Crip on March 18, 2007, 10:26:45 PM
Quote from: chriscorreia on March 18, 2007, 10:24:15 PM
Sorry, there are posts and content. I did a full install of 1.1.2 into the existing database.

Thats your main problem!
Title: Re: Can and cannot install TP with package manager
Post by: Jpg on March 18, 2007, 10:28:44 PM
I say scrap the whole thing and start from scratch...But that's just me...
Title: Re: Can and cannot install TP with package manager
Post by: chriscorreia on March 18, 2007, 10:34:17 PM
Smartass kid.  :P  :)  (jpg)

Crip, obviously my ignorance or idiocy has led to this.

So, the recovery is . . .??? Something along the lines of a fresh install into a new database, and then get my existing members and content into the new database somehow? (Hopefully?)

This then moves beyond my existing level of experience, knowledge and capability. :o

Hopefully there is an alternative recovery. Or a lot of hand holding for me!
Title: Re: Can and cannot install TP with package manager
Post by: Jpg on March 18, 2007, 10:40:19 PM
Yes you can replace the databases later I believe by changing the prefixes of the tables after restoring your old ones[if you use a different prefix on the second installation].
Title: Re: Can and cannot install TP with package manager
Post by: chriscorreia on March 18, 2007, 10:51:21 PM
Would the first step at this point be to delete the smf_tp_ tables in the existing database and then try to again install TP, to see if that works?

I'm not really sure on how to restore properly. Last time I just opened the database in phpmyadmin and then imported my backup copy. That was wrong?
Title: Re: Can and cannot install TP with package manager
Post by: Jpg on March 18, 2007, 10:56:14 PM
Nooooo, no deleting without backing up first!!!
And like -> http://www.phpmyadmin.net/documentation/#faq6_5
Title: Re: Can and cannot install TP with package manager
Post by: chriscorreia on March 18, 2007, 10:58:55 PM
I'm backed up, just a bit ago. Both data only and with structure.

Thanks for the link, too!
Title: Re: Can and cannot install TP with package manager
Post by: Jpg on March 18, 2007, 11:01:13 PM
I say leave your current forum and databases alone.

Install a second forum of smf 1.1.2 first on a new mysql database and in a new folder.
And then restore databases on the new forum...if everything is okay then just delete the old one.
Title: Re: Can and cannot install TP with package manager
Post by: chriscorreia on March 18, 2007, 11:03:56 PM
So to restore, I just open the new install db in phpmyadmin and then import the old one?

Anything to do with prefixes and such?
Title: Re: Can and cannot install TP with package manager
Post by: Crip on March 18, 2007, 11:05:45 PM
Anything tp_database, look in Sources/ delete anything TP, & upload New SMF_ones.. look in the Default Theme delete anything TP / languages/folder too.. look in your Forum/root in the packages folder delete the TP_zip file & check/edit the [installed list] make sure no TP shows in there.. check in the backup/folder delete any TP in it..In Admin/Packages uninstall / delete any TP there..

OK..
noow you have a regular SMF Forum with no sign of TP ever beeing there, so now upload TP_zip via package manager and install..it will work this way...
Title: Re: Can and cannot install TP with package manager
Post by: Crip on March 18, 2007, 11:06:56 PM
This way you keep your members and content as is.
Title: Re: Can and cannot install TP with package manager
Post by: G6Cad on March 18, 2007, 11:07:45 PM
Easier to just replace all the SMF files from the SMF upgrade package.
And then emty out the package folder from the content it might have.
Title: Re: Can and cannot install TP with package manager
Post by: Crip on March 18, 2007, 11:07:53 PM
If you want, I may have time to do it all for you?
Title: Re: Can and cannot install TP with package manager
Post by: Crip on March 18, 2007, 11:09:51 PM
I just do not like upgrading packages..bad experiences a suppose?
Title: Re: Can and cannot install TP with package manager
Post by: Jpg on March 18, 2007, 11:20:17 PM
That wouldn't solve the problem of installing Tp, unless afterwards you try to install it. :P
Title: Re: Can and cannot install TP with package manager
Post by: chriscorreia on March 19, 2007, 12:36:43 AM
Quote from: cripâ„¢ on March 18, 2007, 11:07:53 PM
If you want, I may have time to do it all for you?

Crip: I should be able to handle those instructions. May I reserve the right to get back to you? Here or PM? Thanks much for the offer.

I've already donated a bible. That was way too easy.
Title: Re: Can and cannot install TP with package manager
Post by: chriscorreia on March 19, 2007, 01:32:25 AM
Quote from: cripâ„¢ on March 18, 2007, 11:05:45 PM
Anything tp_database, look in Sources/ delete anything TP, & upload New SMF_ones.. look in the Default Theme delete anything TP / languages/folder too.. look in your Forum/root in the packages folder delete the TP_zip file & check/edit the [installed list] make sure no TP shows in there.. check in the backup/folder delete any TP in it..In Admin/Packages uninstall / delete any TP there..

OK..
noow you have a regular SMF Forum with no sign of TP ever beeing there, so now upload TP_zip via package manager and install..it will work this way...

I did all that best I can tell. No go, via package manager at least.

Crip, I'll willing to give you a shot at it. PM me for info if you're still game.

Otherwise, since I know TP will install into a fresh smf install with a new database, I'm game to go that route, but I am nervous and unsure about restoring my old database to that new database. Inexperience, I suppose.  I'll want to get step by step guidance nd be really clear on exactly what to do with the new install and new db and the restoring so that I don't make any mistakes.
Title: Re: Can and cannot install TP with package manager
Post by: chriscorreia on March 19, 2007, 03:26:36 PM
I went through all of those steps and still no go.

A far as a fresh install of smf and a new db, and then getting my old data/database into the new one, I tried that on my test forum and I obviously don't know enough to make a restore or import happen properly. I tried it three different ways, but got different error messages. I obviously don't know what I'm doing with db setup, structure, restoring, etc. Unless it's a straightforward create it and use it, I don't yet know enough to do it properly. I would really like to keep my memberlist and posts.

I'd be willing to give someone who knows what they're doing a shot at it if they are willing. A contribution to your favorite charity will be made in your name!
Title: Re: Can and cannot install TP with package manager
Post by: G6Cad on March 19, 2007, 03:52:59 PM
Send the accounts

FTP url=
FTP user =
ftp pass =

Canelurl=
User =
pass =

Site url =
Admin =
pass =

Send in PM
Title: Re: Can and cannot install TP with package manager
Post by: hygron on March 19, 2007, 04:00:18 PM
Well looks like I can benefit from this thread...

So if you want to delete all tp files, you must delete TP in all the folders.  Don't know why I didn't get that from having to manually install all those files.  lol  Peace
Title: Re: Can and cannot install TP with package manager
Post by: G6Cad on March 19, 2007, 06:32:34 PM
Hygron, send the same accounts and i will fix your site for you. It's sort of have become my baby to now after all the installs and upgrades i have done there  :2funny:

@ chriscorreia   Your site is updated and ready to go.

Title: Re: Can and cannot install TP with package manager
Post by: chriscorreia on March 19, 2007, 07:12:58 PM
Quote from: G6â„¢ on March 19, 2007, 06:32:34 PM

@ chriscorreia   Your site is updated and ready to go.


I see that. It is fantastic. I am very humbly grateful. Thank you. Care to share the problem for others to learn?
Title: Re: Can and cannot install TP with package manager
Post by: G6Cad on March 19, 2007, 07:24:34 PM
I really dont know if there were a problem, i always install every thing manually, and i did it on your site to.
Upgraded to SMF 1.1.2 manually, ran the upgrade.php file, then uploaded the manual t package and ran the manual_tp_install.php refreshed, removed the upgrade and tp install files and it was all set.
Title: Re: Can and cannot install TP with package manager
Post by: chriscorreia on March 19, 2007, 07:46:41 PM
That was too easy.

Of course, I screwed up when I tried the manual install, so I guess not too easy for some of us. LOL
Title: Re: Can and cannot install TP with package manager
Post by: G6Cad on March 19, 2007, 07:51:22 PM
I took some time to learn how to, i think i have crashed a LOT of forums, but i wont tell how many cause you would not have let me in to your files if i told you  :2funny:

I learnd a lot from IchBin (still do) but one thing he said was (create a testsite) I did, i crashed, redid the site, crashed, and im still using testsites to learn things, try out mods, and as it's a test, i dare to try more things and learn what NOT to do on my live site, or your site where i help out on :)

Also it's a good way to learn how the code look like, now i can see in the code if there are things that shuld not be in there (most of the times)  :D

But to pass on a great advise, create a testsite, crash it 200 times, and after a while you will know what you can do and what not  :)
Title: Re: Can and cannot install TP with package manager
Post by: wjhsmf on March 19, 2007, 08:03:10 PM
Hi,

If you do chmod -R 777 to your smf directory, you will surely get installation easily through package manager.

This tells me that their must be a set of files need chmod 777. What chmod -R 777 does is way over what need. Can you give a list of files , minimum?
Thank you.

Jimmy
Quote from: Porky on March 18, 2007, 09:34:25 PM
yeah I let them know to delete the database files so we can see if that is it, as soon as they get back with me I will try again
Title: Re: Can and cannot install TP with package manager
Post by: Porky on March 19, 2007, 08:11:43 PM
wow I did everything except star from scratch. Thanks G6 for your help
Title: Re: Can and cannot install TP with package manager
Post by: wjhsmf on March 19, 2007, 08:24:03 PM
G6,

I did mine through chmod -R 777 and I am not very happy with it. If I know a way to chmod back, I can still live with it. Any suggestions?

Thank you.

Jimmy
Quote from: G6Ã,â,,¢ on March 19, 2007, 07:51:22 PM
I took some time to learn how to, i think i have crashed a LOT of forums, but i wont tell how many cause you would not have let me in to your files if i told you  :2funny:

I learnd a lot from IchBin (still do) but one thing he said was (create a testsite) I did, i crashed, redid the site, crashed, and im still using testsites to learn things, try out mods, and as it's a test, i dare to try more things and learn what NOT to do on my live site, or your site where i help out on :)

Also it's a good way to learn how the code look like, now i can see in the code if there are things that shuld not be in there (most of the times)  :D

But to pass on a great advise, create a testsite, crash it 200 times, and after a while you will know what you can do and what not  :)
Title: Re: Can and cannot install TP with package manager
Post by: G6Cad on March 19, 2007, 08:44:49 PM
If you do things the manuall way, you dont have to bother with file permissions, only owner issues will stop you from installing that way.

The best answer i can give you is to set all files to 777 if you want to use the package manager.

Admin/Packages/Options/
Fill in the FTP account and check the box for "all files writable" and try the manager again.
If that's not helping you, you will have to make it the manaul way.

Also, please start a new topic from this post on.
It's very hard to keep track of the posts if the threads just going on and on with diffrent members asking for support in the same.
So from now on here, please start your own topic and we will provide help as soon as we can.
Title: Re: Can and cannot install TP with package manager
Post by: IchBin on March 19, 2007, 10:38:29 PM
chmod -R 755 * (only do this while in your forum directory in the command line) You can use whatever number you need to on your files for permissiosn.