News: Welcome to the TinyPortal Support site.

Login  |  Register
HTML5 Icon HTML5 Icon
TP on Social Media
Welcome, Guest. Please login or register.
Did you miss your activation email?

November 16, 2019, 09:45:45 PM

Login with username, password and session length

Recent

Members
Stats
  • Total Posts: 189259
  • Total Topics: 20772
  • Online Today: 201
  • Online Ever: 629
  • (November 08, 2018, 01:36:54 PM)
Users Online
Users: 0
Guests: 187
Total: 187

Author Topic: Basic Install Guide[old]  (Read 29258 times)

0 Members and 1 Guest are viewing this topic.

Offline IchBin™

  • Developer
  • *
  • Posts: 16228
    • My Website
Basic Install Guide[old]
« on: October 31, 2005, 03:51:56 PM »
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
« Last Edit: December 07, 2005, 09:25:05 AM by IchBinâ„¢ »

dreamy_me

  • Guest
Re: Basic Install Guide
« Reply #1 on: December 02, 2005, 02:31:16 PM »
Hya,

Quote
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.

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.

Offline IchBin™

  • Developer
  • *
  • Posts: 16228
    • My Website
Re: Basic Install Guide
« Reply #2 on: December 02, 2005, 06:21:09 PM »
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

  • Guest
Re: Basic Install Guide
« Reply #3 on: December 02, 2005, 10:40:48 PM »
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

  • Guest
Re: Basic Install Guide
« Reply #4 on: December 03, 2005, 12:45:00 AM »
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.

 :)

Offline IchBin™

  • Developer
  • *
  • Posts: 16228
    • My Website
Re: Basic Install Guide
« Reply #5 on: December 03, 2005, 10:49:29 AM »
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

  • Guest
Re: Basic Install Guide
« Reply #6 on: December 03, 2005, 02:27:28 PM »
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.

 :) :)

Offline IchBin™

  • Developer
  • *
  • Posts: 16228
    • My Website
Re: Basic Install Guide
« Reply #7 on: December 03, 2005, 10:21:19 PM »
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

  • Guest
Re: Basic Install Guide
« Reply #8 on: January 06, 2006, 02:30:08 AM »
Thanks, i dloaded it  ;)

Xarcell

  • Guest
Re: Basic Install Guide
« Reply #9 on: January 17, 2006, 01:19:15 PM »
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â„¢