TinyPortal

Development => Support => Installation => Topic started by: IchBin on October 31, 2005, 10:51:56 PM

Title: Basic Install Guide[old]
Post by: IchBin on October 31, 2005, 10: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
Title: Re: Basic Install Guide
Post by: dreamy_me on December 02, 2005, 09:31:16 PM
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.
Title: Re: Basic Install Guide
Post by: 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
Title: Re: Basic Install Guide
Post by: PhilH on December 03, 2005, 05:40:48 AM
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.
Title: Re: Basic Install Guide
Post by: dreamy_me on December 03, 2005, 07: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.

:)
Title: Re: Basic Install Guide
Post by: IchBin on December 03, 2005, 05:49:29 PM
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.
Title: Re: Basic Install Guide
Post by: dreamy_me on December 03, 2005, 09: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.

:) :)
Title: Re: Basic Install Guide
Post by: 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. :)
Title: Re: Basic Install Guide
Post by: BlackMagicWomen on January 06, 2006, 09:30:08 AM
Thanks, i dloaded it  ;)
Title: Re: Basic Install Guide
Post by: Xarcell on January 17, 2006, 08:19:15 PM
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âââ,¬Å¾Ã,¢
Title: Re: Basic Install Guide
Post by: ccurran on January 18, 2006, 10:05:55 PM
Gentlemen,

A properly setup web server does not need 777 file permissions; in fact, it's a dangerous practice to get into. Setting permissions to 777 to get something to work is a good indication your server isn't setup properly. Here is how I do it (on Linux):

If your server is running now, stop it:

# /path to apache install/bin/apachectl stop

In your httpd.conf file make sure the user/group fields are set:

User apache
Group apache

Then at your command prompt:

# chown -R apache:apache /path to server root/
# chmod -R 664 /path to server root/
# chmod -R a+X /path to server root/

On my system the above commands would look like this:

# chown -R apache.apache /opt/www2/htdocs/planetCurran
# chmod -R 664 /opt/www2/htdocs/planetCurran
# chmod -R a+X /opt/www2/htdocs/planetCurran

The first chmod command recursively sets all files to read/write by the owner and members of the group, and read only to the rest of the world. I allow write access to members of the apache group (i.e. my login) so that the directories can me managed via samba from a Windows box. The second chmod command recursively sets the access bit for directories (only) - resulting in directories being set to 775.

Start your apache server:
# /path to apache install/bin/apachectl start

You really, really, really don't want to go around setting all files in publicly accessed system to world writable willy nilly. That's just standing on a hill and daring God to hit you with lightning...

cheers,
Chris
Title: Re: Basic Install Guide
Post by: IchBin on January 18, 2006, 10:16:07 PM
Yes but you can only do this if you are the owner of the server. Unfortunately, MANY hosting companies do not have their servers setup properly to allow this. Writing files to 777 isn't as bad as everyone makes it out to be IMO. If you're worried about a hacker using this to their advantage you got bigger problems than worrying about your home directory.0
Title: Re: Basic Install Guide
Post by: gerrymo on January 18, 2006, 10:27:35 PM
Perhaps you should read through the following link for more info about SMF/chmod 777

http://www.simplemachines.org/community/index.php?topic=2987.0
Title: Re: Basic Install Guide
Post by: ccurran on January 18, 2006, 10:35:53 PM
LOL... Famous last words. Security isn't any one thing - it's a practice. The weakest link is where the chain breaks...

Don't take my word for any of this - it's easy to google the topic... 777 is a bad idea... Why do it wrong, when doing it right is only one more command?

cheers,
Chris

