TinyPortal

Development => Support => Installation => Topic started by: stikkki on January 13, 2009, 07:35:55 PM

Title: Manual Install Error
Post by: stikkki on January 13, 2009, 07:35:55 PM
Im attempting to install TP 0.9.8 on SMF 1.1.7 and all seemed to go fine untill i rant the manual_tp_install.php and recieved the following error

Fatal error: require_once() [function.require]: Failed opening required '/home/bullbree/public_html/smfduplicate/Sources/TPSubs.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/bullbree/public_html/smfduplicate/Sources/Subs.php on line 3118

the manual instructions call for

// tinyportal //
global $sourcedir;
require_once($sourcedir.'/TPSubs.php');
TPcheckAdminAreas();
// end //


to be added after

= allowedTo(array('admin_forum', 'manage_boards', 'manage_permissions', 'moderate_forum', 'manage_membergroups', 'manage_bans', 'send_mail', 'edit_news', 'manage_attachments', 'manage_smileys'));

which i have

// Set up the menu privileges.
$context['allow_search'] = allowedTo('search_posts');
$context['allow_admin'] = allowedTo(array('admin_forum', 'manage_boards', 'manage_permissions', 'moderate_forum', 'manage_membergroups', 'manage_bans', 'send_mail', 'edit_news', 'manage_attachments', 'manage_smileys'));

// tinyportal //
global $sourcedir;
require_once($sourcedir.'/TPSubs.php');
TPcheckAdminAreas();
// end //


but im getting the error mentioned above, anyone have any advice please to rectify this issue
Title: Re: Manual Install Error
Post by: G6Cad on January 13, 2009, 07:43:00 PM
Did you go the manual way compleatly, or did you install through the package manager ?

You should not get that error by running the manual_tp_install.php from your browser, that file only execute the db install, and nothing with the files.
Title: Re: Manual Install Error
Post by: stikkki on January 13, 2009, 07:52:38 PM
sorry just read back what i put, i worded it wrong, running the manual_tp_install.php went fine its when i tried to go back to the forum afterwards that i got that error come up

i done the full manual install as my working site wont take the package manager install so ruunning a manual install on test site before trying working site and i got that error in the Subs.php


this is forum link http://www.bullbreedluverz.com/smfduplicate/index.php

Title: Re: Manual Install Error
Post by: G6Cad on January 13, 2009, 07:58:37 PM
You cant just run the db install, you have 2 more steps to take before TP is installed to your foru,

1. Extract the tp package, and then upload all the files in the package manually to your forum folder.

2. Make all the code edits manually to the SMF files according to this doc we have for TP v098
http://docs.tinyportal.co.uk/index.php/topic,139.html

I think you have missed the 2 in your progress ?
Title: Re: Manual Install Error
Post by: stikkki on January 13, 2009, 08:04:48 PM
think i may have used the wrong manual install smf file edit instructions

i felt a bit miffed a minute ago when i saw this on my post profile;

stikkki
TP Challenged

now i see it was right lol

i'll start again with the edits lol

cheers

Title: Re: Manual Install Error
Post by: IchBin on January 13, 2009, 08:06:14 PM
TP Challenged only lasts for 10 posts. lol I have faith, that you will no longer be TP challenged for very long. :D
Title: Re: Manual Install Error
Post by: stikkki on January 13, 2009, 08:13:16 PM
thanx for the vote of confidence Ich Bin.......

lol 1 more post closer  ;)
Title: Re: Manual Install Error
Post by: stikkki on January 13, 2009, 10:55:22 PM
PHEW got there in the end.... nightmare working out how to fit it on my modified theme lol

thanx for help
Title: Re: Manual Install Error
Post by: G6Cad on January 14, 2009, 05:44:50 AM
Your welcome stikkki

Even if it's hard work some times, its a great feeling when things come together and work  :D
Title: Re: Manual Install Error
Post by: stikkki on January 14, 2009, 11:16:35 AM
everything is always hard work because theres sections of coding ripped out of my index.template to make my forum look how i want it........ just that to install most things uses that missing coding lol