Please help, I really want to install TP but I am having the Test Failed error on index.template.php. I know a manual install is possible but I don't know why I have the error and if I should expect a manual install to be the proper answer, or if that would screw me with more errors afterwords. Is there a way to fix this easily? My forum is new with a small database, I just want to get it set up.
Please help, thank you.
Link to my site: http://forums.myadventurouslife.com/
SMF version: SMF 1.1.5
TP version: Have tried both .983 and 1.052 and same error
Theme name and version: Default Core
Mods installed:
1. Gallery 2 Integration - Non-Bridged 1.0beta3 [ Uninstall ]
2. Ultimate Shoutbox 1.40 [ Uninstall ]
3. SMF 1.0.11 / 1.1.3 Update 1.1 [ Uninstall ]
4. SMF 1.0.12 / 1.1.4 / 2.0 b1.1 Update 1.0 [ Uninstall ]
5. SMF 1.0.13 / 1.1.5 / 2.0 b3.1 Update 1.0 [ Uninstall ]
6. Contact Page 1.1 [ Uninstall ]
7. Admin Notepad 1.0 [ Uninstall ]
8. Angry Bunny Avatars 1.0 [ Uninstall ]
9. Custom Copyright 1.1.5 [ Uninstall ]
10. Linkedin.com profile field 1.0 [ Uninstall ]
11. DisplayPostedTopicsMod 1.0 [ Uninstall ]
12. Global Announcements 1.0 [ Uninstall ]
13. Global Headers Footers 1.4.1 [ Uninstall ]
14. AvatarSelect 1.1.2 [ Uninstall ]
15. dharma initiative 1.0 [ Uninstall ]
16. 68 High Quality Avatars depicting occult symbolism old and new 1.0 [ Uninstall ]
17. Notify of posts and replys by default 1.0 [ Uninstall ]
18. AJAX Instant Quick Reply 1.0.1 [ Uninstall ]
19. Divine Smilies 1.0 [ Uninstall ]
20. Ellow green smiley set 1.1 [ Uninstall ]
21. Ellow pink smiley set 1.1
Test FAILED on Installation? CLICK ME! (http://docs.tinyportal.co.uk/index.php?topic=32)
Thanks for the help. However some things are not totally clear. I will tell you what I understand and hope you can fill the missing pieces.
My understanding is to download the existing index.template.php and keep for safey, but also make a copy to manually edit for the necessary changes.
Then go ahead with the TP package install, ignoring the Test Failure message. After this I should then upload my edited version of index.template.php back to my server to overwrite the original and all should be well. Its only this one file that is failing, so hopefully it won't be that difficult.
As for the edits required, the FAQ you linked says:
"...open the "tp-version.mod" that corresponds with the TP version you are trying to install. Browse through it's content to familiarize yourself with the editing instructions before actually doing so. Now, open a copy of the files in your "TPfailed-install/SMF/TP" directory with your editor, and follow the editing instructions from your "tp-version.mod" file."
Where exactly are the instructions for editing the original index.template.php file?
What file is 'tp-version.mod'? The package I download from TP is a .zip, which contains several folders and all of the package files. I only need to edit the single index.template.php file, but inside the zip package are several "tinyportal10xx-10xx.mod" files and none of them are named 1.05 or .098, or have instructions for what to do. I also read the readme.txt inside the zip package but still did not find any instructions of what to do to my original index.template.php file.
I would appreciate If you could please help me further with any documentation on exactly what should be done to my original index.template.php file, and where to find the manual edits. In my case I am trying to install the new 1.05 version of TP but I would like to know the correct edits for either 1.05 and .098 in case the first one doesn't work.
I've already backed up my index.template.php file, backed up my forum site and backed up my database.
Thank you,
triangular
Yes.
1. Backup the file first. ( save it )
2. Make the proper edits to the file on the server
3. Save the file and reupload it.
If something is wrong, you can allways use the backup file you saved and not made any changes to.
Yes but where exactly do I find what edits to make to my index.template.php file? That is the file that fails the test. I understand I have to make the edits manually, but can let the installer do everything else.
So what edits do I make...where do I find the reference for that?
Im interested in the edits for TP 1.05.
Thank you.
Modification Instructions (http://docs.tinyportal.co.uk/index.php?topic=140)
tp-version is your TinyPortal version that you are installing. So the mod file might be named tinyportal-(version_number_here).mod G6 gave a link to the same instructions used in the mod file.
I really do appreciate the help, and I've read the FAQs and following all of the advice. But I'm not sure you've read everything I said. I don't see any .mod file named with the version of TP that I'm installing.
From the FAQ:
"...open the "tp-version.mod" that corresponds with the TP version you are trying to install. Browse through it's content to familiarize yourself with the editing instructions before actually doing so. Now, open a copy of the files in your "TPfailed-install/SMF/TP" directory with your editor, and follow the editing instructions from your "tp-version.mod" file."
The package I download from TP is a .zip, which contains several folders and all of the package files. I only need to edit the single index.template.php file, but inside the zip package are several "tinyportal10xx-10xx.mod" files and none of them are named 1.05 or .098, or have instructions for what to do.
The .mod files in the zip package are 4 or 5 and all named TP10xx-10xx.mod. None of them say TP098 or TP105 or similar. Also, when I open them its php but no text instructions. I also read the readme.txt inside the zip package but still did not find any instructions of what to do to my original index.template.php file.
The last link that was provided to the Modification Instructions is great, but it doesnt say what file those edits should be made on, or for which version of TP. Could you please verify to me that those Mod Instructions are the edits I should make to my index.template.php file, and that they will work for either TP 098 or 1.05? Seriously, this isn't at all stated in the instructions and I do appreciate your help.
triangular
Actually it does say for both versions, but it doesn't say what file the edits are for. there are many files modded during the TP package install so I want to be sure that these edits are all for my index.template.php file.
Also I still dont understand if there is anything else I'm suppose to do with any of the .mod files in the package, as the FAQ referred to. The FAQ also referred to installing it as a normal package, so I assume I will only need to FTP the index.template.php file, after the edits are made.
Just click the link and you have the mod list and to what files you change and what to add in and where..
Modification Instructions (http://docs.tinyportal.co.uk/index.php?topic=140)
Ok, but are those edits meant for the index.template.php file? Thats what I'm not seeing stated anywhere. Im assuming that, but Im not familiar with these files enough to know for sure. Thank you .
Can you please, look at the page you see from the link ?
ALL the code TP adds to the SMF files are on that page. For all files.
You have errors on index.template.php, you asked if it was only that file you needed to edit if you installed, i answerd Yes at that. Then you asked about what file to see what code to add to the index.template.php, i show you the link to the page holding that info, the code to add in and where to the index.template.php ( and also it holds the edits for all files if you look at the page )
So read the page, look at the code, and add it in according to the descriptions on that page.
It clearly say
QuoteOPEN FILE:
index.php
and then a bit down, it say the same for the next file you need to edit and so on.
Right in the center.... of the page all the way down.
triangular, try looking at it with a different browser... in FF3 I'm seeing the same as you, in IE7 its better and in Opera it looks as it should.
We are taking a look at why its not showing correctly in all browsers.
I concur with G6.
I dunno what else to tell you.
It is centered with BBC code, so if it isn't the same in all browsers(which it should be), then it could be a SMF thing? or perhaps the BBC code is arranged?
The file you should edit is centered on the page. Then follow edit instruction for that file, then move on to the next file.
You guys might have thought I'm daft, but thats not it. I think you don't realize that in FF3 you cant see where it says what file to open.
Now I found it, and you're right its in the CENTER of the page. But it doesn't appear to be the center at all in FF. How many pixels wide is that page?
What I see is a page in the center of the display, the whole page centered within a grey background. So it has a border on the sides of the whole page. Then if you scroll ALL THE WAY to the bottom of that mod instruction page, you finally see a scroll bar at the very bottom of the page. If you grab that bar and yank it all the way to the right, you'll finally see what you call the "center" of the page.
But that means users have to go all the way to the bottom of the page first, which they wont do if they are working their way down the page making edits...and scroll it accross, and then go all the way back UP the page to see what filename they should be editing...THEN go all the way back DOWN again to to the scroll bar to move it left again, and go back UP the page again to see the text they are suppose to be looking for and editing.
Working your way through the edits means scrolling UP, DOWN, Right and Left constantly. And nobody would assume there is a far right border to scroll into in the first place, since the whole page does already appear to be centered on the screen.
My suggestion is to take the OPEN FILE text OUT of the "center" and move it in the FAQ all the way FAR LEFT, so that its ALIGNED with the rest of the text on the screen, and not hidden in some invisible center section of the page. Make sense? Its no wonder I couldnt find what you guys were talking about.
Now that I have found the reference to the right files for editing, I do still have a problem. My Babylon theme index does pass the install test, so I guess I could just use that theme and be fine, but if I want to make the edits on the default theme which is failing the test, I am unable to locate the lines to edit, which this instruction doc is referring to. If I cant find those lines in my default theme's index.template.php file in order to edit them, then I guess this is why it was failing to pass the install test. So how can I do it manually if I can't find them either?
Thank you for all your help,
Christian
QuoteYou guys might have thought I'm daft, but thats not it. I think you don't realize that in FF3 you cant see where it says what file to open.
It does show, you just have to scroll sideways to see it in FF. I have checked and also IchBin have checked, and it soes show.
And we are looking into why it behaves that way in FF3 and not in older versions.
QuoteSo how can I do it manually if I can't find them either?
Uninstall your other mods that have changed the same lines and install TP first, and then install the smaller ones after.
If that is to much work, you have to use the trial and error way and add the TP code where you think it suits best and change the location of the strings if they dont look good on the page,
There are no easy way.
The instruction page has been changed so the the "Edit File" instruction is left aligned and the text has also been made bold making it easier to see.
There is however an issue still remaining with scroll bars for the code so until that's resolved you will need to take care to get all of the code when you do a copy/paste from some of the sections.
Quote from: G6 on August 27, 2008, 02:24:16 PM
Modification Instructions (http://docs.tinyportal.co.uk/index.php?topic=140)
404 for me
All url's at docs.tinyportal.co.uk are 404 for me.
All URL's for docs.tinyportal.co.uk are fine for me.
/shrug
I cannot access via FF or IE. Both show a 404.
Quote
Server not found
Firefox can't find the server at docs.tinyportal.co.uk.
QuoteInternet Explorer cannot display the webpage
I am experiencing no other internet problems. Permission problem perhaps? (guessing here)
At any rate, is the documentation for a failed test on index.template.php located anywhere else? This is all I need. Thanks.
The url works for me but in any case, here's a screenshot of that page. I guess it might have been easier to copy and paste but oh well. :2funny:
Thanks!