Quote from: IchBinâââ,¬Å¾Ã,¢ on January 18, 2006, 10:16:07 PM
Yes but you can only do this if you are the owner of the server. Unfortunately, MANY hosting companies do not have their servers setup properly to allow this. Writing files to 777 isn't as bad as everyone makes it out to be IMO. If you're worried about a hacker using this to their advantage you got bigger problems than worrying about your home directory.0
Title: Re: Basic Install Guide
Post by: ccurran on January 18, 2006, 10:50:30 PM
Yes, thank you - I did read it and disagree with parts of it. Mode 777 doesn't make anything "work better" - things work or they don't. Set the right user/group and file permissions and you'll have no problems. Us old unix hacks have been preaching this for 30 years (and folks still don't listen ;)).

Telling folks to set 777 "works better" for support folks because it's easier than walking some num-skull through proper server setup... but that's the only "works better" part to it.

Why run the risk when doing it safely is simply one more command?

cheers,
Chris

Quote from: gerrymo on January 18, 2006, 10:27:35 PM
Perhaps you should read through the following link for more info about SMF/chmod 777

http://www.simplemachines.org/community/index.php?topic=2987.0
Title: Re: Basic Install Guide
Post by: ccurran on January 18, 2006, 10:54:55 PM
Well, I can see that civil debate isn't tolerated here. A negative karma because of these posts? Thanks.

Over and out.
Title: Re: Basic Install Guide
Post by: IchBin on January 19, 2006, 12:52:00 AM
While I agree you shouldn't keep things 777. It shouldn't be such a big deal to have someone do it just to get mods installed. Then quickly change it back. It takes all of just a minute to do so. It sure is easier to do that then to get your host to know their operating system. IMO, you have more to worry about with any one of your programs getting exploited than you do with a 777 file or folder. I didn't touch your Karma. I'm assuming you deleted your account because of this? I'm sorry you feel karma is that important. Nevertheless it was a pleasure chatting, if you've left.
Title: Re: Basic Install Guide
Post by: PhilH on January 23, 2006, 06:55:09 AM
What an interesting twist this thread has taken. Although I don't agree with the "Quickly Departed" poster I do see the need to revise this guide. I suspect TP has evolved to the point that much of it can be removed. I would certainly add a section on the 777 issue.
Title: Re: Basic Install Guide
Post by: osquitar on January 25, 2006, 03:05:28 AM
I tried with SMF1.1RC2 and got the following message:

The package you are trying to download or install is either corrupt or not compatible with this version of SMF.

What can I do?
Title: Re: Basic Install Guide
Post by: Xarcell on January 25, 2006, 03:10:03 AM
v7 doesn't work with Rc2.
Title: Re: Basic Install Guide
Post by: osquitar on January 25, 2006, 03:26:27 AM
What about this site?

It's RC2
Title: Re: Basic Install Guide
Post by: PhilH on January 25, 2006, 05:28:26 AM
Yes but the TP version, also shown at the bottom of the page, is v0.8.5
Title: Re: Basic Install Guide
Post by: osquitar on January 26, 2006, 05:06:36 AM
Can I install v0.75 and smf1.1RC1 with this Basic Install Guide?
Title: Re: Basic Install Guide
Post by: PhilH on January 26, 2006, 05:58:24 AM
yes, some of the errors and details won't apply but overall the guide is still usable.
Title: Re: Basic Install Guide
Post by: osquitar on January 26, 2006, 06:56:38 AM
I get the following error from the server when I set up the CHMOD to 777:


Internal Server Error


The directory containing /usr/local/psa/home/vhosts/perujoomla.com/httpdocs/foro01.perujoomla.com/index.php cannot be world writable.


Tip:  If you are the owner of this site, more info is at the Globat knowledgebase.
Title: Re: Basic Install Guide
Post by: IchBin on January 26, 2006, 01:26:35 PM
Looks like your host won't allow you to do this. If you still can't install TP after this, I would tell them they need to give apache permission to write to the files in your directory if they won't allow you to have it writeable.

This is exactly what I was talking about in another thread with servers not being setup properly for SMF to work.
Title: Re: Basic Install Guide
Post by: PhilH on January 26, 2006, 03:15:48 PM
Has anyone seen a "test mod" over at SMF? of perhaps one of the test scripts.php has some useful info.

