TinyPortal

Development => Support => Topic started by: Vinspire on April 06, 2008, 07:39:02 PM

Title: Error when installing TP 1.0.5 Beta
Post by: Vinspire on April 06, 2008, 07:39:02 PM
I met an error msg when I tried to install TP 1.0.5 Beta. Screenie is as below:-

(https://www.tinyportal.net/proxy.php?request=http%3A%2F%2Fimg111.imageshack.us%2Fimg111%2F2391%2Ftpvz5.th.jpg&hash=78346ef4a5c4dfe72ce31afbc620d42671828f8a) (http://img111.imageshack.us/my.php?image=tpvz5.jpg)

Please advice  :uglystupid2:
Title: Re: Error when installing TP 1.0.5 Beta
Post by: G6Cad on April 06, 2008, 07:44:24 PM
That is not the Default SMF core theme that should be set as default during any nstall of any mod to your forum.
The babylon error is probably because you have remved the babylon theme from your server or perhaps renamed it. If you dont use the babylon theme, you can iggnore that error


The index.template.php file is cause of strings the installer cant match to what it is looking for, you have to manually add the code in to that file with the help of the modinstruction in our docsection.

Title: Re: Error when installing TP 1.0.5 Beta
Post by: Vinspire on April 06, 2008, 07:49:10 PM
Quote from: G6 on April 06, 2008, 07:44:24 PM
That is not the Default SMF core theme that should be set as default during any nstall of any mod to your forum.
The babylon error is probably because you have remved the babylon theme from your server or perhaps renamed it. If you dont use the babylon theme, you can iggnore that error


The index.template.php file is cause of strings the installer cant match to what it is looking for, you have to manually add the code in to that file with the help of the modinstruction in our docsection.

Yeap. Babylon error coz I don't have a complete babylon theme in the forum.

I've tried to look for install.php to see what is the code needed to put into index.template.php but to no avail. Where do i get the codes for it?

Thank you G6 for your kind assistance :)
Title: Re: Error when installing TP 1.0.5 Beta
Post by: G6Cad on April 06, 2008, 07:51:16 PM
QuoteThe index.template.php file is cause of strings the installer cant match to what it is looking for, you have to manually add the code in to that file with the help of the modinstruction in our docsection.
Title: Re: Error when installing TP 1.0.5 Beta
Post by: Vinspire on April 06, 2008, 07:56:34 PM
Quote from: G6 on April 06, 2008, 07:51:16 PM
QuoteThe index.template.php file is cause of strings the installer cant match to what it is looking for, you have to manually add the code in to that file with the help of the modinstruction in our docsection.

I only found this (http://www.tinyportal.net/index.php?topic=14195), it uses the same codes as TP 0.9.8 for TP 1.0.5 Beta 1?
Title: Re: Error when installing TP 1.0.5 Beta
Post by: G6Cad on April 06, 2008, 07:59:27 PM
 :uglystupid2:   Bhaaaa, pointed there so many times i forgot about it.  Sorry for that.
Most of the code are the same, but a few are not, so extract the tp package on your local machine, in there you have a file named tinyportal1049.mod
In there you have the codechanges you need to add to the files.
Title: Re: Error when installing TP 1.0.5 Beta
Post by: Vinspire on April 06, 2008, 08:09:29 PM
Quote from: G6 on April 06, 2008, 07:59:27 PM
:uglystupid2:   Bhaaaa, pointed there so many times i forgot about it.  Sorry for that.
Most of the code are the same, but a few are not, so extract the tp package on your local machine, in there you have a file named tinyportal1049.mod
In there you have the codechanges you need to add to the files.

I've extracted tinyportal1010-1049.mod to my local machine as per advice. Anyway, I don't see the code changes I need to add to index.template.php file.

In tinyportal1010-1049.mod, I can only find the code changes for:-

$sourcedir/Subs.php
$sourcedir/QueryString.php
$sourcedir/Admin.php

Did I miss out anything?
Title: Re: Error when installing TP 1.0.5 Beta
Post by: G6Cad on April 06, 2008, 08:29:39 PM
Yes, you didnt open the file i said you should open ;)
Read the filename again

Quotetinyportal1049.mod
Title: Re: Error when installing TP 1.0.5 Beta
Post by: Vinspire on April 06, 2008, 08:39:57 PM
Quote from: G6 on April 06, 2008, 08:29:39 PM
Yes, you didnt open the file i said you should open ;)
Read the filename again

Quotetinyportal1049.mod

Oh gosh ... I must be blind the first time you told me about the file name. Found and opened it. The codes i need to change is in it too :)

Thank you so much G6. You helped me each times I have problems with my forum :)
Title: Re: Error when installing TP 1.0.5 Beta
Post by: Vinspire on April 06, 2008, 08:49:04 PM
Succesfully Installed TP 1.0.5 Beta onto my forum :)

The error is caused by:-

$themedir/index.template.php


if (in_array($context['current_action'], array('search', 'admin', 'calendar', 'profile', 'mlist', 'register', 'login', 'help', 'pm')))


<replace>


if (in_array($context['current_action'], array('search', 'admin', 'calendar', 'profile', 'mlist', 'register', 'login', 'help', 'pm', 'forum', 'tpadmin')))
</replace>


Thank you again G6 :)
Title: Re: Error when installing TP 1.0.5 Beta
Post by: G6Cad on April 06, 2008, 10:19:03 PM
Your welcome :)  And it is fun to see that you made it your self this time :)   :up:
Title: Re: Error when installing TP 1.0.5 Beta
Post by: IchBin on April 06, 2008, 11:03:11 PM
This is not your topic Nolt. Nor does your subject have anything to do with the original post. Please follow the posting guidelines at the top of this forum. Also located in my signature.