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

Recent

Welcome to TinyPortal. Please login or sign up.

April 16, 2024, 10:46:01 PM

Login with username, password and session length
Members
  • Total Members: 3,885
  • Latest: Growner
Stats
  • Total Posts: 195,164
  • Total Topics: 21,219
  • Online today: 106
  • Online ever: 3,540 (September 03, 2022, 01:38:54 AM)
Users Online
  • Users: 1
  • Guests: 53
  • Total: 54
  • @rjen

Tiny Portal install Fatal error..!!

Started by EasyRider, March 14, 2009, 11:37:41 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

EasyRider

Hi there,

I try to install tiny portal 0,98 ( SMF 1.1.8 ) and  the test results  is ok:



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 successful
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



But, when i hit the Install button i get this error:


Fatal error: require() [function.require]: Failed opening required 'C:\inetpub\vhosts\adultforumgr.com\httpdocs/Packages/temp/./tp_install.php' (include_path='.;./includes;./pear') in C:\inetpub\vhosts\adultforumgr.com\httpdocs\Sources\Packages.php on line 556


Is look like  "temp" folder missing or something similar ..?  ???
SMF  1.1.11 / TinyPortal v1.0 beta 4 /default theme

Renegd98

This usually indicates a permissions error and you need to talk to your host.

Zetan

Create a temp folder, and as Renegd98 mentions, check the files for the correct permissions. SMF has a list of permissions that need to be CHMOD to either 777 or 755

EasyRider

#3
Thanks for your replies guys..!

The server is dedicated / Remote desktop panel / Windows plesk

I try to create a folder and i called "temp" in  httpdocs/Packages/ and i see what gone happens..

Is ok this step..?  ???
SMF  1.1.11 / TinyPortal v1.0 beta 4 /default theme

IchBin


EasyRider

#5
Hi again..  :-\

I create the folder and retry to install but i get the same error:

Fatal error: require() [function.require]: Failed opening required 'C:\inetpub\vhosts\adultforumgr.com\httpdocs/Packages/temp/./tp_install.php' (include_path='.;./includes;./pear') in C:\inetpub\vhosts\adultforumgr.com\httpdocs\Sources\Packages.php on line 556


So, i go to Packages.php  line 556 and say that:

      // Now include the file and be done with it ; ).
            require($boarddir . '/Packages/temp/' . $context['base_path'] . $action['filename']);


And something else.. the "temp" folder who i create, was not exist when i see after in /Packages





And always when i go to install  the TP, SMF ask me for FTP logins to proceed:




Is so difficult to install this portal..?  :D  :o
SMF  1.1.11 / TinyPortal v1.0 beta 4 /default theme

Ken.

#6
"Is so difficult to install this portal..?"

In most cases it's very easy, but if your server/host is having file permission issues it can go wrong because the required edits are not working.
You may need to do the install manually and you can find those instructions here:
How do I manually install TinyPortal

But as Renegd98 mentioned already, you need to contact your service provider and have them change 'ownership' of the files over to you so that the package manager will work correctly.

EDIT:
When this was originally posted the link that I gave above was/is incorrect; this is the correct link for the TP.098 Mod Instruction:
http://docs.tinyportal.co.uk/index.php/topic,139.html
" If everything seems under control, you're not going fast enough." - Mario Andretti
Yesterday When I was Young.

EasyRider

i was already install 6 mods without problem and without permission issues..

1.   Ad Managment   2.3     [ Uninstall ] [ List Files ] [ Delete ]
2.   Look But No Read   1.3     [ Uninstall ] [ List Files ] [ Delete ]
3.   phpBB3_Login_Fix   1.0     [ List Files ] [ Delete ]
4.   Post Count Warning   1.1    [ Apply Mod ] [ List Files ] [ Delete ]
5.   Simple_Mood   1.0     [ Uninstall ] [ List Files ] [ Delete ]
6.   TinyPortal   0.983    [ Apply Mod ] [ List Files ] [ Delete ]
7.   YouTube BBCode   2.4     [ Uninstall ] [ List Files ] [ Delete ]


That is the strange..   :-\
SMF  1.1.11 / TinyPortal v1.0 beta 4 /default theme

EasyRider

So, about the manual install  is quiet confuse to change all those codes,  and download/upload files/directories, because the forum is online now and if something going wrong that make it more difficult..
SMF  1.1.11 / TinyPortal v1.0 beta 4 /default theme

Ken.

#9
Hi EasyRider,
It's actually not that uncommon to have install issues with Mods for SMF.

It's true that most of the time Mods will install OK, but there are lots of things that can throw the process off and server file permission issues is one that happens for some folks... it happens about 1-2 times a month on my site and each time I must contact my host so that he can run a code that returns file ownership to me.

In any case... the manual install process for TinyPortal is easy to do, it just takes a little time and careful attention to detail, plus it's a great way to learn more about how the file system for SMF/TP works.

Give it a try. :)
How do I manually install TinyPortal
EDIT:
When this was originally posted the link that I gave above was/is incorrect; this is the correct link for the TP.098 Mod Instruction:

http://docs.tinyportal.co.uk/index.php/topic,139.html


Here is little how-to that you may find useful:
Doing a manual install of TinyPortal is easy to do, you just need to follow the directions found in the Manual Install File Modifications Guide.
Take your time and read carefully as you go and it will work well.


Here's how to safely do file edits:
FileZilla
One of the better ftp utilities and it's free.
It's the only one I use.

And you'll need a good editor, here is a nice free one:
Notepad++

Any time you do anything to your forum there is one thing that you should make part of your routine, like:

Backup... Backup... Backup!

When editing a file I generally do this;

  • Make a temp folder on my desktop...
  • Open the site with the FileZilla FTP utility...
  • Download a copy of the file in question and place it in the temp folder...
  • Then download a fresh copy into my editor and edit away...
  • Go back to the site and rename the existing online copy of the file to something else, like, old_filename.php...
  • Then upload the edited version of the file.
When doing several files I wait until all of them have been edited so that they can all be uploaded at the same time.

If everything is OK then I'm finished.
If its all messed up I just delete the bad file that was uploaded, rename the good one to the correct file name and the forum is back to normal.


" If everything seems under control, you're not going fast enough." - Mario Andretti
Yesterday When I was Young.