TinyPortal

Development => Support => Installation => Topic started by: atko on May 24, 2007, 03:17:40 PM

Title: Told install was successful but can't access settings?
Post by: atko on May 24, 2007, 03:17:40 PM
The system told me the install was successfull as in the frontpage shows if you can read this then your install was successfull or words to that affect. However, when I click on the Permissions box on the left side of the site I just get redirected to the original forum homepage i.e without tp. Similarly if I go into Admin I can see the tp admin but if i click on any of the links in it i again am redirected to my forum homepage without the tp frontpage. In otherwords i cant get into any settings at all. This is a fresh, latest install of tp on to an existing smf. Any help would be appreciated. Reinstalled 3/4times says successful each time but same thing happens.

Thanks guys, hope i can sort it coz it looks good!
Title: Re: Told install was successful but can't access settings?
Post by: rebelrose on May 24, 2007, 03:22:34 PM
When you installed Tiny Portal, did you have your forum set to the default theme?
Title: Re: Told install was successful but can't access settings?
Post by: atko on May 24, 2007, 03:25:06 PM
Yes set to default as i preferred that one anyway. but did notice from install instructions that it had to be default and checked anyway.
Title: Re: Told install was successful but can't access settings?
Post by: rebelrose on May 24, 2007, 03:26:49 PM
Did you install through the package manager or do a manual install? Also just to be clear, it is SMF 1.1.2 and TP 9.8 that we are talking about correct?
Title: Re: Told install was successful but can't access settings?
Post by: atko on May 24, 2007, 03:35:22 PM
Yes used package manager from admin and am using SMF 1.1.2, also installed 0.9.8 versio of TP. Think I know my problem guess this is it;


Installing this package will perform the following actions:    Type   Action   Description
1.   Extract Tree   ./Themes   
2.   Extract Tree   ./Sources   
3.   Extract Tree   ./tp-downloads   
4.   Extract Tree   ./tp-images   
5.   Extract Tree   ./FCKeditor   
6.   Extract Tree   ./wysiwyg   
7.   Execute Code   tp_install.php   
8.   Execute Modification   ./index.php   Test failed
9.   Execute Modification   ./Sources/Load.php   Test successful
10.   Execute Modification   ./Themes/default/index.template.php   Test failed
11.   Execute Modification   ./Themes/babylon/index.template.php   Test failed
12.   Execute Modification   ./Sources/Subs.php   Test successful
13.   Execute Modification   ./Sources/ManagePermissions.php   Test successful
14.   Execute Modification   ./Sources/Security.php   Test successful
15.   Execute Modification   ./Sources/Errors.php   Test successful
16.   Execute Modification   ./Themes/default/style.css   Test successful
17.   Execute Modification   ./Themes/default/Help.template.php   Test successful
18.   Execute Modification   ./Sources/Profile.php   Test successful
19.   Execute Modification   ./SSI.php   Test successful

Am I write, the test failed on the two most important so am I write in saying they are not writeableand should be for this process?
Title: Re: Told install was successful but can't access settings?
Post by: rebelrose on May 24, 2007, 03:36:57 PM
The test failed your right on the most important, you can however make the changes to the templates manually and it should work fine  :)
Title: Re: Told install was successful but can't access settings?
Post by: atko on May 24, 2007, 03:48:45 PM
Guess it's not gonna work on mine for some reason. CHMOD those files and tried reinstalling but still same problem. 
Title: Re: Told install was successful but can't access settings?
Post by: rebelrose on May 24, 2007, 03:56:18 PM
modify the templates that failed by hand.
Title: Re: Told install was successful but can't access settings?
Post by: atko on May 24, 2007, 03:59:52 PM
According to the download from the tp site I am not replacing/modifying any of my template files. The two files that failed during auto installation are not even in the download????
Title: Re: Told install was successful but can't access settings?
Post by: rebelrose on May 24, 2007, 04:02:03 PM
Execute Modification   ./Themes/default/index.template.php   Test failed
Execute Modification   ./Themes/babylon/index.template.php   Test failed

It adds code to the default theme index.template.php, if that is not changed the Tiny Portal will not work correctly.

Title: Re: Told install was successful but can't access settings?
Post by: rebelrose on May 24, 2007, 04:10:32 PM
If you unzip the tinyportal.mod and look for the tinyportal 09x.mod file and open it. Then you will see the edits it makes to the templates. Look for the edits that is makes in the index.template.php, that is the code that is missing to make your site run correctly.
Title: Re: Told install was successful but can't access settings?
Post by: atko on May 24, 2007, 04:47:13 PM
I have downloaded the tinyportal0.9.8 and in there after extracting is a load of what my system recognises as mpegs, a tp-install which is the install script right over my head that went, and some directories. which one tells me what i have to input? Sorry to be a pain, am not too bad at this sort of thing in the past but this one is a bit too much, can't understand why when i chmod thhose files it wont install automatically then.
Title: Re: Told install was successful but can't access settings?
Post by: tick on May 24, 2007, 10:00:49 PM
Sometimes mod fail on install because you have other mods that have already altered the code.  The code is changed so it is not finding the code exactly like it would on a unaltered file.  Hope this helps.  Also you can see how to modify those files here.  http://www.tinyportal.net/index.php?topic=14195  Also remember to bakc up any files before you change the code just in case there is a problem
Title: Re: Told install was successful but can't access settings?
Post by: G6Cad on May 24, 2007, 10:05:14 PM
There is no need to make it so complicatd ;)

Seems like you have mods or some modifications done on both the default theme and the babylon as it's them that gives the error during the install.

What you can do is to proceed with the install and then use these index.template.php files.
Replace them with the old ones.
Note that this will remove any other code edits in your index.template.php files (buttons added by you as one example)
But atleast you will have TP installed, and the other mods probably have a lot less code you have to add in then TP have.

Just remove the (default_theme) and the (babylon_theme) from the files so they are just called index.template.php
Title: Re: Told install was successful but can't access settings?
Post by: tick on May 24, 2007, 10:06:49 PM
There was one other file also G6 that failed if  you have that one.  :)
Title: Re: Told install was successful but can't access settings?
Post by: G6Cad on May 24, 2007, 10:08:30 PM
Added :)   Thanks for the heads up Tick :)