It would be so cool if a benign testing script could be installed that would indicate if TP is going to work or install correctly. Something like spelltest.php...call it modtest.php or packagetest.php or what the heck....tptest.php
Title: Re: Basic Install Guide
Post by: IchBin on January 26, 2006, 10:29:58 PM
The package manager tells you if it will work or not when you do a test install. Unfortunately it can not cover ever server mishap.
Title: Re: Basic Install Guide
Post by: osquitar on January 27, 2006, 12:18:18 AM
I reach "Please restart your forum to see changes". After that, the page becomes blank. My server doesn't show errors because they have php.ini set so. I guess there are one or more php errors, but I can't see them.
Title: Re: Basic Install Guide
Post by: Rasyr on January 27, 2006, 03:01:14 AM
Quote from: osquitar on January 27, 2006, 12:18:18 AM
I reach "Please restart your forum to see changes". After that, the page becomes blank. My server doesn't show errors because they have php.ini set so. I guess there are one or more php errors, but I can't see them.

Use an FTP program to look at the TPortalxxx.php files in your Themes/default directory, and check their file size. Sometimes, in SMF 1.1 RC1, SMF would upload zero byte files, and that could cause it to act like that.

If they are zero byte sized files, then you will need to upload the files to the proer directory (some to the Themes/default, some to Sources, and some to some of the images folders under Themes/default).

If this is the problem, just uploading the files manually should fix this.

Title: Re: Basic Install Guide
Post by: osquitar on January 27, 2006, 03:37:03 AM
All files TP*.php inside Themes/default have 0 bytes!!

I am going to extract them from the zip file and upload

Thanks!!

I hope it works.

Title: Re: Basic Install Guide
Post by: Rasyr on January 27, 2006, 03:48:26 AM
Just be careful which directory you put them in...

Some go in Sources, some in Themes/default, some in Themes/default/images (and some in one or two of the folders under images).

Title: Re: Basic Install Guide
Post by: osquitar on January 27, 2006, 03:54:00 AM
I have founded a lot of files. Most of them start with TP. It's so extrange...
Title: Re: Basic Install Guide
Post by: osquitar on January 27, 2006, 03:59:20 AM
I'm so glad!!!!

It works. It seems fine... I'm listening Tin Man right now, from America. It's the first time that I have a Tiny Portal. It may be a great day!

Thanks a lot!
Title: Re: Basic Install Guide
Post by: osquitar on January 27, 2006, 04:47:55 AM
What about the theme? Tiny Portal just works with SMF Defaul Theme. I have installed Cerberus but Tiny Portal does not appear. Are different themes for Tiny Portal and SMF?
Title: Re: Basic Install Guide
Post by: PhilH on January 27, 2006, 05:35:13 AM
You must use themes that have been created or modified for use with TP.
http://www.tinyportal.net/smf/index.php?board=62.0

Glad you got TP installed. Now the fun really starts. :)
Title: Re: Basic Install Guide
Post by: deram on January 28, 2006, 01:00:30 PM
Damn this is confusing.......

I thought downloading smf insterad of phpbb or one of the other forums was easier because of the famous "one click installation of mods". and now it seems that I have to do all kinds of stuff manually... :/

As far as I know the latest released version of smf is 1.0.6 but it seems the forums supporting smf have no interest in supporting new users, because most posts are geared towards avantgarde users of betas like 1.1 etc.

I am new at this and recently installed smf 1.0.6.

Now I am looking for a portal and after that a theme. It is however much easier to find tp install instructions for the beta versions than for the "mainstream" versions. So, if anyone could help me with installing tp on smf 1.0.6, I would appreciate it a lot.

Cheers,

