Hello,
Trying to follow posting guidelines
Link to my site: http://www.asanctuary.net/forum/index.php
SMF version: SMF ver. 1.1.8
TP version: TP ver. NOT INSTALLED YET
Theme name and version: SMF Default Theme - Core (ver.?)
Mods installed: Mods listed here
1. SMF 1.0.13 / 1.1.5 / 2.0 b3.1 Update 1.0 [ List Files ] [ Delete ]
2. SMF 1.0.13 / 1.1.5 / 2.0 b3.1 Update 1.0 [ List Files ] [ Delete ]
3. SMF 1.0.14 / 1.1.6 Update 1.0 [ List Files ] [ Delete ]
4. SMF 1.0.15 / 1.1.7 Update 1.0 [ List Files ] [ Delete ]
5. SMF 1.0.15 / 1.1.7 Update 1.0 [ List Files ] [ Delete ]
6. SMF 1.0.16 / 1.1.8 Update 1.0 [ Uninstall ] [ List Files ] [ Delete ]
7. SMF 1.0.16 / 1.1.8 Update 1.0 [ Uninstall ] [ List Files ] [ Delete ]
8. eFloating Bar for Guest & Members 0.1 [ Uninstall ] [ List Files ] [ Delete ]
9. Welcome Back 1.0 [ Uninstall ] [ List Files ] [ Delete ]
10. Show Multiple Badges (Aka Stars) 1.0 [ Uninstall ] [ List Files ] [ Delete ]
11. Restrict Email Providers on Registration 1.2 [ Uninstall ] [ List Files ] [ Delete ]
12. Look But No Read 1.3 [ Uninstall ] [ List Files ] [ Delete ]
13. Post Box Message 1.1 [ Uninstall ] [ List Files ] [ Delete ]
14. Advanced Contact Form 1.1 [ Uninstall ] [ List Files ] [ Delete ]
15. PM On Registration 1.0.2 [ Uninstall ] [ List Files ] [ Delete ]
16. Welcome Topic Mod 2.0.2 [ Uninstall ] [ List Files ] [ Delete ]
17. Child Dropdown for Board Index 1.1 [ Uninstall ] [ List Files ] [ Delete ]
18. Member Awards 1.0.2 [ Uninstall ] [ List Files ] [ Delete ]
19. Reason For Editing Mod 1.14 [ Uninstall ] [ List Files ] [ Delete ]
20. TinyPortal 1.075 [ Apply Mod ] [ List Files ] [ Delete ]
Related Error messages:
Fatal error: Call to undefined function: tp_addperms() in /home/thegr45/public_html/forum/Sources/Admin.php on line 131
Here is what I started with:
http://www.tinyportal.net/index.php/topic,29524.0.html
Error in Package Installation
At least one error was encountered during a test installation of this package. It is strongly recommended that you do not continue with installation unless you know what you are doing, and have made a backup very recently. This error may be caused by a conflict between the package you're trying to install and another package you have already installed, an error in the package, a package which requires another package that you don't have installed yet, or a package designed for another version of SMF.
6. Execute Code tp_install.php
7. Execute Modification ./index.php Test successful :)
8. Execute Modification ./Sources/Load.php Test successful :)
9. Execute Modification ./Themes/default/index.template.php Test successful :)
10. Execute Modification ./Themes/babylon/index.template.php Test successful :)
11. Execute Modification ./Sources/Subs.php Test successful :)
12. Execute Modification ./Sources/ManagePermissions.php Test successful :)
13. Execute Modification ./Sources/Security.php Test successful :)
14. Execute Modification ./Sources/Errors.php Test successful :)
15. Execute Modification ./Themes/default/Help.template.php Test successful :)
16. Execute Modification ./Sources/Profile.php Test successful :)
17. Execute Modification ./SSI.php Test successful :)
18. Execute Modification ./Sources/BoardIndex.php Test successful :)
19. Execute Modification ./Sources/QueryString.php Test successful :)
20. Execute Modification ./Sources/Subs-Post.php Test successful :)
21. Execute Modification ./Sources/Admin.php Test failed :'(
Hmmm.
Now what??
Cloud
G6 directed me to do a manual install rather assertively.
Admin.php was the only file that failed so I looked for the instructions for that file.
http://docs.tinyportal.co.uk/index.php?topic=140
OPEN FILE:
$sourcedir/Admin.php
--------------------------------------------------------------------------------
Find:
Code:
// You have to be able to do at least one of the below to see this page.
isAllowedTo(array('admin_forum', 'manage_permissions', 'moderate_forum', 'manage_membergroups', 'manage_bans', 'send_mail', 'edit_news', 'manage_boards', 'manage_smileys', 'manage_attachments'));
Replace With:
Code:
// You have to be able to do at least one of the below to see this page.
$admPerms = TP_addPerms();
isAllowedTo($admPerms);
--------------------------------------------------------------------------------
Fatal error: Call to undefined function:
tp_addperms() in /home/thegr45/public_html/forum/Sources/Admin.php on line 131
Once I made these changes and saved the Admin.php on my hosts server, I went back to the forum (I stay signed in forever) and when I selected the "ADMIN" tab, I got the Fatal Error.
Surely I must be doing something wrong. Could it simply be the capitalization?
Nope, just checked the file and highlighted, copied and pasted here:
------------------------------------------------------------------------------------------
// The main administration section.
function Admin()
{
global $sourcedir, $db_prefix, $forum_version, $txt, $scripturl, $context, $modSettings;
global $user_info, $_PHPA, $boardurl, $memcached;
if (isset($_GET['area']) && $_GET['area'] == 'copyright')
return ManageCopyright();
// You have to be able to do at least one of the below to see this page.
$admPerms = TP_addPerms();
isAllowedTo($admPerms);
// Load the common admin stuff... select 'index'.
adminIndex(isset($_GET['credits']) ? 'credits' : 'index');
--------------------------------------------------------------------------------------------
I want to thank Petee who convinced me that I could do this and I should not abandon using Tiny Portal.
Thanks in advance.
Take Care,
Cloud Walker
Do you have a file called TPSubs.php in your Sources file?
JPDeni,
No I do not. Hmmm. At anyrate, at this point, it doesn't matter, because I was able to load Simple Portal 2.2.1
Just so you know, that software preloaded many blocks and all I had to do was relocate them where I wanted them. Oh, and I had to rewrite the middle block on the "front page".
You can look here to see what I have done. http://www.asanctuary.net/forum/index.php (http://www.asanctuary.net/forum/index.php)
Thank you and may you be well,
Cloud Walker 8)