[* SOLVED *] trying to upgrade to 0.9 - error in upgrader

Having trouble installing serendipity?
Post Reply
BuddahBoy
Regular
Posts: 9
Joined: Sat Nov 12, 2005 3:11 pm
Location: Yogaville, VA
Contact:

[* SOLVED *] trying to upgrade to 0.9 - error in upgrader

Post by BuddahBoy »

Below is the original message - but I just went ahead and did a fresh install of 0.9 instead of upgrading what was installed by the automatic installer from my server/host - - thanks for considering me anyway.

----------------------

Greetz - uploaded all the files, made sure and made writeable the files mentioned on the site in the upgrade section.

Getting this:
Parse error: parse error, unexpected '}' in /home/content/x/x/r/xxxxxxxx/html/serendipity/include/admin/upgrader.inc.php on line 21

That file thru line 30:

<?php # $Id: upgrader.inc.php 146 2005-06-05 20:39:34Z garvinhicking $
# Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
# All rights reserved. See LICENSE file for licensing details

if (IN_serendipity !== true) {
die ('Don\'t hack!');
}

require_once(S9Y_INCLUDE_PATH . 'include/functions_installer.inc.php');
require_once(S9Y_INCLUDE_PATH . 'include/functions_upgrader.inc.php');

define('S9Y_U_ERROR', -1);
define('S9Y_U_WARNING', 0);
define('S9Y_U_SUCCESS', 1);

function serendipity_upgraderResultDiagnose($result, $s) {
global $errorCount;

if ( $result === S9Y_U_SUCCESS ) {
return '<span style="color: green; font-weight: bold">'. $s .'</span>';
}

if ( $result === S9Y_U_WARNING ) {
return '<span style="color: orange; font-weight: bold">'. $s .'</span>';
}

if ( $result === S9Y_U_ERROR ) {
$errorCount++;
return '<span style="color: red; font-weight: bold">'. $s .'</span>';
}

Can I ask for some help PLEASE????

TIA - probably something very simple but I couldn't find it via search and am a newbie to S9Y
Post Reply