SimplePortal

Support => Install and Upgrade => Topic started by: kltid on July 30, 2012, 06:01:25 AM

Title: Upgrade problem
Post by: kltid on July 30, 2012, 06:01:25 AM
I was running 2.3.3
De-installed and tried to install 2.3.5 but package manager gives a test failure on ./sources/subs.php
Installed 2.3.4 without problem
Title: Re: Upgrade problem
Post by: phantomm on July 30, 2012, 06:06:45 AM
Did you check what edit causes this error?
You can check this by clicking at icon (http://img651.imageshack.us/img651/8853/packageops.gif) next to this error.
Title: Re: Upgrade problem
Post by: kltid on July 30, 2012, 06:27:11 AM
It gives:

Code: (Find) [Select]

         'home' => array(
            'title' => $txt['home'],
            'href' => $scripturl,
            'show' => true,
            'sub_buttons' => array(
            ),
            'is_last' => $context['right_to_left'],
         ),

Code: (Replace) [Select]

         'home' => array(
            'title' => $txt['home'],
            'href' => $modSettings['sp_portal_mode'] == 3 && empty($context['disable_sp']) ? $modSettings['sp_standalone_url'] : $scripturl,
            'show' => true,
            'sub_buttons' => array(
            ),
            'is_last' => $context['right_to_left'],
         ),
         'forum' => array(
            'title' => empty($txt['sp-forum']) ? 'Forum' : $txt['sp-forum'],
            'href' => $scripturl . ($modSettings['sp_portal_mode'] == 1 && empty($context['disable_sp']) ? '?action=forum' : ''),
            'show' => in_array($modSettings['sp_portal_mode'], array(1, 3)) && empty($context['disable_sp']),
            'sub_buttons' => array(
            ),
         ),

Title: Re: Upgrade problem
Post by: phantomm on July 30, 2012, 06:31:31 AM
You can try to make this edits manually or attach your Subs.php file ;)
Title: Re: Upgrade problem
Post by: kltid on July 30, 2012, 06:56:33 AM
Thanks - I can see why it can't find the string !!
Title: Re: Upgrade problem
Post by: AngelinaBelle on August 21, 2012, 04:55:55 PM
I get the idea that worked.  So I pushed the "topic solved" button.  I hope you don't mind.
SimplePortal 2.3.8 © 2008-2024, SimplePortal