Deram
Title: Re: Basic Install Guide
Post by: TuomoL on January 28, 2006, 01:12:14 PM
I updated my forum to SMF 1.1 RC2 and then I tried to install Tiny Portal ver. 0.7.5

All I got, is one error message, saying something like this in english: Packet you are trying to install is either corrupted or not compatible with your version of SMF.

I use other language, so don't know the exact english error message.
Title: Re: Basic Install Guide
Post by: G6Cad on January 28, 2006, 01:58:23 PM
You have to wait until the TP 0.8* cause that one is the only one compatible with 1.1rc2.

tp 0.75 only works with 1.0.* to rc1.1 rc1

Bloc are on it, and will release it as soon as his done with it.
Title: Re: Basic Install Guide
Post by: IchBin on January 28, 2006, 09:34:13 PM
1.0.6 comes out yesterday and you guys expect TP to be ready today? Wow....
Give Bloc a chance to update his stuff. He has always does, so just take a seat and wait patiently.

These TP install instructions were made at the time for what version of SMF had been released. Nobody has had the time to update them. If you really want to install TP open up the mod file and make the manual changes yourself.
Title: Re: Basic Install Guide
Post by: crip on January 28, 2006, 09:56:16 PM
Yeah,
besides all that; his kids are sick...

crip
Title: Re: Basic Install Guide
Post by: deram on January 29, 2006, 02:50:53 AM
Quote from: IchBin? on January 28, 2006, 09:34:13 PM
1.0.6 comes out yesterday and you guys expect TP to be ready today? Wow....
Give Bloc a chance to update his stuff. He has always does, so just take a seat and wait patiently.

These TP install instructions were made at the time for what version of SMF had been released. Nobody has had the time to update them. If you really want to install TP open up the mod file and make the manual changes yourself.

Well, as I understand it 1.0.6 is just including a security patch on 1.0.5, so just replace 1.0.6 with the older 1.0.5 and it would be the same.

so basically:
_________________________________________

Damn this is confusing.......

I thought downloading smf insterad of phpbb or one of the other forums was easier because of the famous "one click installation of mods". and now it seems that I have to do all kinds of stuff manually... :/

As far as I know the latest released version of smf is 1.0.5 but it seems the forums supporting smf have no interest in supporting new users, because most posts are geared towards avantgarde users of betas like 1.1 etc.

I am new at this and recently installed smf 1.0.5.

Now I am looking for a portal and after that a theme. It is however much easier to find tp install instructions for the beta versions than for the "mainstream" versions. So, if anyone could help me with installing tp on smf 1.0.5, I would appreciate it a lot.

Cheers,

Deram
Title: Re: Basic Install Guide
Post by: deram on January 29, 2006, 03:00:59 AM
I am looking for a front page like this more or less...

http://www.rapidshare.se/?1015891

Any help would be very appreciated.

Cheers,

Deram
Title: Re: Basic Install Guide
Post by: PhilH on January 29, 2006, 03:40:36 AM
@ deram.

I suggest you skip SMF 1.05 or 1.06 and install 1.1RC2. RC2 is far superior to any of its predecessors. I also suggest you spend some time learning the admin section and all the available features. After you are comfortable with SMF, install the appropriate TP that is available at the time.

If you must have it all now then install RC1 and TP 0.75.

Title: Re: Basic Install Guide
Post by: PhilH on January 29, 2006, 04:02:27 AM
Quote from: IchBinâââ,¬Å¾Ã,¢ on January 28, 2006, 09:34:13 PM
These TP install instructions were made at the time for what version of SMF had been released. Nobody has had the time to update them.

I am working on a rewrite. Hope to have it up this weekend.
Title: Re: Basic Install Guide
Post by: Blue Steel on January 30, 2006, 03:33:42 PM
OK.. silly question... what am i to do ..

SMF only has 1.0.6 and 1.1 RC2 up...
and TP is still only .75

So i can't test it with either :(

I would like to become an alpha tester if that's possible.. and maybe even help convert some modules over

