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 successful
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 successful
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
Kinda odd. I checked in the folder and its in there
EDIT: I guess I read up a bit too late. and saw what I needed to modify. But if that is the only error I am getting. Can I just modify that file only, put it back into the folder and do the auto install?
please use the search. Your error has been posted many times.
I guess I read up a bit too late. and saw what I needed to modify. But if that is the only error I am getting. Can I just modify that file only, put it back into the folder and do the auto install?
anyone?
I would say yes you can manually edit that file, but it might be worth seeing why you are getting that error what other mods do you have installed, look in the TP package to see what it is looking for in index.template.php and see why it cant find it.
But always have a BACKUP
hm, thats a good point. Its just such a pain editing with notepad.
i tried and got this
Template Parse Error!
There was a problem loading the /Themes/default/index.template.php template or language file. Please check the syntax and try again - remember, single quotes (') often have to be escaped with a slash (\). To see more specific error information from PHP, try accessing the file directly.
You may want to try to refresh this page or use the default theme.
Parse error: syntax error, unexpected T_ECHO in .../Themes/default/index.template.php on line 362
353: </table>';
354:
355: ';
356: // TinyPortal
357: }
358: // end
359: echo '
360:
361:
362: echo '
363: <table id="upshrinkHeader2"', empty($options['collapse_header']) ? '' : ' style="display: none;"', ' width="100%" cellpadding="4" cellspacing="0" border="0">
364: <tr>';
365:
366: // Show a random news item? (or you could pick one from news_lines...)
delete line 355 & 359
'</span>';
else
echo '
<img src="', $settings['header_logo_url'], '" style="margin: 4px;" alt="', $context['forum_name'], '" />';
echo '
</td>
<td align="right" class="catbg">
<img src="', $settings['images_url'], '/smflogo.gif" style="margin: 2px;" alt="" />
</td>
</tr>
</table>';
// TinyPortal
if($context['TPortal']['showtop']==1)
{
// TinyPortal end
// display user name
echo '
<table width="100%" cellpadding="0" cellspacing="0" border="0" >
<tr>';
if($context['user']['is_logged'])
echo '
<td class="titlebg2" height="32">
<span style="font-size: 130%;"> ', $txt['hello_member_ndt'], ' ', $context['user']['name'] , '</span>
</td>';
WHere is line 355 and 359? Im really thrown off
Look at your post above the one Ich posted. LOL it shows the lines and numbers
Please post code in the BBC code tags too. Thanks.
look the lines dont match
356: // TinyPortal
357: }
// TinyPortal end
I dont mean to be a pest but I could Post my php file and someone could help me fix it?
Attach it here and I will take a look for ya.
There you go
This one has the two errors removed from the file. Try it and let me know how it goes.
so just, put it in the area it belongs, and when I start up my site it shouldnt have any errors?
Well if you did not make any other mistakes then yes :)
So did it work?
o/m/g
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 successful
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 successful
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
omg (http://www.tinyportal.net/index.php?action=search)
As an admin I congradulate you for completely missing what happened. Someone sent me a fixed and new index.template.php that was suppose to work! But when I used it and tried to reinstall it failed.
THe file is going to fail. YOu should go ahead with the install. THEN upload the corrected file. Not upload it then install. Give this a try.
so install it even if it says it fails, then use the one you gave me...and just backup all my site and files/>
yep
go ahead with the install. Then upload the file I gave you. And as you say backup. L
hey it worked! THHHANNKKYoU!But it says Forum twice at the top. And it also has my old download button too! How do I remove them?
attach your index template here and I will fix it for ya.
There you go, and thanks!
so I dont make a crap load of threads let me ask these 2 things.
A. Can I make it so ppl can use the tinyportal download system, and upload their own mods?
B.If i make a new theme for my site. DO I have to edit all the templates so everything works
Try this one. For the other questions refer to the docs section.
Instead of immediately asking your questions, please do use the search and Docs board to get a feel of things first. Remember, mods only install to the default theme. So if you don't see them in a custom theme, remember you need to add them manually to the custom theme.