TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

March 29, 2024, 06:27:12 AM

Login with username, password and session length
Members
Stats
  • Total Posts: 195,106
  • Total Topics: 21,213
  • Online today: 358
  • Online ever: 3,540 (September 03, 2022, 01:38:54 AM)
Users Online
  • Users: 0
  • Guests: 247
  • Total: 247

Basic Install Guide[old]

Started by IchBin, October 31, 2005, 10:51:56 PM

Previous topic - Next topic

0 Members and 3 Guests are viewing this topic.

IchBin

This is the guide as it stands now, Thanks to PhilH and zuma.


Installation Guide

SMF v1.1 Beta 3
TinyPortal 0.72b_180805

Server types Shared, Dedicated and VPS
Safe Mode OFF

Important Note for existing SMF installations with data and/or modifications.

Please back up your data and modifications before installation of Tiny Portal. These installation instructions have been thoroughly tested on a clean install of SMF v1.1 Beta 3 with no data or modifications of any kind. But they have NOT been tested with modified boards. Before starting on the installation of Tiny Portal, make sure you will be able to fully recover if something goes wrong by reinstalling your SMF, your data and mods.

Installation of SMF

If not already installed, install SMF according to SMF documentation.

After installation you should be automatically logged in as Admin.

Go into the Admin Panel > Forum Errors Log and confirm that you have no errors.
If you have errors, find out what’s causing them and correct them before proceeding with your Tiny Portal installation.


Set permissions for all directories and files to 777

There are two ways to do this:
- using a feature in the SMF Package Manager
- using your server Admin Panel or FTP software.

Using the SMF Package Manager

Go to Package Manager > Installation Options > Cleanup Permissions > Select  All are files writable and click on "Go"

Then fill out the FTP Information Required screen using the following guidelines.

The FTP screen will appear like thisâ€Ã,¦

FTP Server: localhost             Port: 21
Username:   
Password:   
Local path to SMF: (there will be a suggested starting path here)

It’s a case of experimenting to find out the exact information your server requires.

Try this firstâ€Ã,¦

Just fill in your FTP Username and Password and click on Proceed

It may work, or it may come back with an error


Quote
550 /smf-install-directory/: No such file or directory

And fill in a suggested path in the Local path to SMF field.

Click on Proceed to try again.

If it still doesn’t work, try entering ftp://your.domain.com in the FTP Server: field

FTP Server: ftp://your.domain.com      Port: 21
Username:   
Password:   
Local path to SMF: (there will be a suggested starting path here)

If it still comes back with an error, you will need to seek assistance in the SMF forum to find out the correct information
OR
use the method described in the next section.


Using Your Server Admin Panel Or FTP Software.

Use your server Admin Panel or FTP to chmod ALL directories and files including the root directory of your SMF installation to 777.

Your FTP software should contain a checkbox or similar which allows you to chmod the SMF root directory and ALL sub directories and files in one operation.

Important: If some directories and files in your SMF installation are not set to 777, you may encounter errors. Please BE SURE all directories and files are set to 777 before proceeding.


Install Tiny Portal in Package Manager.

Click on Download Packages > Package to Upload: Browse (to Tiny Portal zip file on your HDD)

Then Tiny Portal will appear and click on [Apply Mod] link on the right hand side of the screen.

Now you should see a big list of actions headed - Installation actions for "TinyPortal"  Be sure it says "Test successfulâ€Ã, on the three source mods at the bottom



Quote
33. Execute Modification index.php Test successful
34. Execute Modification ./Sources/Load.php Test successful
35. Execute Modification ./Themes/default/index.template.php Test successful


If it doesn’t, don’t proceed. You will need to check your file permissions are set to 777 using chmod via your FTP software.

At the bottom of this long list, click on Install Now. Then you should receive this message from SMF


Quote
Extracting Package
The package was installed successfully. You should now be able to use whatever functionality it adds or changes; or not be able to use functionality it removes.


And this message will appear above the forum name at the very top of the screen.


Quote
Tiny Portal v0.72beta
Settings table was created.
--> default values were added to the settings table.
Blocks table was created.
--> default values were added to the blocks table.
Variables table was created.
Articles table was created.
Done. Please restart your forum.


Restart your forum and start using it with the SMF Default theme then check your Forum Errors Log. If it is still empty you can install TP themes.

Tiny Portal Bloc Theme installation