I've set it up on my home system in prelude to putting it up on my real web site.. so that i can test it all out..

From what i can see its just what the doctor ordered.. and i can't wait to enter the water
Title: Re: Basic Install Guide
Post by: bloc on February 01, 2006, 09:18:10 AM
TP0.8 is very close to release..but i am changing TP0.75 to work with 1.0.6 now. After all, its only a entry in the package.xml file that needs updating, the modding instructions are exactly the same.
Title: Re: Basic Install Guide
Post by: TuomoL on February 01, 2006, 03:13:47 PM
Quote from: BlueSteel on January 30, 2006, 03:33:42 PM
SMF only has 1.0.6 and 1.1 RC2 up...
and TP is still only .75

You can find 1.0.5 and older versions from SMF archive.
http://www.simplemachines.org/download.php?archive
Title: Re: Basic Install Guide
Post by: Glander on February 01, 2006, 10:40:43 PM
Well, I read this afternoon on the forum someone installed 0.75 for RC2 manually. I was looking for him, but now I read the 0.80 is coming soon, I can wait for some days. Just starting with the RC2 for 2 days.

I love it, but my wife is calling several times last two night, Whaaaa. Can you imagine what happens when Bloc release .80?????

Take your time Bloc. Then we know it's good :D
Title: Re: Basic Install Guide
Post by: crip on February 01, 2006, 10:44:16 PM
It's very good indeed! 8)
Title: Re: Basic Install Guide
Post by: Glander on February 01, 2006, 11:06:13 PM
Quote from: crip on February 01, 2006, 10:44:16 PM
It's very good indeed! 8)

I see, your face seems happy. :D
Title: Re: Basic Install Guide
Post by: firefly on February 08, 2006, 12:50:44 PM
First, my sincere congratulations for TinyPortal. It works, right out of the box. It integrates with SMF perfectly.

For a CMS to install just like any other SMF mod - two clicks is all it took - is a considerable achievement.

In the installation zip is a file called TP_mod_instruction.txt which contains mods to smf files for a new install. I have not needed to use this. Does it have a purpose? If so, it would be good to mention it here. If not, it should be deleted, to avoid possible confusion.

On making a post to my smf/tp, I noticed that a system image was missing - Themes/default/images/TPmodify.gif - a search on google found one of the same name and I then placed it in the right folder - it does the job fine. If anyone needs it, they can get it here:
http://esolutionswork.com/Themes/default/images/TPmodify.gif

Thanks again!
Title: Re: Basic Install Guide
Post by: sunwest on February 13, 2006, 06:22:02 PM
I cannot install the TP package because I continue to get this error
QuoteYou cannot download or install new packages because the Packages directory or one of the files in it are not writable!
This happens even though I have checkd and rechecked numerous times and all the files are 777.

Title: Re: Basic Install Guide
Post by: elpvn on February 13, 2006, 06:33:24 PM
In your SMF site (request login by administrator account to get pemision for this action) go to Admin --> Main --> --> Packages-->Package Manager -->Options -->Cleanup Permissions and select Only the standard files are writable and click on Change File Permissions

Now you can install TP as normal SMF mods  O0

Title: Re: Basic Install Guide
Post by: sunwest on February 13, 2006, 07:03:39 PM
Thanks for the response, but that didn't help.  I get the same message as before.

I also tried to install it manually using the tp_install.php file with no success.  I get an entire series of error messages similar to the following:
QuoteWarning: mysql_query(): Access denied for user: 'apache@localhost' (Using password: NO) in /home/httpd/vhosts/sunwest-internet.net/httpdocs/TinyPortal/tp_install.php on line 16

Warning: mysql_query(): A link to the server could not be established in /home/httpd/vhosts/sunwest-internet.net/httpdocs/TinyPortal/tp_install.php on line 16

