Advertisement:

error on installing SMF 2.0 RC4 Security Patch 1.0

Aloittaja De^^on, helmikuu 23, 2011, 03:31:13 AP

« edellinen - seuraava »

De^^on

LainaaError in Package Installation
At least one error was encountered during a test installation of this package. It is strongly recommended that you do not continue with installation unless you know what you are doing, and have made a backup very recently. This error may be caused by a conflict between the package you're trying to install and another package you have already installed, an error in the package, a package which requires another package that you don't have installed yet, or a package designed for another version of SMF.

1. Execute Modification ./SSI.php Test failed
  1. Replace ./SSI.php Test failed
  2. Replace ./SSI.php Test successful

What do i do next?


Illori

you will have to manually edit that file to apply the patch to it.

kat

#2
I got that error, when I upgraded mine.

I just ignored it and everything went fine. As long as you backup, first, just in case, you should be OK. :)

Then, you can do the manual edit, if you want.

I didn't bother. ;)

Just to save you looking for the edits, these are they, as it were:

Find:
// Load the stuff like the menu bar, etc.
if (isset($ssi_layers))

Replace with:
// Do we allow guests in here?
if (empty($ssi_guest_access) && empty($modSettings['allow_guestAccess']) && $user_info['is_guest'] && basename($_SERVER['PHP_SELF']) != 'SSI.php')
{
require_once($sourcedir . '/Subs-Auth.php');
KickGuest();
obExit(null, true);
}

// Load the stuff like the menu bar, etc.
if (isset($ssi_layers))


Find:
if (isset($_GET['ssi_function']) && function_exists('ssi_' . $_GET['ssi_function']))

Replace with:
if (isset($_GET['ssi_function']) && function_exists('ssi_' . $_GET['ssi_function']) && (!empty($modSettings['allow_guestAccess']) || !$user_info['is_guest']))

It's so easy, that even I can do it! ;)

Illori

Lainaus käyttäjältä: K@ - helmikuu 23, 2011, 06:01:06 AP
Find:
* =============================================================================== *
* Software Version:           SMF 1.1.7                                           *

Replace with:
* =============================================================================== *
* Software Version:           SMF 1.1.13                                          *


I thought this was posted in 2.0 support??

kat



De^^on


Masterd

Is your problem solved? If it is then just click on the green button in the left corner. :)

JimM

If this is solved, please mark it solved by clicking the Mark Topic Solved link at the bottom left.
Jim "JimM" Moore
Former Support Specialist

Advertisement: