TinyPortal

Development => Support => Installation => Topic started by: Amay_Zing on September 28, 2006, 10:02:51 AM

Title: Installing 1.1 RC3
Post by: Amay_Zing on September 28, 2006, 10:02:51 AM
Hello peeps got a mega prob

I have jsut d/l 1.1 RC3 and was uninstalling the old mods etc

I now cannot get access to the admin as this error comes up

Fatal error: Unknown function: tportal_init() in /home/showno/public_html/forum/Sources/Security.php on line 166

What do I do now?
Title: Re: Installing 1.1 RC3
Post by: gerrymo on September 28, 2006, 10:06:26 AM
I'd check that file above and below line 166 and see what code you have there.
Title: Re: Installing 1.1 RC3
Post by: Amay_Zing on September 28, 2006, 10:17:24 AM
This is what I have

lobal $user_info, $txt, $context;

   // TinyPortal
line 166   TPortal_init();

   // TinyPortal
   TPortal_init();

   // Luckily, this person isn't a guest.
   if (!$user_info['is_guest'])
      return;
Title: Re: Installing 1.1 RC3
Post by: G6Cad on September 28, 2006, 10:20:16 AM
What mod did you install when the error accured?
Check the XML or MOD file for the mod, then check the files it changes and remove the code for the mod.
Title: Re: Installing 1.1 RC3
Post by: Amay_Zing on September 28, 2006, 10:21:41 AM
God I am really stuck now.  I don't have a clue.  Bloc installed the other SMF for me in the past
Title: Re: Installing 1.1 RC3
Post by: G6Cad on September 28, 2006, 10:23:37 AM
Then it's time to learn ;)

What you can do is to just upload a fresh set of new files from the SMF packahe (backup the settings.php and settings.bak.php before you upload new files)  When you are done, do the same with TP, then refresh the forum and you should be back from where you started, and this time, leave out the bad mods ;)
Title: Re: Installing 1.1 RC3
Post by: Amay_Zing on September 28, 2006, 10:23:56 AM
I think it was TP I tried to uninstall
Title: Re: Installing 1.1 RC3
Post by: Amay_Zing on September 28, 2006, 10:26:32 AM
do I do this through FTP?  And which SMF Package?
Title: Re: Installing 1.1 RC3
Post by: Amay_Zing on September 28, 2006, 10:46:58 AM
Ok I figured it out - I uploaded a new copy of the dodgy Security.php file and now I can get in.  The next problem I have is this

The package you tried to upload either is not a valid package or has become corrupted.
Title: Re: Installing 1.1 RC3
Post by: Amay_Zing on September 28, 2006, 12:11:59 PM
Done - but was difficult as all files not uploaded due to FTP timing out
Title: Re: Installing 1.1 RC3
Post by: G6Cad on September 28, 2006, 12:25:54 PM
That is probably the cause of TP not installing correct through the package manager, i would contact the host and ask them to look things over on the server you are hosted at
Title: Re: Installing 1.1 RC3
Post by: Amay_Zing on September 28, 2006, 07:09:43 PM
TY Mrs G for the push - took a bit of figuring out but I got there in the end
Title: Re: Installing 1.1 RC3
Post by: Pox on October 12, 2006, 09:21:17 PM
That's one of the problems I am having with the TP 9.5 update, my FTP times out when the files are uploading. I don't know how to fix that at the moment.
Title: Re: Installing 1.1 RC3
Post by: Amay_Zing on October 13, 2006, 10:11:46 AM
I sorted it by not uploading directly.  Instead I queued them and that way it started where it broke off.  I'm using smart FTP btw