Warning: mysql_query(): Access denied for user: 'apache@localhost' (Using password: NO) in /home/httpd/vhosts/sunwest-internet.net/httpdocs/TinyPortal/tp_install.php on line 24

Warning: mysql_query(): A link to the server could not be established in /home/httpd/vhosts/sunwest-internet.net/httpdocs/TinyPortal/tp_install.php on line 24
Title: Re: Basic Install Guide
Post by: sunwest on February 13, 2006, 07:32:25 PM
The forum is one of several sites installed on a virtual dedicated server.
Title: Re: Basic Install Guide
Post by: PhilH on February 14, 2006, 04:06:55 AM

@ sunwest

Ask your host to change the ownership and permissions for the directory in which you have SMF installed to settings that will allow you to own and write to the SMF directory.
Title: Re: Basic Install Guide
Post by: sunwest on February 14, 2006, 12:14:16 PM
I don't understand your response.  I am the owner and host for the server.  All sites on the server are my own sites.  I have changed the permissions as required by the installation guide.
Title: Re: Basic Install Guide
Post by: bloc on February 15, 2006, 12:23:18 AM
Maybe its a security setting that needs to be more relaxed? I don't know.I do know that changing host for me solved that problem, so it must the setup on the server that cause it.
Title: Re: Basic Install Guide
Post by: IchBin on February 15, 2006, 03:55:25 AM
What OS are you running on the server sunwest?
Title: Re: Basic Install Guide
Post by: sunwest on February 15, 2006, 04:09:11 AM
It's a Linux server.
Title: Re: Basic Install Guide
Post by: IchBin on February 15, 2006, 04:18:30 AM
I know you've checked permissions, but somehow this seems to be the problem. When you see something like this for manual install:
Warning: mysql_query(): Access denied for user: 'apache@localhost' (Using password: NO) in /home/httpd/vhosts/sunwest-internet.net/httpdocs/TinyPortal/tp_install.php on line 16

Notice that it says access denied for the user apache. What is happening is that SMF uses the webserver user (apache) to install the database tables. Your database isn't excepting the user "apache" as a legitimate user. Maybe because it says (using password NO)?....

Permissions need to be changed to allow the webserver, php, and mysql to communicate properly. Since it's a dedicated server I'm assuming you're not in charge of setup?

I'm pretty sure your problems are because of the way the OS and software are setup though.

One thing you can try with the manual install is to check who is the owner of the file. Then change it to a user that is excepted by the mysql server. (probably your user name and NOT "apache".)
Title: Re: Basic Install Guide
Post by: PhilH on February 15, 2006, 04:45:58 AM
sunwest....IchBin gave you a good explanation of what I was getting at. I agree with Bloc and IchBin, the problem is in your server configuration.

PM me if you want some help.
Title: Re: Basic Install Guide
Post by: sunwest on February 15, 2006, 11:50:18 AM
Thanks guys.  I'll try your recommendations this morning and let you know.
Title: Re: Basic Install Guide
Post by: sunwest on February 16, 2006, 03:25:59 PM
OK - I got the package installed.  But now I'm really confused.  The only thing that seems to have happened is that my boards are now not accessible.  All I get when opening the forum site is the theme and a blank section where the boards normally would be visible.  It says -  There are no articles in this section yet.

I have checked the TinyPortal admin section on blocks and settings, made slome adjustments, but still no visible presence of the TinyPortal on the home page.  Any suggestions?

By the way, the site URL is http://www.sunwestnet.net/forum/index.php
Title: Re: Basic Install Guide
Post by: borgBOB on February 16, 2006, 03:36:25 PM
I just registered on your site, approve me so I can take a look please.
Title: Re: Basic Install Guide
Post by: sunwest on February 16, 2006, 04:05:41 PM
OK, you're approved! 
Title: Re: Basic Install Guide
Post by: borgBOB on February 16, 2006, 04:12:39 PM
OK, first, I do not think Epsilon Is a TP theme.  I cannot change the them to anything else.
Title: Re: Basic Install Guide
Post by: sunwest on February 16, 2006, 04:28:04 PM
I got that theme from the TP site, here - http://www.tinyportal.net/smf/index.php

