TinyPortal

Development => Support => Installation => Topic started by: DarkAngel612 on May 12, 2010, 11:43:50 PM

Title: tp upgrade-smf 1.11
Post by: DarkAngel612 on May 12, 2010, 11:43:50 PM
I just installed this via package manager to one of my forums with 1.11 smf (same thing happens on my test 2.0 one too)

anyway this one is more important cause it is a live site...installed it and got the dreaded white page in admin, refresh did not help.

tried forum page--it loaded stilll showing version B4, hmmm, hit admin link and there was admin

went to packages, clicked the upgrade link there for this version and it did the same darn thing---white page again went to forum and still version b4 not b5 ---click admin/packages

tiny portal version 1.098 still has upgrade link---- sorry if i learn to read maybe i could see that the red circle means it is an old version

so maybe that is why the second white page when i clicked that upgrade link--- but still old version showing on boards and admin see images??

why does the older version have a higher number than the new one does
what do i do now, sorry i have totally forgotten how to find out why white page... please help me  :knuppel2: it into submission

Title: Re: tp upgrade-smf 1.11
Post by: IchBin on May 13, 2010, 12:05:23 AM
I hope you have made a backup? Make sure you have backups before you do anything like upgrade a mod. If you are getting a blank page, you should check your server log to see if there is anything put in the log when you get the blank page. Blank page usually just means it is either timing out, or doesn't have permission to make the changes it needs. If you need help with your server log, you'll need to consult with your Host.

Version numbering scheme has changed over the last few releases, thats why the numbers are different.
Title: Re: tp upgrade-smf 1.11
Post by: DarkAngel612 on May 13, 2010, 12:37:27 AM
hello IchBin,

well got it to finally show me right version at bottom...found a partial of the problem

I already had SFS installed with the earlier version, opened the b5 zip and saw that it had none of the smf core files...the error log said there was a problem with the register.php in sources so went prowling

found several instances of SFS coding so removed all but the newer ones that had a big space between the one I entered may moons ago...so after checking the registration part I got rid of the 3 instances showing, and tried the upgrade button....which i might add the version that is listed in the image i did earlier states that 1.098 (which is Beta 5 cause I checked the package-info.xml) was claiming to NOT be the newer one....

anyway I clicked upgrade, it still gave me the white page (no errors or error log to be seen) but still got a white page. I refreshed the page and there was admin.

whew now to get the courage to go view and try to make it behave in the other forums I manage out there...this time I will uninstall sfs first then manually add the coding that maybe gone...lol

ty oh and BTW, I learned the hard way to always backup and work of duplicate files...lol i have backups of the databases and the actual files from the server, but thanks for the reminder.
Title: Re: tp upgrade-smf 1.11
Post by: DarkAngel612 on May 13, 2010, 01:45:02 AM
ok, just to let you know...I did the update to B5 making it B5-1...still get the white page after it does its thing but admin is there when I go to forum/admin

and still no error log
Title: Re: tp upgrade-smf 1.11
Post by: IchBin on May 13, 2010, 05:13:18 AM
I'm talking about the server error log, not SMF's error log. Apache always outputs its errors into an error_log file.
Title: Re: tp upgrade-smf 1.11
Post by: DarkAngel612 on May 13, 2010, 06:09:58 AM
storming here maybe turn tornadic and internet keeps leaving me...lol I shall look
Title: Re: tp upgrade-smf 1.11
Post by: DarkAngel612 on May 13, 2010, 06:30:41 AM
well i checked and unfortunately that server I do not have access to the apache error log but other than that it actually behaves so maybe it is not too bad

On the other hand, I went to my server (full control on it) and installed it on another live site, it went flawlessly, no white page at all but unfortunately on the shoutbox the smilies are NOT the default bunch we have installed.

HOw do I get the default smilies to show?


I forgot  the error log states that the smilies do not exist---how true we replaced the smf ones with crazy ones to fit our asylum...lol


Title: Re: tp upgrade-smf 1.11
Post by: IchBin on May 13, 2010, 02:52:50 PM
To change the smilies you'll have to go in an modify the TPShout.php file and change the filenames in the smileys array.
'smileys' => array(
                array('code' => ':)', 'filename' => 'smiley.gif', 'description' => $txt['icon_smiley']),
                array('code' => ';)', 'filename' => 'wink.gif', 'description' => $txt['icon_wink']),
                array('code' => ':D', 'filename' => 'cheesy.gif', 'description' => $txt['icon_cheesy']),
                array('code' => ';D', 'filename' => 'grin.gif', 'description' => $txt['icon_grin']),
                array('code' => '>:(', 'filename' => 'angry.gif', 'description' => $txt['icon_angry']),
                array('code' => ':(', 'filename' => 'sad.gif', 'description' => $txt[ 'icon_sad']),
                array('code' => ':o', 'filename' => 'shocked.gif', 'description' => $txt['icon_shocked']),
                array('code' => '8)', 'filename' => 'cool.gif', 'description' => $txt[ 'icon_cool']),
                array('code' => '???', 'filename' => 'huh.gif', 'description' => $txt['icon_huh']),
                array('code' => '::)', 'filename' => 'rolleyes.gif', 'description' => $txt[ 'icon_rolleyes']),
                array('code' => ':P', 'filename' => 'tongue.gif', 'description' => $txt['icon_tongue']),
                array('code' => ':-[', 'filename' => 'embarrassed.gif', 'description' => $txt['icon_embarrassed']),
                array('code' => ':-X', 'filename' => 'lipsrsealed.gif', 'description' => $txt['icon_lips']),
                array('code' => ':-\\', 'filename' => 'undecided.gif', 'description' => $txt[ 'icon_undecided']),
                array('code' => ':-*', 'filename' => 'kiss.gif', 'description' => $txt['icon_kiss']),
                array('code' => ':\'(', 'filename' => 'cry.gif', 'description' => $txt['icon_cry'])
            ),
Title: Re: tp upgrade-smf 1.11
Post by: thelufias on May 14, 2010, 03:07:44 AM
I need to ask before I do that...did it change in coding from the previous version of TPshout?

In the B4 version it takes the smilies that are from the default smiley folder which are installed on the forum...regardless of whether they are like these on this forum (I presume the ones that are listed) or the ones we have designated as default smilies.

see the difference: http://thefantasiesattic.net/attic/index.php?action=forum

Title: Re: tp upgrade-smf 1.11
Post by: IchBin on May 14, 2010, 03:02:34 PM
I have no idea how it worked in previous versions. If you are worried about which smilies are going to be pulled, or making a mistake, just make a backup of the file before altering it.
Title: Re: tp upgrade-smf 1.11
Post by: thelufias on May 14, 2010, 10:16:19 PM
Well what I did---since I think the most improvements were to the rest of the files...security and such. I just uploaded the few files for the tpshout from the previous version and now the correct smilies are showing.

I like the avatars showing in the shout box with this version but it makes the box higher in size than it used to be...that is the only drawback and with prowling the files I am sure there is a place to set the actual height when the shoutbox is at the top of the forums.

thanks to all for the continued support and improving of TP
Title: Re: tp upgrade-smf 1.11
Post by: ZarPrime on May 14, 2010, 10:52:22 PM
thelufias,

You can set the ShoutBox height in the TPShout Settings, as shown in the attached image.

ZarPrime
Title: Re: tp upgrade-smf 1.11
Post by: DarkAngel612 on May 15, 2010, 12:22:02 AM
we will thanks