1   Download your preferred TP theme from BlocZone.
2   In SMF, go to Admin > Themes and Layout > Install a New Theme
3   Click on Browse and find the theme you downloaded in step 1
4   Select the file eg mercury11.tar.gz â€ââ,¬Å" and then click on Install
5   Answer OK to the popup asking "Install a New Theme?"
6   It should now say "(your theme) was installed successfully"
7   Now click on Manage and Install in the horizontal menu.
8   Select your theme from the drop down box labelled Overall forum default:
9   Click on Save


Configuration of Tiny Portal

You will see an additional button has appeared on the top horizontal menu called TPAdmin. Click on this to enter the TP Admin Panel where you can set up  the leftbar, rightbar, centerbar, menus, blocks, articles and other features.


Possible Error messages

Most errors seem to be caused by an incomplete installation due to files or directories not being set to 777.


Quote
Fatal error: packageinstall(): Failed opening required '/home/httpd/vhosts/ your_domain.com /httpdocs/ smf_dir /Packages/temp/./tp_install.php' (include_path='.:/usr/share/pear') in /home/httpd/vhosts/ your_domain.com /httpdocs/ smf_dir /Sources/Packages.php on line 499

You may be able to recover by thoroughly rechecking your CHMOD settings are all 777 and then in SMF, re-enter the Packages menu and click on Apply Mod again.



Quote
Fatal error: packageinstall(): Failed opening required '/home/httpd/vhosts/your_domain.com/httpdocs/smf_dir/Packages/temp/./tp_install.php' (include_path='.:/usr/share/pear') in /home/httpd/vhosts/ your_domain.com /httpdocs/ smf_dir /Sources/Packages.php on line 499

This error generally occurred after clicking on Install Now - even though it said â€Ã...“Test successful â€Ã...“ in the list of actions to be performed.

If you do encounter this error, you may be able to recover by manually checking all file permissions are set to 777 as described above. Then in SMF, re-enter the Packages menu and click on Apply Mod on the TinyPortal line down below.

If any errors persist, please make a clean install of SMF and try again.

Note: After installing TinyPortal you MUST use a TP ready theme in order to see Tinyportal on any theme other than the default theme.
Found here:
http://www.tinyportal.net/smf/index.php?board=31.0

dreamy_me

Hya,

QuoteImportant: If some directories and files in your SMF installation are not set to 777, you may encounter errors. Please BE SURE all directories and files are set to 777 before proceeding.

Not to take anything away from your fab tut on installing SMF BUT:

never ever ever open files or folders
in cpanel to 777

files should be 644 top a max of 666 or maybe once in a blue moon 755 for read write
and ruturned to 644 after setup

folders must only be 755 unless it is a data folder with no files in it other than a writable config file

but in the main files should be only 644 and folders 755

HOST.

IchBin

And what is your reasoning for this? Reason I say this is because of a great post I read at SMF once.

http://www.simplemachines.org/community/index.php?topic=2987

PhilH

Quote from: IchBinâââ,¬Å¾Ã,¢ on December 03, 2005, 01:21:09 AM
And what is your reasoning for this? Reason I say this is because of a great post I read at SMF once.

http://www.simplemachines.org/community/index.php?topic=2987


dreamy_me, If you have some reasons in support of your statements please post them. Everything credible that I have read or heard is consistent with the thread Ichbin posted. The security issue, as I understand it, is the type of server you are on and how it is setup.

dreamy_me

Hya,

That of mine came from ukhost. apparently the tech bloke had to alter the chmod after I set t mine to 777. I did that because from what I gather round the net its what you do. I have no other explanation than that, sorry  I chBin.

Maybe its how they work.

:)

IchBin

No problem dreamy_me. Many people have issues with Unknowns opinion on chmod. I for one happen to agree with what he says. A big thing to keep in mind is that your root directory NOT be 777. The whole reason the files in SMF have to be 777 is for the package manager to work properly.

dreamy_me

Hya IchBin,

Well, my main idea for the post/message is so no one is open to attack, so easy these days. secondly that advice to me was'nt so long ago so I thought I would share it. the tut is brilliant for the newbies as is and did'nt want to step on toes.

Listen me. i'm new to SMF myself...lmaooooo certainly had enough help off your good self IchBin for which I thank you. only a few questions left then I think we will be sorted.

:) :)

IchBin

No problem Dreamy_me. That's why I'm here. I figure the less Bloc has to answer all the questions the more he can work on TinyPortal. :)

BlackMagicWomen


Xarcell

Quote from: IchBinâââ,¬Å¾Ã,¢ on December 04, 2005, 05:21:19 AM
No problem Dreamy_me. That's why I'm here. I figure the less Bloc has to answer all the questions the more he can work on TinyPortal. :)

hehe


Hail IchBinâââ,¬Å¾Ã,¢