Anyway, I changed the theme to SMF default, and the TP info now appears.  I can use that for the time being, but I liked the style of the Epsilon theme.  Thanks for your help.  If you have any suggestions later on the Epsilon theme, please let me now.
Title: Re: Basic Install Guide
Post by: borgBOB on February 16, 2006, 04:46:41 PM
Yes, it confuses many people. Bloc makes themes for SMF. He also makes a version of those same themes for SMF + TP. (but not Epsilon yet) And Bloc makes the TP mod for SMF. So there are about 6 versions of most themes.

SMF 1.0.x
SMF 1.0.z + TP
SMF 1.1 RC1
SMF 1.1 RC1 + TP
SMF 1.1 RC2
SMF 1.1 RC2 + TP
Title: Re: Basic Install Guide
Post by: IchBin on February 16, 2006, 05:42:00 PM
It is now Bob.
http://www.tinyportal.net/smf/index.php?topic=2720.msg23472;
Title: Re: Basic Install Guide
Post by: sunwest on February 16, 2006, 07:17:25 PM
Thanks for that info, IchBin.  My Epsilon theme is now up and running.
Title: Re: Basic Install Guide
Post by: DrakeBrimstone on February 20, 2006, 06:52:38 AM
I keep getting the following error when attempting to install the pacakge

2: copy(e:\Inetpub\wwwroot\forums/Themes/default/images/divider.gif) [<a href='function.copy'>function.copy</a>]: failed to open stream: Permission denied
File: e:\Inetpub\wwwroot\forums\Sources\Subs-Package.php
Line: 961


I'm of course running WinXP Pro with IIS, MySQL, PHP and SMF installed Iv'e done everyting I could to give full permissions, the FTP program I downloaded wont' even let me change permissions (option is grayed out) I'm wondering if I'm going to have to manualy install (that would suck)

How can I get it installed if it won't even let me copy the files!
Title: Re: Basic Install Guide
Post by: G6Cad on February 20, 2006, 09:51:41 AM
Why dont you try to use another ftp program ?

One good i tryed out lasst night was the FileZilla.
If you do a google on it, you find it for download and itÂÃ,´s free.
Title: Re: Basic Install Guide
Post by: DrakeBrimstone on February 20, 2006, 03:32:23 PM
Actualy, I checked further, for some reason my server doesn't support changing permissions. Accessing it via the browser ftp:// method and rightclicking and selecting properties of anyting reveals this.

Still, I use windows to set the permissions for every uesr and group to have permissions that i can think of, I use IIS to set the read write and script / executable permissions (though the executable permission I only set while i was attempting it, dangours thing.) NOTHING is working.


.... Update I just looked through the permissions for my FTP site, and all I had to do was set it up to be viewed in UNIX style to set permissions, though it looked as though it was already set to 777 going to try installing now


.... Nope, all permissions are set ot 777 and I still can't do it, same error apparently this is not a server permissions problem it's got to be some other permissions.

Is there anything in PHP I might need to change the settings for? Could this be a PHP permissions error?
Title: Re: Basic Install Guide
Post by: bloc on February 20, 2006, 03:35:46 PM
Might be the mod-security module - if you have that installed.

But if all fails, a manual install is an option. Harder, but it should be possible.
Title: Re: Basic Install Guide
Post by: DrakeBrimstone on February 20, 2006, 03:55:48 PM
Only mod I have installed in SMF is "MySQL 5.0.12 Compatibility Update"

