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

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,963
  • Latest: BiZaJe
Stats
  • Total Posts: 195,911
  • Total Topics: 21,307
  • Online today: 884
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 464
  • Total: 464

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.

IchBin

When installing TP 0.9.8 you do not run tp_install.php. You run manual_tp_install.php.

EasyRider

#41
Hi IchBin, and thank you for all help and your advise  thanks Ken ZarPrime & G6 also.


Adout the manual_tp_install.php..  i just dont have this file in the  TPmanual-install temp folder in my desktop..!  :-\

And i dont find something like in the quide..

From "How Do I Manually Install Tiny Portal?":


8.| Finally, run the "tp_install.php" in your forum root by visiting the URL of that file in your browser. This will update your database. Your manual install should be complete!

SMF  1.1.11 / TinyPortal v1.0 beta 4 /default theme

EasyRider

OPP.. !!  now i see.. is separate install file.. "TinyPortal 0.9.8 Manual install" ok..  :)  ;D
SMF  1.1.11 / TinyPortal v1.0 beta 4 /default theme

EasyRider

Hi there  :)

So, i do the necessary steps/edits and  finally run the manual_tp_install.php file from my browser and the result  look ok:



But when i try to run my forum i get this error:

Fatal error: require_once() [function.require]: Failed opening required 'C:\xampp\htdocs\smf/Sources/TPSubs.php' (include_path='.;C:\xampp\php\pear\') in C:\xampp\htdocs\smf\Sources\Subs.php on line 3116

That ask my for TPSubs.php file i think but i dont have any in the TP_0983_manual folder..


The 3116 line is this:
   require_once($sourcedir.'/TPSubs.php');


As the manual instructions say, i do the steps:

Find:
$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'));

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



And then  the code look like this:
// 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 //




I do something wrong..?  ??? ???
SMF  1.1.11 / TinyPortal v1.0 beta 4 /default theme

Zetan

#44
Easyrider, please stop continuously posting one reply after another. if you have something to add, Edit the last post that you made. It makes it easier to follow a thread. I'm not sure what problems you are having, but 5 pages of support should have this nailed by now.. short of having somebody do it for you.

You seem to have problems following instructions.. I don't know how you arrived at the conclusion above. But, following what it says on the tin:

Find:



$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'));





Add After:



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




RESULT:



$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 //


EasyRider

Ηι Zetan.. thank you for the reply and your help,


You have right about the post, sorry if you thing is obsessives  :-\

And sorry about my bad English.. (some words i must to translate )


That i say, i follow step by step the instructions, and final run ok the manual_tp_install.php as show above,  but when i try to access the forum with installed TP i get this error:

Fatal error: require_once() [function.require]: Failed opening required 'C:\xampp\htdocs\smf/Sources/TPSubs.php' (include_path='.;C:\xampp\php\pear\') in C:\xampp\htdocs\smf\Sources\Subs.php on line 3116




In any case, if you thing is not possible or i cant do it through manual install, you can lock it my fried.

Best Regards,
Demetris
SMF  1.1.11 / TinyPortal v1.0 beta 4 /default theme

Zetan

I don't want or need to lock a topic. I understand that you are having problems with it. :)

From the error message, it looks like you haven't edited a file correctly. one simple mistake can make the difference between it working, and not.


You need to go back through the guide, again. I assume you are doing this on a local machine?

EasyRider

#47
Ok my fried, i go back and i read more carefully the guide from beginn.

Yes you right, i do it in my desktop  through  XAMPP Control Panel cause the forum i admin/help is online now and  trying is a little risky for me.. ( as you can see..  ::)  ;D )


The forum URL
http://www.adultforumgr.com/index.php
SMF  1.1.11 / TinyPortal v1.0 beta 4 /default theme

Zetan

I would start again from fresh. New install of SMF, then install TinyPortal. Install the other mods you want to use, then install themes.

I've not tried to install on a local machine, so there may be other steps involved.. I think IchBin would have mentioned it though, if there were.

EasyRider

Quote from: Zetan on March 23, 2009, 11:40:13 AM
I would start again from fresh. New install of SMF, then install TinyPortal. Install the other mods you want to use, then install themes.



You mean in local machine, yes..?  ??? ( and i thing is good to take and install fresh backup from online fomum to be exactly the same conditions  with online)





Quote from: Zetan on March 23, 2009, 11:40:13 AM
I've not tried to install on a local machine, so there may be other steps involved.. I think IchBin would have mentioned it though, if there were.



Is easy to  explain about (other words), cause im little goofy; in English..?   :-\


Thank you for your help anyway, and sorry for the trouble's..  :up:
SMF  1.1.11 / TinyPortal v1.0 beta 4 /default theme

This website is proudly hosted on Crocweb Cloud Website Hosting.