Looks like I have to do it the long way, is there a guide to do it the long way?
Title: Re: Basic Install Guide
Post by: DrakeBrimstone on February 20, 2006, 04:25:59 PM
Ok,I'm an idiot, I had version 1.0.6 not RC2 installed that was the entire problem.
Title: Re: Basic Install Guide
Post by: G6Cad on February 20, 2006, 04:29:24 PM
Thats one of the best reasons to apply a link to the site asked about ;)
If a link had been aplyed to the post, that have saved you a lot of time  :2funny:
Title: Re: Basic Install Guide
Post by: DrakeBrimstone on February 20, 2006, 04:52:35 PM
Well, I screwed something else up now so it wouldn't help atm. (Was asking me for my windows username and password to access the site!) Now that i got that fixed the forum is broken... Guess I'll wipe it and reinstall fresh. At least now I know what I was doing wrong.
Title: Re: Basic Install Guide
Post by: oliver on February 26, 2006, 04:10:44 AM
Hello all.

I just finished installing TP on my forum but it seems that is working only with the default theme.

I also tyred to see if is working with the Epsilon theme but is not working even with that.

Is any idea why ?
Title: Re: Basic Install Guide
Post by: Yngwiedis on February 26, 2006, 04:31:26 AM
Maybe you dont download the TP ready themes.
Are you sure the themes you install is TP ready ?
Title: Re: Basic Install Guide
Post by: oliver on February 26, 2006, 04:33:50 AM
No the 7dana theme that I had as the default is not but Epsilon theme I suppose is TP ready because I download it today from this site. I'm not sure.
Title: Re: Basic Install Guide
Post by: Yngwiedis on February 26, 2006, 04:35:25 AM
There are 2 download areas.
One just for SMF and one for SMF + TP.
The themes are different for each situation.
Title: Re: Basic Install Guide
Post by: oliver on February 26, 2006, 04:37:51 AM
I see.

Is any way to make at least my default theme to work with TP ? I relay don't want to change that from the default. I have long time that I'm keeping that and most of my members prefere it.
Title: Re: Basic Install Guide
Post by: Yngwiedis on February 26, 2006, 04:41:39 AM
Here it is the Epsilon theme for TP :  http://www.tinyportal.net/smf/index.php?topic=2720.0

Here is a guide to help you convert themes so can be TP compatible : http://www.tinyportal.net/smf/index.php?topic=1317.0
Title: Re: Basic Install Guide
Post by: oliver on February 26, 2006, 04:44:54 AM
Thanks a lot. I'm starting working right way.

I have finished the translation for the buttons in Albanian Language for the Epsilon Theme and I will start the Translation. Once I have them ready I will provide them here just in case someone might need them.

Thank You
Title: Re: Basic Install Guide
Post by: AVainberg on April 01, 2006, 06:11:33 PM
Just installed TP + SMF it was a breeze. I have to learn how to use this baby. Great Job.
Title: Re: Basic Install Guide[old]
Post by: Vinspire on July 27, 2006, 11:12:27 PM
Quote from: sunwest on February 13, 2006, 06:22:02 PM
I cannot install the TP package because I continue to get this error
QuoteYou cannot download or install new packages because the Packages directory or one of the files in it are not writable!
This happens even though I have checkd and rechecked numerous times and all the files are 777.



I keep getting this error eventhough i've set the file permission from 777 to 755 and followed some of the suggestion given by fe of the TP Team. Is it possible for someone to have a look at my site ?

www.wangcome.biz/forum/

thanks a bunch :(
Title: Re: Basic Install Guide[old]
Post by: SRaven on November 30, 2006, 07:01:20 AM
I'm getting the same thing! I changed the permissions to 777 and even did it again by following the instructions given earlier in this thread, by going to packages>Options> and under cleanup permissions, selected 'Only the standard files are writable.'

Please help! :(

EDIT:   Nevermind. I got it to install. If this happens to YOU, Follow the intructions in the FAQ and make sure you have a folder in your packages dir called 'temp' and make sure its writable.

That was my problem, I didn't have that temp folder....